#F2DE7D#F2DE7D
#F2DE7D is a very light, moderate yellow. Relative luminance 0.726; OKLCH L 89.7% C 0.120 H 98.0°. Best body text is #000000 at 15.52:1 contrast (WCAG AA passes).
Color values
| HEX | #F2DE7D |
|---|---|
| RGB | rgb(242, 222, 125) |
| HSL | hsl(50, 82%, 72%) |
| HSV | hsv(50, 48%, 95%) |
| CMYK | cmyk(0%, 8.3%, 48.3%, 5.1%) |
| CIE-LAB | lab(88.26, -5.64, 49.74) |
| CIE-LCH | lch(88.26, 50.06, 96.46°) |
| OKLab | oklab(89.69% -0.0166 0.1188) |
| OKLCH | oklch(89.69% 0.12 98) |
| XYZ | xyz(66.4429, 72.6029, 29.9119) |
| Luminance | 0.7260 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sandy
#F1DA7A
ΔE00 1.16
Wheat (survey)
#FBDD7E
ΔE00 2.85
Khaki (CSS)
#F0E68C
ΔE00 3.28
Yellow Tan
#FFE36E
ΔE00 3.49
Pale Gold
#FDDE6C
ΔE00 3.57
Sand Yellow
#FCE166
ΔE00 3.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F2DE7D #7D91F2
analogous
#F2A47D #F2DE7D #CBF27D
triadic
#F2DE7D #7DF2DE #DE7DF2
tetradic
#F2DE7D #7DF2A4 #7D91F2 #F27DCB
square
#F2DE7D #7DF2A4 #7D91F2 #F27DCB
split-complementary
#F2DE7D #7DCBF2 #A47DF2
monochromatic
#DEBC16 #ECD045 #F2DE7D #F8ECB5 #FCF8E3
Accessibility & contrast
On white
1.35
#F2DE7D on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
15.52
#F2DE7D on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F2DE7D
15.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F2DE7D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F2DE7D | 1.00 | 1.35 | 15.52 | 15.52 |
| #FFFFFF | 1.35 | 1.00 | 21.00 | 21.00 |
| #000000 | 15.52 | 21.00 | 1.00 | 1.00 |
| ##000000 | 15.52 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#EFD975
Deuteranopia (green-blind)
#F4E181
Tritanopia (blue-blind)
#FFD1C7
Achromatopsia (no color)
#DDDDDD
Design tokens & code
CSS
--color: #f2de7d; /* rgb */ color: rgb(242, 222, 125); /* oklch */ color: oklch(89.7% 0.120 98.0);
Tailwind
colors: {
custom: {
50: '#f8e8a4',
500: '#f2de7d',
950: '#000000',
},
}SCSS
$custom: #f2de7d; $custom-light: #f8e8a4; $custom-dark: #000000;
JSON
{
"hex": "#f2de7d",
"rgb": {
"r": 242,
"g": 222,
"b": 125
},
"hsl": {
"h": 49.744,
"s": 81.818,
"l": 71.961
},
"oklch": {
"l": 0.89685,
"c": 0.11994,
"h": 98
},
"luminance": 0.726
}Semantic roles & 50–950 ramp
primary
#F2DE7D
secondary
#465DCD
accent
#2CDE07
background
#FFFEFC
surface
#FFFCF6
border
#D7D5D0
text
#17160F
muted
#858480