#F2DB72#F2DB72
#F2DB72 is a very light, vivid yellow. Relative luminance 0.708; OKLCH L 88.9% C 0.128 H 97.2°. Best body text is #000000 at 15.15:1 contrast (WCAG AA passes).
Color values
| HEX | #F2DB72 |
|---|---|
| RGB | rgb(242, 219, 114) |
| HSL | hsl(49, 83%, 70%) |
| HSV | hsv(49, 53%, 95%) |
| CMYK | cmyk(0%, 9.5%, 52.9%, 5.1%) |
| CIE-LAB | lab(87.37, -5.06, 53.90) |
| CIE-LCH | lch(87.37, 54.14, 95.36°) |
| OKLab | oklab(88.94% -0.0161 0.127) |
| OKLCH | oklch(88.94% 0.128 97.2) |
| XYZ | xyz(64.9890, 70.7579, 26.1507) |
| Luminance | 0.7076 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sandy
#F1DA7A
ΔE00 1.29
Pale Gold
#FDDE6C
ΔE00 2.49
Yellow Tan
#FFE36E
ΔE00 2.68
Wheat (survey)
#FBDD7E
ΔE00 2.70
Sand Yellow
#FCE166
ΔE00 2.75
Dull Yellow
#EEDC5B
ΔE00 3.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F2DB72 #7289F2
analogous
#F29B72 #F2DB72 #C9F272
triadic
#F2DB72 #72F2DB #DB72F2
tetradic
#F2DB72 #72F29B #7289F2 #F272C9
square
#F2DB72 #72F29B #7289F2 #F272C9
split-complementary
#F2DB72 #72C9F2 #9B72F2
monochromatic
#D6B314 #EDCD3A #F2DB72 #F7E9AA #FCF8E2
Accessibility & contrast
On white
1.39
#F2DB72 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
15.15
#F2DB72 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F2DB72
15.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F2DB72 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F2DB72 | 1.00 | 1.39 | 15.15 | 15.15 |
| #FFFFFF | 1.39 | 1.00 | 21.00 | 21.00 |
| #000000 | 15.15 | 21.00 | 1.00 | 1.00 |
| ##000000 | 15.15 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#EDD668
Deuteranopia (green-blind)
#F3DE77
Tritanopia (blue-blind)
#FFCEC3
Achromatopsia (no color)
#DBDBDB
Design tokens & code
CSS
--color: #f2db72; /* rgb */ color: rgb(242, 219, 114); /* oklch */ color: oklch(88.9% 0.128 97.2);
Tailwind
colors: {
custom: {
50: '#f9e59d',
500: '#f2db72',
950: '#000000',
},
}SCSS
$custom: #f2db72; $custom-light: #f9e59d; $custom-dark: #000000;
JSON
{
"hex": "#f2db72",
"rgb": {
"r": 242,
"g": 219,
"b": 114
},
"hsl": {
"h": 49.219,
"s": 83.117,
"l": 69.804
},
"oklch": {
"l": 0.88939,
"c": 0.128,
"h": 97.2
},
"luminance": 0.70755
}Semantic roles & 50–950 ramp
primary
#F2DB72
secondary
#3D56CC
accent
#2DE006
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150E
muted
#86847F