#F2F09D#F2F09D
#F2F09D is a very light, moderate yellow. Relative luminance 0.836; OKLCH L 93.8% C 0.104 H 107.1°. Best body text is #000000 at 17.73:1 contrast (WCAG AA passes).
Color values
| HEX | #F2F09D |
|---|---|
| RGB | rgb(242, 240, 157) |
| HSL | hsl(59, 77%, 78%) |
| HSV | hsv(59, 35%, 95%) |
| CMYK | cmyk(0%, 0.8%, 35.1%, 5.1%) |
| CIE-LAB | lab(93.29, -11.39, 40.41) |
| CIE-LCH | lch(93.29, 41.98, 105.74°) |
| OKLab | oklab(93.82% -0.0305 0.0995) |
| OKLCH | oklch(93.82% 0.104 107.1) |
| XYZ | xyz(73.8647, 83.6332, 44.1435) |
| Luminance | 0.8363 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Buff
#FEF69E
ΔE00 2.31
Parchment
#FEFCAF
ΔE00 2.79
Dark Cream
#FFF39A
ΔE00 3.04
Khaki (CSS)
#F0E68C
ΔE00 3.17
Light Beige
#FFFEB6
ΔE00 3.64
Light Khaki
#E6F2A2
ΔE00 3.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F2F09D #9D9FF2
analogous
#F2C59D #F2F09D #C9F29D
triadic
#F2F09D #9DF2F0 #F09DF2
tetradic
#F2F09D #9DF2C5 #9D9FF2 #F29DC9
square
#F2F09D #9DF2C5 #9D9FF2 #F29DC9
split-complementary
#F2F09D #9DC9F2 #C59DF2
monochromatic
#E4DF31 #EBE867 #F2F09D #F9F8D3 #FBFBE4
Accessibility & contrast
On white
1.18
#F2F09D on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
17.73
#F2F09D on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F2F09D
17.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F2F09D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F2F09D | 1.00 | 1.18 | 17.73 | 17.73 |
| #FFFFFF | 1.18 | 1.00 | 21.00 | 21.00 |
| #000000 | 17.73 | 21.00 | 1.00 | 1.00 |
| ##000000 | 17.73 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FDEA97
Deuteranopia (green-blind)
#FFEDA0
Tritanopia (blue-blind)
#FEE6DB
Achromatopsia (no color)
#ECECEC
Design tokens & code
CSS
--color: #f2f09d; /* rgb */ color: rgb(242, 240, 157); /* oklch */ color: oklch(93.8% 0.104 107.1);
Tailwind
colors: {
custom: {
50: '#f7f4bb',
500: '#f2f09d',
950: '#000000',
},
}SCSS
$custom: #f2f09d; $custom-light: #f7f4bb; $custom-dark: #000000;
JSON
{
"hex": "#f2f09d",
"rgb": {
"r": 242,
"g": 240,
"b": 157
},
"hsl": {
"h": 58.588,
"s": 76.577,
"l": 78.235
},
"oklch": {
"l": 0.93817,
"c": 0.10403,
"h": 107.1
},
"luminance": 0.83632
}Semantic roles & 50–950 ramp
primary
#F2F09D
secondary
#6366D0
accent
#12D90D
background
#FFFFFD
surface
#FFFEF8
border
#D7D6D1
text
#171712
muted
#858582