#F9F288#F9F288
#F9F288 is a very light, vivid yellow. Relative luminance 0.854; OKLCH L 94.5% C 0.128 H 105.3°. Best body text is #000000 at 18.08:1 contrast (WCAG AA passes).
Color values
| HEX | #F9F288 |
|---|---|
| RGB | rgb(249, 242, 136) |
| HSL | hsl(56, 90%, 75%) |
| HSV | hsv(56, 45%, 98%) |
| CMYK | cmyk(0%, 2.8%, 45.4%, 2.4%) |
| CIE-LAB | lab(94.07, -11.84, 51.71) |
| CIE-LCH | lch(94.07, 53.05, 102.89°) |
| OKLab | oklab(94.47% -0.0338 0.1239) |
| OKLCH | oklch(94.47% 0.128 105.3) |
| XYZ | xyz(75.2647, 85.4236, 35.8115) |
| Luminance | 0.8542 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Manilla
#FFFA86
ΔE00 2.00
Straw
#FCF679
ΔE00 2.48
Dark Cream
#FFF39A
ΔE00 2.87
Buff
#FEF69E
ΔE00 2.91
Yellowish Tan
#FCFC81
ΔE00 3.07
Sandy Yellow
#FDEE73
ΔE00 3.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F9F288 #888FF9
analogous
#F9B988 #F9F288 #C7F988
triadic
#F9F288 #88F9F2 #F288F9
tetradic
#F9F288 #88F9B9 #888FF9 #F988C7
square
#F9F288 #88F9B9 #888FF9 #F988C7
split-complementary
#F9F288 #88C7F9 #B988F9
monochromatic
#F3E513 #F6EC4E #F9F288 #FCF8C2 #FEFCE2
Accessibility & contrast
On white
1.16
#F9F288 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
18.08
#F9F288 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F9F288
18.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F9F288 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F9F288 | 1.00 | 1.16 | 18.08 | 18.08 |
| #FFFFFF | 1.16 | 1.00 | 21.00 | 21.00 |
| #000000 | 18.08 | 21.00 | 1.00 | 1.00 |
| ##000000 | 18.08 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FFEB7F
Deuteranopia (green-blind)
#FFF08D
Tritanopia (blue-blind)
#FFE6D9
Achromatopsia (no color)
#EEEEEE
Design tokens & code
CSS
--color: #f9f288; /* rgb */ color: rgb(249, 242, 136); /* oklch */ color: oklch(94.5% 0.128 105.3);
Tailwind
colors: {
custom: {
50: '#fdf6ac',
500: '#f9f288',
950: '#000000',
},
}SCSS
$custom: #f9f288; $custom-light: #fdf6ac; $custom-dark: #000000;
JSON
{
"hex": "#f9f288",
"rgb": {
"r": 249,
"g": 242,
"b": 136
},
"hsl": {
"h": 56.283,
"s": 90.4,
"l": 75.49
},
"oklch": {
"l": 0.94472,
"c": 0.12838,
"h": 105.3
},
"luminance": 0.85422
}Semantic roles & 50–950 ramp
primary
#F9F288
secondary
#4E57D7
accent
#0EE600
background
#FFFFFD
surface
#FFFEF7
border
#D7D6D0
text
#181710
muted
#868581