#F2D76B#F2D76B
#F2D76B is a very light, vivid yellow. Relative luminance 0.685; OKLCH L 88.1% C 0.131 H 95.5°. Best body text is #000000 at 14.71:1 contrast (WCAG AA passes).
Color values
| HEX | #F2D76B |
|---|---|
| RGB | rgb(242, 215, 107) |
| HSL | hsl(48, 84%, 68%) |
| HSV | hsv(48, 56%, 95%) |
| CMYK | cmyk(0%, 11.2%, 55.8%, 5.1%) |
| CIE-LAB | lab(86.28, -3.58, 55.88) |
| CIE-LCH | lch(86.28, 56.00, 93.66°) |
| OKLab | oklab(88.05% -0.0126 0.1306) |
| OKLCH | oklch(88.05% 0.131 95.5) |
| XYZ | xyz(63.5747, 68.5425, 23.7884) |
| Luminance | 0.6854 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sandy
#F1DA7A
ΔE00 2.01
Pale Gold
#FDDE6C
ΔE00 2.08
Light Mustard
#F7D560
ΔE00 2.08
Wheat (survey)
#FBDD7E
ΔE00 2.67
Sand Yellow
#FCE166
ΔE00 2.82
Yellow Tan
#FFE36E
ΔE00 2.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F2D76B #6B86F2
analogous
#F2936B #F2D76B #C9F26B
triadic
#F2D76B #6BF2D7 #D76BF2
tetradic
#F2D76B #6BF293 #6B86F2 #F26BC9
square
#F2D76B #6BF293 #6B86F2 #F26BC9
split-complementary
#F2D76B #6BC9F2 #936BF2
monochromatic
#D0AA12 #EDC833 #F2D76B #F7E6A3 #FCF5DC
Accessibility & contrast
On white
1.43
#F2D76B on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
14.71
#F2D76B on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F2D76B
14.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F2D76B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F2D76B | 1.00 | 1.43 | 14.71 | 14.71 |
| #FFFFFF | 1.43 | 1.00 | 21.00 | 21.00 |
| #000000 | 14.71 | 21.00 | 1.00 | 1.00 |
| ##000000 | 14.71 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#EAD361
Deuteranopia (green-blind)
#F1DC70
Tritanopia (blue-blind)
#FFC9BF
Achromatopsia (no color)
#D8D8D8
Design tokens & code
CSS
--color: #f2d76b; /* rgb */ color: rgb(242, 215, 107); /* oklch */ color: oklch(88.1% 0.131 95.5);
Tailwind
colors: {
custom: {
50: '#f9e398',
500: '#f2d76b',
950: '#000000',
},
}SCSS
$custom: #f2d76b; $custom-light: #f9e398; $custom-dark: #000000;
JSON
{
"hex": "#f2d76b",
"rgb": {
"r": 242,
"g": 215,
"b": 107
},
"hsl": {
"h": 48,
"s": 83.851,
"l": 68.431
},
"oklch": {
"l": 0.88052,
"c": 0.13119,
"h": 95.5
},
"luminance": 0.6854
}Semantic roles & 50–950 ramp
primary
#F2D76B
secondary
#3654CB
accent
#31E005
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150E
muted
#86847F