#F2DB74#F2DB74
#F2DB74 is a very light, vivid yellow. Relative luminance 0.708; OKLCH L 89.0% C 0.126 H 97.0°. Best body text is #000000 at 15.16:1 contrast (WCAG AA passes).
Color values
| HEX | #F2DB74 |
|---|---|
| RGB | rgb(242, 219, 116) |
| HSL | hsl(49, 83%, 70%) |
| HSV | hsv(49, 52%, 95%) |
| CMYK | cmyk(0%, 9.5%, 52.1%, 5.1%) |
| CIE-LAB | lab(87.39, -4.89, 52.99) |
| CIE-LCH | lch(87.39, 53.21, 95.28°) |
| OKLab | oklab(88.96% -0.0154 0.1252) |
| OKLCH | oklch(88.96% 0.126 97) |
| XYZ | xyz(65.1041, 70.8039, 26.7568) |
| Luminance | 0.7080 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sandy
#F1DA7A
ΔE00 1.02
Wheat (survey)
#FBDD7E
ΔE00 2.53
Pale Gold
#FDDE6C
ΔE00 2.60
Yellow Tan
#FFE36E
ΔE00 2.82
Sand Yellow
#FCE166
ΔE00 2.96
Light Mustard
#F7D560
ΔE00 3.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F2DB74 #748BF2
analogous
#F29C74 #F2DB74 #CAF274
triadic
#F2DB74 #74F2DB #DB74F2
tetradic
#F2DB74 #74F29C #748BF2 #F274CA
square
#F2DB74 #74F29C #748BF2 #F274CA
split-complementary
#F2DB74 #74CAF2 #9C74F2
monochromatic
#D7B414 #EDCD3C #F2DB74 #F7E9AC #FCF8E3
Accessibility & contrast
On white
1.39
#F2DB74 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
15.16
#F2DB74 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F2DB74
15.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F2DB74 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F2DB74 | 1.00 | 1.39 | 15.16 | 15.16 |
| #FFFFFF | 1.39 | 1.00 | 21.00 | 21.00 |
| #000000 | 15.16 | 21.00 | 1.00 | 1.00 |
| ##000000 | 15.16 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#EDD66B
Deuteranopia (green-blind)
#F3DE78
Tritanopia (blue-blind)
#FFCEC3
Achromatopsia (no color)
#DBDBDB
Design tokens & code
CSS
--color: #f2db74; /* rgb */ color: rgb(242, 219, 116); /* oklch */ color: oklch(89.0% 0.126 97.0);
Tailwind
colors: {
custom: {
50: '#f9e59e',
500: '#f2db74',
950: '#000000',
},
}SCSS
$custom: #f2db74; $custom-light: #f9e59e; $custom-dark: #000000;
JSON
{
"hex": "#f2db74",
"rgb": {
"r": 242,
"g": 219,
"b": 116
},
"hsl": {
"h": 49.048,
"s": 82.895,
"l": 70.196
},
"oklch": {
"l": 0.88964,
"c": 0.12611,
"h": 97
},
"luminance": 0.70801
}Semantic roles & 50–950 ramp
primary
#F2DB74
secondary
#3E58CC
accent
#2EDF06
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150F
muted
#868480