#F9F296#F9F296
#F9F296 is a very light, moderate yellow. Relative luminance 0.858; OKLCH L 94.7% C 0.114 H 104.6°. Best body text is #000000 at 18.17:1 contrast (WCAG AA passes).
Color values
| HEX | #F9F296 |
|---|---|
| RGB | rgb(249, 242, 150) |
| HSL | hsl(56, 89%, 78%) |
| HSV | hsv(56, 40%, 98%) |
| CMYK | cmyk(0%, 2.8%, 39.8%, 2.4%) |
| CIE-LAB | lab(94.25, -10.46, 45.19) |
| CIE-LCH | lch(94.25, 46.39, 103.03°) |
| OKLab | oklab(94.68% -0.0286 0.1101) |
| OKLCH | oklch(94.68% 0.114 104.6) |
| XYZ | xyz(76.3254, 85.8479, 41.3979) |
| Luminance | 0.8585 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Buff
#FEF69E
ΔE00 1.15
Dark Cream
#FFF39A
ΔE00 1.47
Khaki (CSS)
#F0E68C
ΔE00 2.57
Parchment
#FEFCAF
ΔE00 3.60
Manilla
#FFFA86
ΔE00 3.60
Straw
#FCF679
ΔE00 4.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F9F296 #969DF9
analogous
#F9C096 #F9F296 #CEF996
triadic
#F9F296 #96F9F2 #F296F9
tetradic
#F9F296 #96F9C0 #969DF9 #F996CE
square
#F9F296 #96F9C0 #969DF9 #F996CE
split-complementary
#F9F296 #96CEF9 #C096F9
monochromatic
#F2E422 #F6EB5C #F9F296 #FCF9D0 #FDFBE2
Accessibility & contrast
On white
1.16
#F9F296 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
18.17
#F9F296 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F9F296
18.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F9F296 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F9F296 | 1.00 | 1.16 | 18.17 | 18.17 |
| #FFFFFF | 1.16 | 1.00 | 21.00 | 21.00 |
| #000000 | 18.17 | 21.00 | 1.00 | 1.00 |
| ##000000 | 18.17 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FFEC8F
Deuteranopia (green-blind)
#FFF19A
Tritanopia (blue-blind)
#FFE7DB
Achromatopsia (no color)
#EEEEEE
Design tokens & code
CSS
--color: #f9f296; /* rgb */ color: rgb(249, 242, 150); /* oklch */ color: oklch(94.7% 0.114 104.6);
Tailwind
colors: {
custom: {
50: '#fdf6b6',
500: '#f9f296',
950: '#000000',
},
}SCSS
$custom: #f9f296; $custom-light: #fdf6b6; $custom-dark: #000000;
JSON
{
"hex": "#f9f296",
"rgb": {
"r": 249,
"g": 242,
"b": 150
},
"hsl": {
"h": 55.758,
"s": 89.189,
"l": 78.235
},
"oklch": {
"l": 0.94676,
"c": 0.11371,
"h": 104.6
},
"luminance": 0.85846
}Semantic roles & 50–950 ramp
primary
#F9F296
secondary
#5A63D9
accent
#10E600
background
#FFFFFD
surface
#FFFEF8
border
#D7D6D1
text
#181711
muted
#868581