Jasmine Color Codes
Jasmine is a very light, vivid amber with the hex code #F8DE7E, RGB values of 248, 222, 126 and an HSL value of hsl(47, 90%, 73%).
| HEX | #F8DE7E |
|---|---|
| RGB | 248, 222, 126 |
| HSL | hsl(47, 90%, 73%) |
| HSV | 47°, 49%, 97% |
| CMYK | 0%, 10%, 49%, 3% |
| LAB | 88.78, -3.15, 50.02 |
| CIELCHuv | 88.78, 68.22, 71.21° |
- Nearest Pantone
- PMS 120 C ΔE 2.1 · approximate
- Nearest CSS name
-
khakiΔE 7.9
Source Wikipedia, List of colors
Jasmine Color Hex Code
The Jasmine color hex code is #F8DE7E. Those six digits are three pairs, F8 for red, DE for green and 7E for blue, which is the same triplet a browser reads from the CSS value below.
#F8DE7E
Jasmine Color RGB Code
The Jasmine RGB code is rgb(248, 222, 126). Red carries the most light at 248 of 255, which is what puts this color where it sits on the wheel.
rgb(248, 222, 126)
Jasmine Color HSV Code
The Jasmine HSV code is 47°, 49%, 97%. Read it as a hue of 47 degrees, 49% saturation and 97% value, which is the form most color pickers use because moving one number changes one thing.
47°, 49%, 97%
Jasmine Color CIELChuv Code
The Jasmine CIELCHuv code is 88.78, 68.22, 71.21°. Unlike hex or RGB this one is perceptual: lightness 89 means light to the eye rather than to the screen, and chroma 68 is how far it sits from grey.
88.78, 68.22, 71.21°
Tonal scale
What are Jasmine Color Palettes?
A shade mixes toward black, a tint toward white, a tone toward grey. Every step keeps the hue and is copy-ready.
Shades, toward black
Tints, toward white
Tones, toward grey
Palettes
What are Jasmine Color Palette Codes?
Each of these is a hue rotation from #F8DE7E. They are generated, not curated, so they are exact.
Complementary
Directly opposite sits #7E98F8, a mid-tone, vivid azure blue. No other pairing separates two hues further, so this is the one to reach for when a single element has to win attention. Both are saturated, so give the complement much less area than the base or the two will fight.
Analogous
#F8A17E and #D5F87E sit 30 degrees either side. All three share most of their hue, so the set reads as one family instead of three separate decisions. Good for backgrounds and for state variations that should not announce themselves.
Triadic
#7EF8DE and #DE7EF8 complete an even 120 degree split. Three fully independent hues, so one has to lead: keep this base dominant and let the other two appear in small quantities.
Split-complementary
Instead of the direct complement, this takes the two hues either side of it: #7ED5F8 and #A17EF8. Almost the same contrast, without the edge shimmer a true complementary pair produces at high saturation.
Tetradic
Two complementary pairs forming a rectangle: this base with #7E98F8, and #7EF8A1 with #F87ED5. The richest of the five and the hardest to balance, so treat the darkest of the four as the lead and hold the other three well back.
Accessibility
Contrast checker: is Jasmine accessible?
Measured against white and against black, with a separate verdict for each element type. Small text, large text and UI components have different thresholds, so one pass or fail for the whole color would be wrong roughly a third of the time.
White background
1.33:11.33
contrast ratio on white background
| Element | AA | AAA |
|---|---|---|
| Small text needs 4.5:1 / 7:1 | Fails | Fails |
| Large text needs 3:1 / 4.5:1 | Fails | Fails |
| UI component needs 3:1 | Fails | n/a |
Black background
15.74:115.74
contrast ratio on black background
| Element | AA | AAA |
|---|---|---|
| Small text needs 4.5:1 / 7:1 | Passes | Passes |
| Large text needs 3:1 / 4.5:1 | Passes | Passes |
| UI component needs 3:1 | Passes | n/a |
At 1.33:1 against white, Jasmine is a fill color rather than a text color. Use it for surfaces, borders and large display type, and set the copy in ink. Text placed on it should be black, which gives 15.74:1. It is a highly saturated color, so it will dominate anything it sits beside. Give it space rather than surrounding it with other strong colors.
Color vision
How Jasmine looks with color blindness
Around 300 million people see color differently from the way it is specified. Each card shows the actual color beside how it appears, and how common that form of vision is.
Protanopia
About 1% of men#EDED9D
Jasmine shifts noticeably here. ΔE 14.5
No working red cones. Reds darken sharply and drift toward the same muddy olive as green.
Deuteranopia
About 1% of men#EFF1A3
Jasmine shifts noticeably here. ΔE 16.2
No working green cones. With the milder deuteranomaly at nearer 6% of men, this is by far the most common form, and the one worth designing around.
Tritanopia
About 1 in 10,000#F7B0B4
Jasmine changes substantially here. ΔE 52.1
No working blue cones. Blues shift toward green and yellows toward pink. Rare, and unlike the others it is not sex-linked, so it affects men and women equally.
Achromatopsia
About 1 in 30,000#DFDFDF
Jasmine changes substantially here. ΔE 50.1
No color vision at all. Also a fair proxy for how the color survives a greyscale print or a failing screen.
To a deuteranope, the most common form, Jasmine reads as #EFF1A3. That is a shift of ΔE 16.2, so it is a different color to roughly one man in sixteen. The widest shift is under tritanopia, at ΔE 52.1. The rule this leads to needs no simulator: never let color be the only thing carrying a message. Add a label, an icon, or a clear difference in lightness, and the problem disappears for everyone.
Snippets
Using Jasmine in code
:root {
--jasmine: #F8DE7E;
}
.example {
color: var(--jasmine);
}
// tailwind.config.js
theme: {
extend: {
colors: {
'jasmine': '#F8DE7E',
},
},
}
// SwiftUI takes 0–1 components, not 0–255.
let jasmine = Color(
red: 0.973,
green: 0.871,
blue: 0.494
)
<!-- res/values/colors.xml -->
<color name="jasmine">#F8DE7E</color>
// Flutter wants ARGB: FF for full opacity, then the hex.
const jasmine = Color(0xFFF8DE7E);