#F2DB60#F2DB60
#F2DB60 is a very light, vivid yellow. Relative luminance 0.704; OKLCH L 88.7% C 0.144 H 98.8°. Best body text is #000000 at 15.08:1 contrast (WCAG AA passes).
Color values
| HEX | #F2DB60 |
|---|---|
| RGB | rgb(242, 219, 96) |
| HSL | hsl(51, 85%, 66%) |
| HSV | hsv(51, 60%, 95%) |
| CMYK | cmyk(0%, 9.5%, 60.3%, 5.1%) |
| CIE-LAB | lab(87.19, -6.38, 61.85) |
| CIE-LCH | lch(87.19, 62.18, 95.89°) |
| OKLab | oklab(88.74% -0.0219 0.1421) |
| OKLCH | oklch(88.74% 0.144 98.8) |
| XYZ | xyz(64.0634, 70.3876, 21.2757) |
| Luminance | 0.7038 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dull Yellow
#EEDC5B
ΔE00 1.47
Sand Yellow
#FCE166
ΔE00 1.81
Yellow Tan
#FFE36E
ΔE00 2.52
Pale Gold
#FDDE6C
ΔE00 2.68
Light Gold
#FDDC5C
ΔE00 2.69
Light Mustard
#F7D560
ΔE00 3.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F2DB60 #6077F2
analogous
#F29260 #F2DB60 #C0F260
triadic
#F2DB60 #60F2DB #DB60F2
tetradic
#F2DB60 #60F292 #6077F2 #F260C0
square
#F2DB60 #60F292 #6077F2 #F260C0
split-complementary
#F2DB60 #60C0F2 #9260F2
monochromatic
#C7AA10 #EDCE27 #F2DB60 #F7E899 #FBF5D1
Accessibility & contrast
On white
1.39
#F2DB60 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
15.08
#F2DB60 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F2DB60
15.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F2DB60 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F2DB60 | 1.00 | 1.39 | 15.08 | 15.08 |
| #FFFFFF | 1.39 | 1.00 | 21.00 | 21.00 |
| #000000 | 15.08 | 21.00 | 1.00 | 1.00 |
| ##000000 | 15.08 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#EED653
Deuteranopia (green-blind)
#F5DE66
Tritanopia (blue-blind)
#FFCCC0
Achromatopsia (no color)
#DADADA
Design tokens & code
CSS
--color: #f2db60; /* rgb */ color: rgb(242, 219, 96); /* oklch */ color: oklch(88.7% 0.144 98.8);
Tailwind
colors: {
custom: {
50: '#f9e592',
500: '#f2db60',
950: '#000000',
},
}SCSS
$custom: #f2db60; $custom-light: #f9e592; $custom-dark: #000000;
JSON
{
"hex": "#f2db60",
"rgb": {
"r": 242,
"g": 219,
"b": 96
},
"hsl": {
"h": 50.548,
"s": 84.884,
"l": 66.275
},
"oklch": {
"l": 0.88738,
"c": 0.14376,
"h": 98.8
},
"luminance": 0.70385
}Semantic roles & 50–950 ramp
primary
#F2DB60
secondary
#3249C4
accent
#27E104
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F