#F2F587#F2F587
#F2F587 is a very light, vivid yellow. Relative luminance 0.859; OKLCH L 94.5% C 0.133 H 110.1°. Best body text is #000000 at 18.19:1 contrast (WCAG AA passes).
Color values
| HEX | #F2F587 |
|---|---|
| RGB | rgb(242, 245, 135) |
| HSL | hsl(62, 85%, 75%) |
| HSV | hsv(62, 45%, 96%) |
| CMYK | cmyk(1.2%, 0%, 44.9%, 3.9%) |
| CIE-LAB | lab(94.28, -16.12, 52.33) |
| CIE-LCH | lch(94.28, 54.76, 107.12°) |
| OKLab | oklab(94.51% -0.0458 0.1252) |
| OKLCH | oklch(94.51% 0.133 110.1) |
| XYZ | xyz(73.6448, 85.9328, 35.6242) |
| Luminance | 0.8593 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Yellowish Tan
#FCFC81
ΔE00 2.38
Manilla
#FFFA86
ΔE00 2.53
Pale Yellow
#FFFF84
ΔE00 2.78
Butter
#FFFF81
ΔE00 3.00
Faded Yellow
#FEFF7F
ΔE00 3.07
Straw
#FCF679
ΔE00 3.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F2F587 #8A87F5
analogous
#F5C187 #F2F587 #BBF587
triadic
#F2F587 #87F2F5 #F587F2
tetradic
#F2F587 #87F5C1 #8A87F5 #F587BB
square
#F2F587 #87F5C1 #8A87F5 #F587BB
split-complementary
#F2F587 #87BBF5 #C187F5
monochromatic
#E6EC16 #ECF04F #F2F587 #F8FABF #FCFDE3
Accessibility & contrast
On white
1.15
#F2F587 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
18.19
#F2F587 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F2F587
18.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F2F587 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F2F587 | 1.00 | 1.15 | 18.19 | 18.19 |
| #FFFFFF | 1.15 | 1.00 | 21.00 | 21.00 |
| #000000 | 18.19 | 21.00 | 1.00 | 1.00 |
| ##000000 | 18.19 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FFED7E
Deuteranopia (green-blind)
#FFF08C
Tritanopia (blue-blind)
#FFE9DB
Achromatopsia (no color)
#EFEFEF
Design tokens & code
CSS
--color: #f2f587; /* rgb */ color: rgb(242, 245, 135); /* oklch */ color: oklch(94.5% 0.133 110.1);
Tailwind
colors: {
custom: {
50: '#f8f8ac',
500: '#f2f587',
950: '#000000',
},
}SCSS
$custom: #f2f587; $custom-light: #f8f8ac; $custom-dark: #000000;
JSON
{
"hex": "#f2f587",
"rgb": {
"r": 242,
"g": 245,
"b": 135
},
"hsl": {
"h": 61.636,
"s": 84.615,
"l": 74.51
},
"oklch": {
"l": 0.9451,
"c": 0.13334,
"h": 110.1
},
"luminance": 0.85931
}Semantic roles & 50–950 ramp
primary
#F2F587
secondary
#524ED2
accent
#04E10A
background
#FFFFFD
surface
#FFFEF7
border
#D7D6D0
text
#171710
muted
#858581