#F2D35F#F2D35F
#F2D35F is a very light, vivid yellow. Relative luminance 0.663; OKLCH L 87.1% C 0.138 H 94.4°. Best body text is #000000 at 14.26:1 contrast (WCAG AA passes).
Color values
| HEX | #F2D35F |
|---|---|
| RGB | rgb(242, 211, 95) |
| HSL | hsl(47, 85%, 66%) |
| HSV | hsv(47, 61%, 95%) |
| CMYK | cmyk(0%, 12.8%, 60.7%, 5.1%) |
| CIE-LAB | lab(85.15, -2.39, 60.03) |
| CIE-LCH | lch(85.15, 60.08, 92.28°) |
| OKLab | oklab(87.12% -0.0106 0.1381) |
| OKLCH | oklch(87.12% 0.138 94.4) |
| XYZ | xyz(61.9805, 66.2951, 20.3558) |
| Luminance | 0.6629 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Light Mustard
#F7D560
ΔE00 0.98
Maize
#F4D054
ΔE00 1.61
Light Gold
#FDDC5C
ΔE00 2.48
Pale Gold
#FDDE6C
ΔE00 2.52
Sand Yellow
#FCE166
ΔE00 3.30
Sandy
#F1DA7A
ΔE00 3.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F2D35F #5F7EF2
analogous
#F2895F #F2D35F #C7F25F
triadic
#F2D35F #5FF2D3 #D35FF2
tetradic
#F2D35F #5FF289 #5F7EF2 #F25FC7
square
#F2D35F #5FF289 #5F7EF2 #F25FC7
split-complementary
#F2D35F #5FC7F2 #895FF2
monochromatic
#C6A010 #EDC326 #F2D35F #F7E398 #FBF2D0
Accessibility & contrast
On white
1.47
#F2D35F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
14.26
#F2D35F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F2D35F
14.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F2D35F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F2D35F | 1.00 | 1.47 | 14.26 | 14.26 |
| #FFFFFF | 1.47 | 1.00 | 21.00 | 21.00 |
| #000000 | 14.26 | 21.00 | 1.00 | 1.00 |
| ##000000 | 14.26 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E7CF53
Deuteranopia (green-blind)
#EFD964
Tritanopia (blue-blind)
#FFC4BA
Achromatopsia (no color)
#D5D5D5
Design tokens & code
CSS
--color: #f2d35f; /* rgb */ color: rgb(242, 211, 95); /* oklch */ color: oklch(87.1% 0.138 94.4);
Tailwind
colors: {
custom: {
50: '#fae090',
500: '#f2d35f',
950: '#000000',
},
}SCSS
$custom: #f2d35f; $custom-light: #fae090; $custom-dark: #000000;
JSON
{
"hex": "#f2d35f",
"rgb": {
"r": 242,
"g": 211,
"b": 95
},
"hsl": {
"h": 47.347,
"s": 84.971,
"l": 66.078
},
"oklch": {
"l": 0.8712,
"c": 0.13847,
"h": 94.4
},
"luminance": 0.66292
}Semantic roles & 50–950 ramp
primary
#F2D35F
secondary
#3250C4
accent
#33E104
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F