#F2D786#F2D786
#F2D786 is a very light, moderate yellow. Relative luminance 0.692; OKLCH L 88.4% C 0.105 H 91.6°. Best body text is #000000 at 14.84:1 contrast (WCAG AA passes).
Color values
| HEX | #F2D786 |
|---|---|
| RGB | rgb(242, 215, 134) |
| HSL | hsl(45, 81%, 74%) |
| HSV | hsv(45, 45%, 95%) |
| CMYK | cmyk(0%, 11.2%, 44.6%, 5.1%) |
| CIE-LAB | lab(86.60, -1.24, 43.28) |
| CIE-LCH | lch(86.60, 43.30, 91.64°) |
| OKLab | oklab(88.42% -0.003 0.1049) |
| OKLCH | oklch(88.42% 0.105 91.6) |
| XYZ | xyz(65.2234, 69.2020, 32.4713) |
| Luminance | 0.6920 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Wheat (survey)
#FBDD7E
ΔE00 2.61
Sandy
#F1DA7A
ΔE00 2.85
Sand (survey)
#E2CA76
ΔE00 3.41
Pale Gold
#FDDE6C
ΔE00 5.00
Light Mustard
#F7D560
ΔE00 5.25
Yellow Tan
#FFE36E
ΔE00 5.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F2D786 #86A1F2
analogous
#F2A186 #F2D786 #D7F286
triadic
#F2D786 #86F2D7 #D786F2
tetradic
#F2D786 #86F2A1 #86A1F2 #F286D7
square
#F2D786 #86F2A1 #86A1F2 #F286D7
split-complementary
#F2D786 #86D7F2 #A186F2
monochromatic
#E5B219 #ECC54F #F2D786 #F8E9BD #FCF6E3
Accessibility & contrast
On white
1.42
#F2D786 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
14.84
#F2D786 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F2D786
14.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F2D786 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F2D786 | 1.00 | 1.42 | 14.84 | 14.84 |
| #FFFFFF | 1.42 | 1.00 | 21.00 | 21.00 |
| #000000 | 14.84 | 21.00 | 1.00 | 1.00 |
| ##000000 | 14.84 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E7D480
Deuteranopia (green-blind)
#EEDC89
Tritanopia (blue-blind)
#FFCBC3
Achromatopsia (no color)
#D9D9D9
Design tokens & code
CSS
--color: #f2d786; /* rgb */ color: rgb(242, 215, 134); /* oklch */ color: oklch(88.4% 0.105 91.6);
Tailwind
colors: {
custom: {
50: '#f8e3aa',
500: '#f2d786',
950: '#000000',
},
}SCSS
$custom: #f2d786; $custom-light: #f8e3aa; $custom-dark: #000000;
JSON
{
"hex": "#f2d786",
"rgb": {
"r": 242,
"g": 215,
"b": 134
},
"hsl": {
"h": 45,
"s": 80.597,
"l": 73.725
},
"oklch": {
"l": 0.88416,
"c": 0.10498,
"h": 91.6
},
"luminance": 0.69199
}Semantic roles & 50–950 ramp
primary
#F2D786
secondary
#4E6ECE
accent
#3EDD09
background
#FFFEFD
surface
#FFFCF7
border
#D7D5D0
text
#171510
muted
#858481