#F2D775#F2D775
#F2D775 is a very light, vivid yellow. Relative luminance 0.688; OKLCH L 88.2% C 0.122 H 94.3°. Best body text is #000000 at 14.75:1 contrast (WCAG AA passes).
Color values
| HEX | #F2D775 |
|---|---|
| RGB | rgb(242, 215, 117) |
| HSL | hsl(47, 83%, 70%) |
| HSV | hsv(47, 52%, 95%) |
| CMYK | cmyk(0%, 11.2%, 51.7%, 5.1%) |
| CIE-LAB | lab(86.39, -2.78, 51.31) |
| CIE-LCH | lch(86.39, 51.39, 93.10°) |
| OKLab | oklab(88.18% -0.0092 0.1216) |
| OKLCH | oklch(88.18% 0.122 94.3) |
| XYZ | xyz(64.1315, 68.7653, 26.7211) |
| Luminance | 0.6876 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sandy
#F1DA7A
ΔE00 1.25
Wheat (survey)
#FBDD7E
ΔE00 1.81
Pale Gold
#FDDE6C
ΔE00 2.76
Light Mustard
#F7D560
ΔE00 2.93
Yellow Tan
#FFE36E
ΔE00 3.58
Sand (survey)
#E2CA76
ΔE00 3.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F2D775 #7590F2
analogous
#F29875 #F2D775 #CEF275
triadic
#F2D775 #75F2D7 #D775F2
tetradic
#F2D775 #75F298 #7590F2 #F275CE
square
#F2D775 #75F298 #7590F2 #F275CE
split-complementary
#F2D775 #75CEF2 #9875F2
monochromatic
#D8AE14 #EDC73D #F2D775 #F7E7AD #FCF7E3
Accessibility & contrast
On white
1.42
#F2D775 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
14.75
#F2D775 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F2D775
14.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F2D775 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F2D775 | 1.00 | 1.42 | 14.75 | 14.75 |
| #FFFFFF | 1.42 | 1.00 | 21.00 | 21.00 |
| #000000 | 14.75 | 21.00 | 1.00 | 1.00 |
| ##000000 | 14.75 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E9D36C
Deuteranopia (green-blind)
#F0DC79
Tritanopia (blue-blind)
#FFCAC0
Achromatopsia (no color)
#D8D8D8
Design tokens & code
CSS
--color: #f2d775; /* rgb */ color: rgb(242, 215, 117); /* oklch */ color: oklch(88.2% 0.122 94.3);
Tailwind
colors: {
custom: {
50: '#f9e39f',
500: '#f2d775',
950: '#000000',
},
}SCSS
$custom: #f2d775; $custom-light: #f9e39f; $custom-dark: #000000;
JSON
{
"hex": "#f2d775",
"rgb": {
"r": 242,
"g": 215,
"b": 117
},
"hsl": {
"h": 47.04,
"s": 82.781,
"l": 70.392
},
"oklch": {
"l": 0.88175,
"c": 0.12195,
"h": 94.3
},
"luminance": 0.68762
}Semantic roles & 50–950 ramp
primary
#F2D775
secondary
#3F5ECC
accent
#35DF06
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150F
muted
#868480