#F2F585#F2F585
#F2F585 is a very light, vivid yellow. Relative luminance 0.859; OKLCH L 94.5% C 0.135 H 110.1°. Best body text is #000000 at 18.18:1 contrast (WCAG AA passes).
Color values
| HEX | #F2F585 |
|---|---|
| RGB | rgb(242, 245, 133) |
| HSL | hsl(62, 85%, 74%) |
| HSV | hsv(62, 46%, 96%) |
| CMYK | cmyk(1.2%, 0%, 45.7%, 3.9%) |
| CIE-LAB | lab(94.26, -16.31, 53.24) |
| CIE-LCH | lch(94.26, 55.69, 107.03°) |
| OKLab | oklab(94.48% -0.0465 0.1271) |
| OKLCH | oklch(94.48% 0.135 110.1) |
| XYZ | xyz(73.5054, 85.8770, 34.8895) |
| Luminance | 0.8588 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Yellowish Tan
#FCFC81
ΔE00 2.20
Manilla
#FFFA86
ΔE00 2.44
Pale Yellow
#FFFF84
ΔE00 2.63
Butter
#FFFF81
ΔE00 2.83
Faded Yellow
#FEFF7F
ΔE00 2.89
Straw
#FCF679
ΔE00 2.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F2F585 #8885F5
analogous
#F5C085 #F2F585 #BAF585
triadic
#F2F585 #85F2F5 #F585F2
tetradic
#F2F585 #85F5C0 #8885F5 #F585BA
square
#F2F585 #85F5C0 #8885F5 #F585BA
split-complementary
#F2F585 #85BAF5 #C085F5
monochromatic
#E6EC14 #ECF04C #F2F585 #F8FABE #FCFDE3
Accessibility & contrast
On white
1.16
#F2F585 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
18.18
#F2F585 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F2F585
18.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F2F585 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F2F585 | 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)
#FFED7B
Deuteranopia (green-blind)
#FFF08A
Tritanopia (blue-blind)
#FFE9DB
Achromatopsia (no color)
#EEEEEE
Design tokens & code
CSS
--color: #f2f585; /* rgb */ color: rgb(242, 245, 133); /* oklch */ color: oklch(94.5% 0.135 110.1);
Tailwind
colors: {
custom: {
50: '#f8f8ab',
500: '#f2f585',
950: '#000000',
},
}SCSS
$custom: #f2f585; $custom-light: #f8f8ab; $custom-dark: #000000;
JSON
{
"hex": "#f2f585",
"rgb": {
"r": 242,
"g": 245,
"b": 133
},
"hsl": {
"h": 61.607,
"s": 84.848,
"l": 74.118
},
"oklch": {
"l": 0.94483,
"c": 0.13535,
"h": 110.1
},
"luminance": 0.85876
}Semantic roles & 50–950 ramp
primary
#F2F585
secondary
#504DD2
accent
#04E10A
background
#FFFFFD
surface
#FFFEF7
border
#D7D6D0
text
#171710
muted
#858581