#F2DA5E#F2DA5E
#F2DA5E is a very light, vivid yellow. Relative luminance 0.698; OKLCH L 88.5% C 0.145 H 98.4°. Best body text is #000000 at 14.97:1 contrast (WCAG AA passes).
Color values
| HEX | #F2DA5E |
|---|---|
| RGB | rgb(242, 218, 94) |
| HSL | hsl(50, 85%, 66%) |
| HSV | hsv(50, 61%, 95%) |
| CMYK | cmyk(0%, 9.9%, 61.2%, 5.1%) |
| CIE-LAB | lab(86.91, -6.01, 62.42) |
| CIE-LCH | lch(86.91, 62.71, 95.50°) |
| OKLab | oklab(88.52% -0.0211 0.143) |
| OKLCH | oklch(88.52% 0.145 98.4) |
| XYZ | xyz(63.7124, 69.8310, 20.7103) |
| Luminance | 0.6983 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dull Yellow
#EEDC5B
ΔE00 1.68
Sand Yellow
#FCE166
ΔE00 1.85
Light Gold
#FDDC5C
ΔE00 2.47
Yellow Tan
#FFE36E
ΔE00 2.60
Pale Gold
#FDDE6C
ΔE00 2.61
Light Mustard
#F7D560
ΔE00 2.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F2DA5E #5E76F2
analogous
#F2905E #F2DA5E #C0F25E
triadic
#F2DA5E #5EF2DA #DA5EF2
tetradic
#F2DA5E #5EF290 #5E76F2 #F25EC0
square
#F2DA5E #5EF290 #5E76F2 #F25EC0
split-complementary
#F2DA5E #5EC0F2 #905EF2
monochromatic
#C6A810 #EDCD25 #F2DA5E #F7E797 #FBF4CF
Accessibility & contrast
On white
1.40
#F2DA5E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
14.97
#F2DA5E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F2DA5E
14.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F2DA5E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F2DA5E | 1.00 | 1.40 | 14.97 | 14.97 |
| #FFFFFF | 1.40 | 1.00 | 21.00 | 21.00 |
| #000000 | 14.97 | 21.00 | 1.00 | 1.00 |
| ##000000 | 14.97 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#EDD550
Deuteranopia (green-blind)
#F4DD64
Tritanopia (blue-blind)
#FFCBBF
Achromatopsia (no color)
#DADADA
Design tokens & code
CSS
--color: #f2da5e; /* rgb */ color: rgb(242, 218, 94); /* oklch */ color: oklch(88.5% 0.145 98.4);
Tailwind
colors: {
custom: {
50: '#fae590',
500: '#f2da5e',
950: '#000000',
},
}SCSS
$custom: #f2da5e; $custom-light: #fae590; $custom-dark: #000000;
JSON
{
"hex": "#f2da5e",
"rgb": {
"r": 242,
"g": 218,
"b": 94
},
"hsl": {
"h": 50.27,
"s": 85.057,
"l": 65.882
},
"oklch": {
"l": 0.88516,
"c": 0.14457,
"h": 98.4
},
"luminance": 0.69828
}Semantic roles & 50–950 ramp
primary
#F2DA5E
secondary
#3149C3
accent
#28E204
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F