#F2D35E#F2D35E
#F2D35E is a very light, vivid yellow. Relative luminance 0.663; OKLCH L 87.1% C 0.139 H 94.5°. Best body text is #000000 at 14.25:1 contrast (WCAG AA passes).
Color values
| HEX | #F2D35E |
|---|---|
| RGB | rgb(242, 211, 94) |
| HSL | hsl(47, 85%, 66%) |
| HSV | hsv(47, 61%, 95%) |
| CMYK | cmyk(0%, 12.8%, 61.2%, 5.1%) |
| CIE-LAB | lab(85.14, -2.46, 60.46) |
| CIE-LCH | lch(85.14, 60.51, 92.33°) |
| OKLab | oklab(87.11% -0.0109 0.1389) |
| OKLCH | oklch(87.11% 0.139 94.5) |
| XYZ | xyz(61.9353, 66.2770, 20.1179) |
| Luminance | 0.6627 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Light Mustard
#F7D560
ΔE00 0.99
Maize
#F4D054
ΔE00 1.56
Light Gold
#FDDC5C
ΔE00 2.42
Pale Gold
#FDDE6C
ΔE00 2.54
Sand Yellow
#FCE166
ΔE00 3.28
Yellow Tan
#FFE36E
ΔE00 3.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F2D35E #5E7DF2
analogous
#F2895E #F2D35E #C7F25E
triadic
#F2D35E #5EF2D3 #D35EF2
tetradic
#F2D35E #5EF289 #5E7DF2 #F25EC7
square
#F2D35E #5EF289 #5E7DF2 #F25EC7
split-complementary
#F2D35E #5EC7F2 #895EF2
monochromatic
#C6A010 #EDC425 #F2D35E #F7E297 #FBF2CF
Accessibility & contrast
On white
1.47
#F2D35E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
14.25
#F2D35E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F2D35E
14.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F2D35E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F2D35E | 1.00 | 1.47 | 14.25 | 14.25 |
| #FFFFFF | 1.47 | 1.00 | 21.00 | 21.00 |
| #000000 | 14.25 | 21.00 | 1.00 | 1.00 |
| ##000000 | 14.25 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E7CF51
Deuteranopia (green-blind)
#EFD963
Tritanopia (blue-blind)
#FFC4BA
Achromatopsia (no color)
#D5D5D5
Design tokens & code
CSS
--color: #f2d35e; /* rgb */ color: rgb(242, 211, 94); /* oklch */ color: oklch(87.1% 0.139 94.5);
Tailwind
colors: {
custom: {
50: '#fae090',
500: '#f2d35e',
950: '#000000',
},
}SCSS
$custom: #f2d35e; $custom-light: #fae090; $custom-dark: #000000;
JSON
{
"hex": "#f2d35e",
"rgb": {
"r": 242,
"g": 211,
"b": 94
},
"hsl": {
"h": 47.432,
"s": 85.057,
"l": 65.882
},
"oklch": {
"l": 0.8711,
"c": 0.13928,
"h": 94.5
},
"luminance": 0.66274
}Semantic roles & 50–950 ramp
primary
#F2D35E
secondary
#3150C3
accent
#32E204
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F