#F2D76C#F2D76C
#F2D76C is a very light, vivid yellow. Relative luminance 0.686; OKLCH L 88.1% C 0.130 H 95.4°. Best body text is #000000 at 14.71:1 contrast (WCAG AA passes).
Color values
| HEX | #F2D76C |
|---|---|
| RGB | rgb(242, 215, 108) |
| HSL | hsl(48, 84%, 69%) |
| HSV | hsv(48, 55%, 95%) |
| CMYK | cmyk(0%, 11.2%, 55.4%, 5.1%) |
| CIE-LAB | lab(86.29, -3.50, 55.43) |
| CIE-LCH | lch(86.29, 55.54, 93.61°) |
| OKLab | oklab(88.06% -0.0123 0.1297) |
| OKLCH | oklch(88.06% 0.13 95.4) |
| XYZ | xyz(63.6276, 68.5637, 24.0670) |
| Luminance | 0.6856 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sandy
#F1DA7A
ΔE00 1.91
Pale Gold
#FDDE6C
ΔE00 2.11
Light Mustard
#F7D560
ΔE00 2.14
Wheat (survey)
#FBDD7E
ΔE00 2.57
Sand Yellow
#FCE166
ΔE00 2.90
Yellow Tan
#FFE36E
ΔE00 2.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F2D76C #6C87F2
analogous
#F2946C #F2D76C #CAF26C
triadic
#F2D76C #6CF2D7 #D76CF2
tetradic
#F2D76C #6CF294 #6C87F2 #F26CCA
square
#F2D76C #6CF294 #6C87F2 #F26CCA
split-complementary
#F2D76C #6CCAF2 #946CF2
monochromatic
#D1AB12 #EDC834 #F2D76C #F7E6A4 #FCF6DC
Accessibility & contrast
On white
1.43
#F2D76C on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
14.71
#F2D76C on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F2D76C
14.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F2D76C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F2D76C | 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)
#EAD362
Deuteranopia (green-blind)
#F1DC71
Tritanopia (blue-blind)
#FFC9BF
Achromatopsia (no color)
#D8D8D8
Design tokens & code
CSS
--color: #f2d76c; /* rgb */ color: rgb(242, 215, 108); /* oklch */ color: oklch(88.1% 0.130 95.4);
Tailwind
colors: {
custom: {
50: '#f9e399',
500: '#f2d76c',
950: '#000000',
},
}SCSS
$custom: #f2d76c; $custom-light: #f9e399; $custom-dark: #000000;
JSON
{
"hex": "#f2d76c",
"rgb": {
"r": 242,
"g": 215,
"b": 108
},
"hsl": {
"h": 47.91,
"s": 83.75,
"l": 68.627
},
"oklch": {
"l": 0.88064,
"c": 0.13029,
"h": 95.4
},
"luminance": 0.68561
}Semantic roles & 50–950 ramp
primary
#F2D76C
secondary
#3755CB
accent
#31E005
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150E
muted
#86847F