#F2F591#F2F591
#F2F591 is a very light, vivid yellow. Relative luminance 0.862; OKLCH L 94.7% C 0.123 H 110.0°. Best body text is #000000 at 18.25:1 contrast (WCAG AA passes).
Color values
| HEX | #F2F591 |
|---|---|
| RGB | rgb(242, 245, 145) |
| HSL | hsl(62, 83%, 76%) |
| HSV | hsv(62, 41%, 96%) |
| CMYK | cmyk(1.2%, 0%, 40.8%, 3.9%) |
| CIE-LAB | lab(94.41, -15.14, 47.71) |
| CIE-LCH | lch(94.41, 50.06, 107.60°) |
| OKLab | oklab(94.65% -0.0421 0.1156) |
| OKLCH | oklch(94.65% 0.123 110) |
| XYZ | xyz(74.3822, 86.2278, 39.5078) |
| Luminance | 0.8623 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Buff
#FEF69E
ΔE00 3.31
Manilla
#FFFA86
ΔE00 3.34
Yellowish Tan
#FCFC81
ΔE00 3.52
Pale Yellow
#FFFF84
ΔE00 3.78
Butter
#FFFF81
ΔE00 4.08
Dark Cream
#FFF39A
ΔE00 4.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F2F591 #9491F5
analogous
#F5C691 #F2F591 #C0F591
triadic
#F2F591 #91F2F5 #F591F2
tetradic
#F2F591 #91F5C6 #9491F5 #F591C0
square
#F2F591 #91F5C6 #9491F5 #F591C0
split-complementary
#F2F591 #91C0F5 #C691F5
monochromatic
#E5EB21 #EBF059 #F2F591 #F9FAC9 #FCFCE3
Accessibility & contrast
On white
1.15
#F2F591 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
18.25
#F2F591 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F2F591
18.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F2F591 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F2F591 | 1.00 | 1.15 | 18.25 | 18.25 |
| #FFFFFF | 1.15 | 1.00 | 21.00 | 21.00 |
| #000000 | 18.25 | 21.00 | 1.00 | 1.00 |
| ##000000 | 18.25 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FFED89
Deuteranopia (green-blind)
#FFF196
Tritanopia (blue-blind)
#FEEADD
Achromatopsia (no color)
#EFEFEF
Design tokens & code
CSS
--color: #f2f591; /* rgb */ color: rgb(242, 245, 145); /* oklch */ color: oklch(94.7% 0.123 110.0);
Tailwind
colors: {
custom: {
50: '#f8f8b3',
500: '#f2f591',
950: '#000000',
},
}SCSS
$custom: #f2f591; $custom-light: #f8f8b3; $custom-dark: #000000;
JSON
{
"hex": "#f2f591",
"rgb": {
"r": 242,
"g": 245,
"b": 145
},
"hsl": {
"h": 61.8,
"s": 83.333,
"l": 76.471
},
"oklch": {
"l": 0.94651,
"c": 0.12299,
"h": 110
},
"luminance": 0.86226
}Semantic roles & 50–950 ramp
primary
#F2F591
secondary
#5B57D3
accent
#06E00C
background
#FFFFFD
surface
#FFFEF8
border
#D7D6D1
text
#171711
muted
#858581