#F2D772#F2D772
#F2D772 is a very light, vivid yellow. Relative luminance 0.687; OKLCH L 88.1% C 0.125 H 94.7°. Best body text is #000000 at 14.74:1 contrast (WCAG AA passes).
Color values
| HEX | #F2D772 |
|---|---|
| RGB | rgb(242, 215, 114) |
| HSL | hsl(47, 83%, 70%) |
| HSV | hsv(47, 53%, 95%) |
| CMYK | cmyk(0%, 11.2%, 52.9%, 5.1%) |
| CIE-LAB | lab(86.35, -3.03, 52.70) |
| CIE-LCH | lch(86.35, 52.79, 93.29°) |
| OKLab | oklab(88.14% -0.0102 0.1244) |
| OKLCH | oklch(88.14% 0.125 94.7) |
| XYZ | xyz(63.9580, 68.6958, 25.8070) |
| Luminance | 0.6869 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sandy
#F1DA7A
ΔE00 1.38
Wheat (survey)
#FBDD7E
ΔE00 2.02
Pale Gold
#FDDE6C
ΔE00 2.49
Light Mustard
#F7D560
ΔE00 2.62
Yellow Tan
#FFE36E
ΔE00 3.31
Sand Yellow
#FCE166
ΔE00 3.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F2D772 #728DF2
analogous
#F29772 #F2D772 #CDF272
triadic
#F2D772 #72F2D7 #D772F2
tetradic
#F2D772 #72F297 #728DF2 #F272CD
square
#F2D772 #72F297 #728DF2 #F272CD
split-complementary
#F2D772 #72CDF2 #9772F2
monochromatic
#D6AD14 #EDC73A #F2D772 #F7E7AA #FCF7E2
Accessibility & contrast
On white
1.42
#F2D772 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
14.74
#F2D772 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F2D772
14.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F2D772 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F2D772 | 1.00 | 1.42 | 14.74 | 14.74 |
| #FFFFFF | 1.42 | 1.00 | 21.00 | 21.00 |
| #000000 | 14.74 | 21.00 | 1.00 | 1.00 |
| ##000000 | 14.74 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E9D369
Deuteranopia (green-blind)
#F0DC76
Tritanopia (blue-blind)
#FFCAC0
Achromatopsia (no color)
#D8D8D8
Design tokens & code
CSS
--color: #f2d772; /* rgb */ color: rgb(242, 215, 114); /* oklch */ color: oklch(88.1% 0.125 94.7);
Tailwind
colors: {
custom: {
50: '#f9e39d',
500: '#f2d772',
950: '#000000',
},
}SCSS
$custom: #f2d772; $custom-light: #f9e39d; $custom-dark: #000000;
JSON
{
"hex": "#f2d772",
"rgb": {
"r": 242,
"g": 215,
"b": 114
},
"hsl": {
"h": 47.344,
"s": 83.117,
"l": 69.804
},
"oklch": {
"l": 0.88137,
"c": 0.12478,
"h": 94.7
},
"luminance": 0.68693
}Semantic roles & 50–950 ramp
primary
#F2D772
secondary
#3D5BCC
accent
#34E006
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150E
muted
#86847F