#F2D882#F2D882
#F2D882 is a very light, moderate yellow. Relative luminance 0.696; OKLCH L 88.6% C 0.110 H 93.1°. Best body text is #000000 at 14.92:1 contrast (WCAG AA passes).
Color values
| HEX | #F2D882 |
|---|---|
| RGB | rgb(242, 216, 130) |
| HSL | hsl(46, 81%, 73%) |
| HSV | hsv(46, 46%, 95%) |
| CMYK | cmyk(0%, 10.7%, 46.3%, 5.1%) |
| CIE-LAB | lab(86.80, -2.13, 45.51) |
| CIE-LCH | lch(86.80, 45.56, 92.68°) |
| OKLab | oklab(88.56% -0.006 0.1097) |
| OKLCH | oklch(88.56% 0.11 93.1) |
| XYZ | xyz(65.2051, 69.6033, 31.1149) |
| Luminance | 0.6960 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sandy
#F1DA7A
ΔE00 1.90
Wheat (survey)
#FBDD7E
ΔE00 2.02
Sand (survey)
#E2CA76
ΔE00 3.41
Pale Gold
#FDDE6C
ΔE00 4.23
Light Mustard
#F7D560
ΔE00 4.60
Yellow Tan
#FFE36E
ΔE00 4.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F2D882 #829CF2
analogous
#F2A082 #F2D882 #D4F282
triadic
#F2D882 #82F2D8 #D882F2
tetradic
#F2D882 #82F2A0 #829CF2 #F282D4
square
#F2D882 #82F2A0 #829CF2 #F282D4
split-complementary
#F2D882 #82D4F2 #A082F2
monochromatic
#E2B318 #ECC74B #F2D882 #F8E9B9 #FCF6E3
Accessibility & contrast
On white
1.41
#F2D882 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
14.92
#F2D882 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F2D882
14.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F2D882 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F2D882 | 1.00 | 1.41 | 14.92 | 14.92 |
| #FFFFFF | 1.41 | 1.00 | 21.00 | 21.00 |
| #000000 | 14.92 | 21.00 | 1.00 | 1.00 |
| ##000000 | 14.92 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E9D57B
Deuteranopia (green-blind)
#EFDD85
Tritanopia (blue-blind)
#FFCCC3
Achromatopsia (no color)
#D9D9D9
Design tokens & code
CSS
--color: #f2d882; /* rgb */ color: rgb(242, 216, 130); /* oklch */ color: oklch(88.6% 0.110 93.1);
Tailwind
colors: {
custom: {
50: '#f8e3a8',
500: '#f2d882',
950: '#000000',
},
}SCSS
$custom: #f2d882; $custom-light: #f8e3a8; $custom-dark: #000000;
JSON
{
"hex": "#f2d882",
"rgb": {
"r": 242,
"g": 216,
"b": 130
},
"hsl": {
"h": 46.071,
"s": 81.159,
"l": 72.941
},
"oklch": {
"l": 0.88555,
"c": 0.10987,
"h": 93.1
},
"luminance": 0.69601
}Semantic roles & 50–950 ramp
primary
#F2D882
secondary
#4B69CD
accent
#3ADE08
background
#FFFEFC
surface
#FFFCF6
border
#D7D5D0
text
#171510
muted
#858480