#F2D770#F2D770
#F2D770 is a very light, vivid yellow. Relative luminance 0.686; OKLCH L 88.1% C 0.127 H 94.9°. Best body text is #000000 at 14.73:1 contrast (WCAG AA passes).
Color values
| HEX | #F2D770 |
|---|---|
| RGB | rgb(242, 215, 112) |
| HSL | hsl(48, 83%, 69%) |
| HSV | hsv(48, 54%, 95%) |
| CMYK | cmyk(0%, 11.2%, 53.7%, 5.1%) |
| CIE-LAB | lab(86.33, -3.19, 53.62) |
| CIE-LCH | lch(86.33, 53.71, 93.40°) |
| OKLab | oklab(88.11% -0.0109 0.1262) |
| OKLCH | oklch(88.11% 0.127 94.9) |
| XYZ | xyz(63.8454, 68.6508, 25.2140) |
| Luminance | 0.6865 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sandy
#F1DA7A
ΔE00 1.53
Wheat (survey)
#FBDD7E
ΔE00 2.19
Pale Gold
#FDDE6C
ΔE00 2.34
Light Mustard
#F7D560
ΔE00 2.44
Yellow Tan
#FFE36E
ΔE00 3.16
Sand Yellow
#FCE166
ΔE00 3.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F2D770 #708BF2
analogous
#F29670 #F2D770 #CCF270
triadic
#F2D770 #70F2D7 #D770F2
tetradic
#F2D770 #70F296 #708BF2 #F270CC
square
#F2D770 #70F296 #708BF2 #F270CC
split-complementary
#F2D770 #70CCF2 #9670F2
monochromatic
#D4AC13 #EDC738 #F2D770 #F7E7A8 #FCF6E0
Accessibility & contrast
On white
1.43
#F2D770 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
14.73
#F2D770 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F2D770
14.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F2D770 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F2D770 | 1.00 | 1.43 | 14.73 | 14.73 |
| #FFFFFF | 1.43 | 1.00 | 21.00 | 21.00 |
| #000000 | 14.73 | 21.00 | 1.00 | 1.00 |
| ##000000 | 14.73 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E9D367
Deuteranopia (green-blind)
#F0DC74
Tritanopia (blue-blind)
#FFC9BF
Achromatopsia (no color)
#D8D8D8
Design tokens & code
CSS
--color: #f2d770; /* rgb */ color: rgb(242, 215, 112); /* oklch */ color: oklch(88.1% 0.127 94.9);
Tailwind
colors: {
custom: {
50: '#f9e39c',
500: '#f2d770',
950: '#000000',
},
}SCSS
$custom: #f2d770; $custom-light: #f9e39c; $custom-dark: #000000;
JSON
{
"hex": "#f2d770",
"rgb": {
"r": 242,
"g": 215,
"b": 112
},
"hsl": {
"h": 47.538,
"s": 83.333,
"l": 69.412
},
"oklch": {
"l": 0.88112,
"c": 0.12664,
"h": 94.9
},
"luminance": 0.68648
}Semantic roles & 50–950 ramp
primary
#F2D770
secondary
#3B59CB
accent
#33E006
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150E
muted
#86847F