#F2DA7E#F2DA7E
#F2DA7E is a very light, moderate yellow. Relative luminance 0.705; OKLCH L 88.9% C 0.116 H 95.2°. Best body text is #000000 at 15.11:1 contrast (WCAG AA passes).
Color values
| HEX | #F2DA7E |
|---|---|
| RGB | rgb(242, 218, 126) |
| HSL | hsl(48, 82%, 72%) |
| HSV | hsv(48, 48%, 95%) |
| CMYK | cmyk(0%, 9.9%, 47.9%, 5.1%) |
| CIE-LAB | lab(87.26, -3.52, 48.03) |
| CIE-LCH | lch(87.26, 48.16, 94.19°) |
| OKLab | oklab(88.9% -0.0104 0.1151) |
| OKLCH | oklch(88.9% 0.116 95.2) |
| XYZ | xyz(65.4573, 70.5290, 29.9001) |
| Luminance | 0.7053 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sandy
#F1DA7A
ΔE00 0.71
Wheat (survey)
#FBDD7E
ΔE00 1.88
Pale Gold
#FDDE6C
ΔE00 3.50
Sand (survey)
#E2CA76
ΔE00 3.87
Yellow Tan
#FFE36E
ΔE00 3.96
Light Mustard
#F7D560
ΔE00 4.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F2DA7E #7E96F2
analogous
#F2A07E #F2DA7E #D0F27E
triadic
#F2DA7E #7EF2DA #DA7EF2
tetradic
#F2DA7E #7EF2A0 #7E96F2 #F27ED0
square
#F2DA7E #7EF2A0 #7E96F2 #F27ED0
split-complementary
#F2DA7E #7ED0F2 #A07EF2
monochromatic
#DFB616 #ECCA46 #F2DA7E #F8EAB6 #FCF7E3
Accessibility & contrast
On white
1.39
#F2DA7E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
15.11
#F2DA7E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F2DA7E
15.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F2DA7E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F2DA7E | 1.00 | 1.39 | 15.11 | 15.11 |
| #FFFFFF | 1.39 | 1.00 | 21.00 | 21.00 |
| #000000 | 15.11 | 21.00 | 1.00 | 1.00 |
| ##000000 | 15.11 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#EBD676
Deuteranopia (green-blind)
#F1DE82
Tritanopia (blue-blind)
#FFCDC4
Achromatopsia (no color)
#DBDBDB
Design tokens & code
CSS
--color: #f2da7e; /* rgb */ color: rgb(242, 218, 126); /* oklch */ color: oklch(88.9% 0.116 95.2);
Tailwind
colors: {
custom: {
50: '#f8e5a5',
500: '#f2da7e',
950: '#000000',
},
}SCSS
$custom: #f2da7e; $custom-light: #f8e5a5; $custom-dark: #000000;
JSON
{
"hex": "#f2da7e",
"rgb": {
"r": 242,
"g": 218,
"b": 126
},
"hsl": {
"h": 47.586,
"s": 81.69,
"l": 72.157
},
"oklch": {
"l": 0.88897,
"c": 0.11553,
"h": 95.2
},
"luminance": 0.70526
}Semantic roles & 50–950 ramp
primary
#F2DA7E
secondary
#4763CD
accent
#34DE07
background
#FFFEFC
surface
#FFFCF6
border
#D7D5D0
text
#17150F
muted
#858480