#FFF97E#FFF97E
#FFF97E is a very light, vivid yellow. Relative luminance 0.905; OKLCH L 96.3% C 0.145 H 106.3°. Best body text is #000000 at 19.10:1 contrast (WCAG AA passes).
Color values
| HEX | #FFF97E |
|---|---|
| RGB | rgb(255, 249, 126) |
| HSL | hsl(57, 100%, 75%) |
| HSV | hsv(57, 51%, 100%) |
| CMYK | cmyk(0%, 2.4%, 50.6%, 0%) |
| CIE-LAB | lab(96.21, -13.79, 59.06) |
| CIE-LCH | lch(96.21, 60.65, 103.15°) |
| OKLab | oklab(96.26% -0.0407 0.1391) |
| OKLCH | oklch(96.26% 0.145 106.3) |
| XYZ | xyz(78.8836, 90.5200, 33.0514) |
| Luminance | 0.9052 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Straw
#FCF679
ΔE00 0.68
Manilla
#FFFA86
ΔE00 0.97
Yellowish Tan
#FCFC81
ΔE00 1.49
Custard
#FFFD78
ΔE00 1.50
Light Yellow
#FFFE7A
ΔE00 1.65
Butter
#FFFF81
ΔE00 1.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#FFF97E #7E84FF
analogous
#FFB87E #FFF97E #C5FF7E
triadic
#FFF97E #7EFFF9 #F97EFF
tetradic
#FFF97E #7EFFB8 #7E84FF #FF7EC5
square
#FFF97E #7EFFB8 #7E84FF #FF7EC5
split-complementary
#FFF97E #7EC5FF #B87EFF
monochromatic
#FFF304 #FFF641 #FFF97E #FFFCBB #FFFEE0
Accessibility & contrast
On white
1.10
#FFF97E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
19.10
#FFF97E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #FFF97E
19.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##FFF97E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##FFF97E | 1.00 | 1.10 | 19.10 | 19.10 |
| #FFFFFF | 1.10 | 1.00 | 21.00 | 21.00 |
| #000000 | 19.10 | 21.00 | 1.00 | 1.00 |
| ##000000 | 19.10 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FFF173
Deuteranopia (green-blind)
#FFF784
Tritanopia (blue-blind)
#FFEBDD
Achromatopsia (no color)
#F4F4F4
Design tokens & code
CSS
--color: #fff97e; /* rgb */ color: rgb(255, 249, 126); /* oklch */ color: oklch(96.3% 0.145 106.3);
Tailwind
colors: {
custom: {
50: '#fffba6',
500: '#fff97e',
950: '#000000',
},
}SCSS
$custom: #fff97e; $custom-light: #fffba6; $custom-dark: #000000;
JSON
{
"hex": "#fff97e",
"rgb": {
"r": 255,
"g": 249,
"b": 126
},
"hsl": {
"h": 57.209,
"s": 100,
"l": 74.706
},
"oklch": {
"l": 0.96256,
"c": 0.14492,
"h": 106.3
},
"luminance": 0.90518
}Semantic roles & 50–950 ramp
primary
#FFF97E
secondary
#434BDE
accent
#0BE600
background
#FFFFFC
surface
#FFFFF6
border
#D7D7D0
text
#181710
muted
#868580