#F2D87E#F2D87E
#F2D87E is a very light, moderate yellow. Relative luminance 0.695; OKLCH L 88.5% C 0.114 H 93.7°. Best body text is #000000 at 14.90:1 contrast (WCAG AA passes).
Color values
| HEX | #F2D87E |
|---|---|
| RGB | rgb(242, 216, 126) |
| HSL | hsl(47, 82%, 72%) |
| HSV | hsv(47, 48%, 95%) |
| CMYK | cmyk(0%, 10.7%, 47.9%, 5.1%) |
| CIE-LAB | lab(86.75, -2.50, 47.41) |
| CIE-LCH | lch(86.75, 47.47, 93.02°) |
| OKLab | oklab(88.5% -0.0074 0.1137) |
| OKLCH | oklch(88.5% 0.114 93.7) |
| XYZ | xyz(64.9418, 69.4980, 29.7283) |
| Luminance | 0.6949 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sandy
#F1DA7A
ΔE00 1.36
Wheat (survey)
#FBDD7E
ΔE00 1.74
Sand (survey)
#E2CA76
ΔE00 3.46
Pale Gold
#FDDE6C
ΔE00 3.68
Light Mustard
#F7D560
ΔE00 4.06
Yellow Tan
#FFE36E
ΔE00 4.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F2D87E #7E98F2
analogous
#F29E7E #F2D87E #D2F27E
triadic
#F2D87E #7EF2D8 #D87EF2
tetradic
#F2D87E #7EF29E #7E98F2 #F27ED2
square
#F2D87E #7EF29E #7E98F2 #F27ED2
split-complementary
#F2D87E #7ED2F2 #9E7EF2
monochromatic
#DFB216 #ECC746 #F2D87E #F8E9B6 #FCF7E3
Accessibility & contrast
On white
1.41
#F2D87E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
14.90
#F2D87E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F2D87E
14.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F2D87E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F2D87E | 1.00 | 1.41 | 14.90 | 14.90 |
| #FFFFFF | 1.41 | 1.00 | 21.00 | 21.00 |
| #000000 | 14.90 | 21.00 | 1.00 | 1.00 |
| ##000000 | 14.90 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E9D577
Deuteranopia (green-blind)
#F0DD81
Tritanopia (blue-blind)
#FFCBC2
Achromatopsia (no color)
#D9D9D9
Design tokens & code
CSS
--color: #f2d87e; /* rgb */ color: rgb(242, 216, 126); /* oklch */ color: oklch(88.5% 0.114 93.7);
Tailwind
colors: {
custom: {
50: '#f8e3a5',
500: '#f2d87e',
950: '#000000',
},
}SCSS
$custom: #f2d87e; $custom-light: #f8e3a5; $custom-dark: #000000;
JSON
{
"hex": "#f2d87e",
"rgb": {
"r": 242,
"g": 216,
"b": 126
},
"hsl": {
"h": 46.552,
"s": 81.69,
"l": 72.157
},
"oklch": {
"l": 0.88497,
"c": 0.11392,
"h": 93.7
},
"luminance": 0.69495
}Semantic roles & 50–950 ramp
primary
#F2D87E
secondary
#4765CD
accent
#38DE07
background
#FFFEFC
surface
#FFFCF6
border
#D7D5D0
text
#17150F
muted
#858480