#F2D86C#F2D86C
#F2D86C is a very light, vivid yellow. Relative luminance 0.691; OKLCH L 88.3% C 0.131 H 96.0°. Best body text is #000000 at 14.81:1 contrast (WCAG AA passes).
Color values
| HEX | #F2D86C |
|---|---|
| RGB | rgb(242, 216, 108) |
| HSL | hsl(48, 84%, 69%) |
| HSV | hsv(48, 55%, 95%) |
| CMYK | cmyk(0%, 10.7%, 55.4%, 5.1%) |
| CIE-LAB | lab(86.54, -4.01, 55.73) |
| CIE-LCH | lch(86.54, 55.87, 94.11°) |
| OKLab | oklab(88.26% -0.0137 0.1304) |
| OKLCH | oklch(88.26% 0.131 96) |
| XYZ | xyz(63.8830, 69.0745, 24.1522) |
| Luminance | 0.6907 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sandy
#F1DA7A
ΔE00 1.85
Pale Gold
#FDDE6C
ΔE00 2.08
Light Mustard
#F7D560
ΔE00 2.35
Sand Yellow
#FCE166
ΔE00 2.67
Wheat (survey)
#FBDD7E
ΔE00 2.69
Yellow Tan
#FFE36E
ΔE00 2.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F2D86C #6C86F2
analogous
#F2956C #F2D86C #C9F26C
triadic
#F2D86C #6CF2D8 #D86CF2
tetradic
#F2D86C #6CF295 #6C86F2 #F26CC9
square
#F2D86C #6CF295 #6C86F2 #F26CC9
split-complementary
#F2D86C #6CC9F2 #956CF2
monochromatic
#D1AC12 #EDC934 #F2D86C #F7E7A4 #FCF6DC
Accessibility & contrast
On white
1.42
#F2D86C on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
14.81
#F2D86C on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F2D86C
14.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F2D86C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F2D86C | 1.00 | 1.42 | 14.81 | 14.81 |
| #FFFFFF | 1.42 | 1.00 | 21.00 | 21.00 |
| #000000 | 14.81 | 21.00 | 1.00 | 1.00 |
| ##000000 | 14.81 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#EBD462
Deuteranopia (green-blind)
#F1DC71
Tritanopia (blue-blind)
#FFCAC0
Achromatopsia (no color)
#D9D9D9
Design tokens & code
CSS
--color: #f2d86c; /* rgb */ color: rgb(242, 216, 108); /* oklch */ color: oklch(88.3% 0.131 96.0);
Tailwind
colors: {
custom: {
50: '#f9e399',
500: '#f2d86c',
950: '#000000',
},
}SCSS
$custom: #f2d86c; $custom-light: #f9e399; $custom-dark: #000000;
JSON
{
"hex": "#f2d86c",
"rgb": {
"r": 242,
"g": 216,
"b": 108
},
"hsl": {
"h": 48.358,
"s": 83.75,
"l": 68.627
},
"oklch": {
"l": 0.88264,
"c": 0.13107,
"h": 96
},
"luminance": 0.69072
}Semantic roles & 50–950 ramp
primary
#F2D86C
secondary
#3754CB
accent
#30E005
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150E
muted
#86847F