#F2F586#F2F586
#F2F586 is a very light, vivid yellow. Relative luminance 0.859; OKLCH L 94.5% C 0.134 H 110.1°. Best body text is #000000 at 18.18:1 contrast (WCAG AA passes).
Color values
| HEX | #F2F586 |
|---|---|
| RGB | rgb(242, 245, 134) |
| HSL | hsl(62, 85%, 74%) |
| HSV | hsv(62, 45%, 96%) |
| CMYK | cmyk(1.2%, 0%, 45.3%, 3.9%) |
| CIE-LAB | lab(94.27, -16.22, 52.79) |
| CIE-LCH | lch(94.27, 55.22, 107.08°) |
| OKLab | oklab(94.5% -0.0461 0.1262) |
| OKLCH | oklch(94.5% 0.134 110.1) |
| XYZ | xyz(73.5748, 85.9048, 35.2551) |
| Luminance | 0.8590 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Yellowish Tan
#FCFC81
ΔE00 2.29
Manilla
#FFFA86
ΔE00 2.48
Pale Yellow
#FFFF84
ΔE00 2.70
Butter
#FFFF81
ΔE00 2.92
Faded Yellow
#FEFF7F
ΔE00 2.98
Straw
#FCF679
ΔE00 3.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F2F586 #8986F5
analogous
#F5C186 #F2F586 #BBF586
triadic
#F2F586 #86F2F5 #F586F2
tetradic
#F2F586 #86F5C1 #8986F5 #F586BB
square
#F2F586 #86F5C1 #8986F5 #F586BB
split-complementary
#F2F586 #86BBF5 #C186F5
monochromatic
#E6EC15 #ECF04D #F2F586 #F8FABF #FCFDE3
Accessibility & contrast
On white
1.16
#F2F586 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
18.18
#F2F586 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F2F586
18.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F2F586 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F2F586 | 1.00 | 1.16 | 18.18 | 18.18 |
| #FFFFFF | 1.16 | 1.00 | 21.00 | 21.00 |
| #000000 | 18.18 | 21.00 | 1.00 | 1.00 |
| ##000000 | 18.18 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FFED7D
Deuteranopia (green-blind)
#FFF08B
Tritanopia (blue-blind)
#FFE9DB
Achromatopsia (no color)
#EEEEEE
Design tokens & code
CSS
--color: #f2f586; /* rgb */ color: rgb(242, 245, 134); /* oklch */ color: oklch(94.5% 0.134 110.1);
Tailwind
colors: {
custom: {
50: '#f8f8ab',
500: '#f2f586',
950: '#000000',
},
}SCSS
$custom: #f2f586; $custom-light: #f8f8ab; $custom-dark: #000000;
JSON
{
"hex": "#f2f586",
"rgb": {
"r": 242,
"g": 245,
"b": 134
},
"hsl": {
"h": 61.622,
"s": 84.733,
"l": 74.314
},
"oklch": {
"l": 0.94496,
"c": 0.13435,
"h": 110.1
},
"luminance": 0.85903
}Semantic roles & 50–950 ramp
primary
#F2F586
secondary
#514ED2
accent
#04E10A
background
#FFFFFD
surface
#FFFEF7
border
#D7D6D0
text
#171710
muted
#858581