#F2F259#F2F259
#F2F259 is a very light, vivid yellow. Relative luminance 0.831; OKLCH L 93.4% C 0.170 H 109.3°. Best body text is #000000 at 17.62:1 contrast (WCAG AA passes).
Color values
| HEX | #F2F259 |
|---|---|
| RGB | rgb(242, 242, 89) |
| HSL | hsl(60, 85%, 65%) |
| HSV | hsv(60, 63%, 95%) |
| CMYK | cmyk(0%, 0%, 63.2%, 5.1%) |
| CIE-LAB | lab(93.06, -18.18, 71.04) |
| CIE-LCH | lch(93.06, 73.33, 104.35°) |
| OKLab | oklab(93.39% -0.0562 0.1606) |
| OKLCH | oklch(93.39% 0.17 109.3) |
| XYZ | xyz(70.1755, 83.1048, 21.7935) |
| Luminance | 0.8310 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Off Yellow
#F1F33F
ΔE00 2.08
Canary
#FDFF63
ΔE00 2.63
Pastel Yellow
#FFFE71
ΔE00 2.84
Butter Yellow
#FFFD74
ΔE00 2.92
Lemon (survey)
#FDFF52
ΔE00 3.00
Yellowish
#FAEE66
ΔE00 3.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F2F259 #5959F2
analogous
#F2A659 #F2F259 #A6F259
triadic
#F2F259 #59F2F2 #F259F2
tetradic
#F2F259 #59F2A6 #5959F2 #F259A6
square
#F2F259 #59F2A6 #5959F2 #F259A6
split-complementary
#F2F259 #59A6F2 #A659F2
monochromatic
#C1C10F #EEEE20 #F2F259 #F6F692 #FBFBCB
Accessibility & contrast
On white
1.19
#F2F259 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
17.62
#F2F259 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F2F259
17.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F2F259 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F2F259 | 1.00 | 1.19 | 17.62 | 17.62 |
| #FFFFFF | 1.19 | 1.00 | 21.00 | 21.00 |
| #000000 | 17.62 | 21.00 | 1.00 | 1.00 |
| ##000000 | 17.62 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FFE845
Deuteranopia (green-blind)
#FFED63
Tritanopia (blue-blind)
#FFE3D3
Achromatopsia (no color)
#EBEBEB
Design tokens & code
CSS
--color: #f2f259; /* rgb */ color: rgb(242, 242, 89); /* oklch */ color: oklch(93.4% 0.170 109.3);
Tailwind
colors: {
custom: {
50: '#faf68f',
500: '#f2f259',
950: '#000000',
},
}SCSS
$custom: #f2f259; $custom-light: #faf68f; $custom-dark: #000000;
JSON
{
"hex": "#f2f259",
"rgb": {
"r": 242,
"g": 242,
"b": 89
},
"hsl": {
"h": 60,
"s": 85.475,
"l": 64.902
},
"oklch": {
"l": 0.93391,
"c": 0.17014,
"h": 109.3
},
"luminance": 0.83103
}Semantic roles & 50–950 ramp
primary
#F2F259
secondary
#3030BF
accent
#04E204
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#18170D
muted
#86857F