#F2D773#F2D773
#F2D773 is a very light, vivid yellow. Relative luminance 0.687; OKLCH L 88.1% C 0.124 H 94.6°. Best body text is #000000 at 14.74:1 contrast (WCAG AA passes).
Color values
| HEX | #F2D773 |
|---|---|
| RGB | rgb(242, 215, 115) |
| HSL | hsl(47, 83%, 70%) |
| HSV | hsv(47, 52%, 95%) |
| CMYK | cmyk(0%, 11.2%, 52.5%, 5.1%) |
| CIE-LAB | lab(86.36, -2.95, 52.24) |
| CIE-LCH | lch(86.36, 52.32, 93.23°) |
| OKLab | oklab(88.15% -0.0099 0.1235) |
| OKLCH | oklch(88.15% 0.124 94.6) |
| XYZ | xyz(64.0152, 68.7187, 26.1084) |
| Luminance | 0.6872 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sandy
#F1DA7A
ΔE00 1.33
Wheat (survey)
#FBDD7E
ΔE00 1.94
Pale Gold
#FDDE6C
ΔE00 2.57
Light Mustard
#F7D560
ΔE00 2.72
Yellow Tan
#FFE36E
ΔE00 3.40
Sand Yellow
#FCE166
ΔE00 3.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F2D773 #738EF2
analogous
#F29773 #F2D773 #CEF273
triadic
#F2D773 #73F2D7 #D773F2
tetradic
#F2D773 #73F297 #738EF2 #F273CE
square
#F2D773 #73F297 #738EF2 #F273CE
split-complementary
#F2D773 #73CEF2 #9773F2
monochromatic
#D7AD14 #EDC73B #F2D773 #F7E7AB #FCF7E3
Accessibility & contrast
On white
1.42
#F2D773 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
14.74
#F2D773 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F2D773
14.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F2D773 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F2D773 | 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)
#E9D36A
Deuteranopia (green-blind)
#F0DC77
Tritanopia (blue-blind)
#FFCAC0
Achromatopsia (no color)
#D8D8D8
Design tokens & code
CSS
--color: #f2d773; /* rgb */ color: rgb(242, 215, 115); /* oklch */ color: oklch(88.1% 0.124 94.6);
Tailwind
colors: {
custom: {
50: '#f9e39d',
500: '#f2d773',
950: '#000000',
},
}SCSS
$custom: #f2d773; $custom-light: #f9e39d; $custom-dark: #000000;
JSON
{
"hex": "#f2d773",
"rgb": {
"r": 242,
"g": 215,
"b": 115
},
"hsl": {
"h": 47.244,
"s": 83.007,
"l": 70
},
"oklch": {
"l": 0.8815,
"c": 0.12384,
"h": 94.6
},
"luminance": 0.68716
}Semantic roles & 50–950 ramp
primary
#F2D773
secondary
#3D5CCC
accent
#34DF06
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150E
muted
#86847F