#F2D45E#F2D45E
#F2D45E is a very light, vivid yellow. Relative luminance 0.668; OKLCH L 87.3% C 0.140 H 95.1°. Best body text is #000000 at 14.35:1 contrast (WCAG AA passes).
Color values
| HEX | #F2D45E |
|---|---|
| RGB | rgb(242, 212, 94) |
| HSL | hsl(48, 85%, 66%) |
| HSV | hsv(48, 61%, 95%) |
| CMYK | cmyk(0%, 12.4%, 61.2%, 5.1%) |
| CIE-LAB | lab(85.39, -2.97, 60.74) |
| CIE-LCH | lch(85.39, 60.81, 92.80°) |
| OKLab | oklab(87.31% -0.0123 0.1395) |
| OKLCH | oklch(87.31% 0.14 95.1) |
| XYZ | xyz(62.1845, 66.7754, 20.2010) |
| Luminance | 0.6677 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Light Mustard
#F7D560
ΔE00 1.17
Maize
#F4D054
ΔE00 1.82
Light Gold
#FDDC5C
ΔE00 2.26
Pale Gold
#FDDE6C
ΔE00 2.40
Sand Yellow
#FCE166
ΔE00 2.99
Yellow Tan
#FFE36E
ΔE00 3.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F2D45E #5E7CF2
analogous
#F28A5E #F2D45E #C6F25E
triadic
#F2D45E #5EF2D4 #D45EF2
tetradic
#F2D45E #5EF28A #5E7CF2 #F25EC6
square
#F2D45E #5EF28A #5E7CF2 #F25EC6
split-complementary
#F2D45E #5EC6F2 #8A5EF2
monochromatic
#C6A110 #EDC525 #F2D45E #F7E397 #FBF2CF
Accessibility & contrast
On white
1.46
#F2D45E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
14.35
#F2D45E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F2D45E
14.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F2D45E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F2D45E | 1.00 | 1.46 | 14.35 | 14.35 |
| #FFFFFF | 1.46 | 1.00 | 21.00 | 21.00 |
| #000000 | 14.35 | 21.00 | 1.00 | 1.00 |
| ##000000 | 14.35 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E8D051
Deuteranopia (green-blind)
#F0D964
Tritanopia (blue-blind)
#FFC5BA
Achromatopsia (no color)
#D5D5D5
Design tokens & code
CSS
--color: #f2d45e; /* rgb */ color: rgb(242, 212, 94); /* oklch */ color: oklch(87.3% 0.140 95.1);
Tailwind
colors: {
custom: {
50: '#fae090',
500: '#f2d45e',
950: '#000000',
},
}SCSS
$custom: #f2d45e; $custom-light: #fae090; $custom-dark: #000000;
JSON
{
"hex": "#f2d45e",
"rgb": {
"r": 242,
"g": 212,
"b": 94
},
"hsl": {
"h": 47.838,
"s": 85.057,
"l": 65.882
},
"oklch": {
"l": 0.8731,
"c": 0.14,
"h": 95.1
},
"luminance": 0.66772
}Semantic roles & 50–950 ramp
primary
#F2D45E
secondary
#314FC3
accent
#31E204
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F