#F2D950#F2D950
#F2D950 is a very light, vivid yellow. Relative luminance 0.691; OKLCH L 88.2% C 0.154 H 98.8°. Best body text is #000000 at 14.82:1 contrast (WCAG AA passes).
Color values
| HEX | #F2D950 |
|---|---|
| RGB | rgb(242, 217, 80) |
| HSL | hsl(51, 86%, 63%) |
| HSV | hsv(51, 67%, 95%) |
| CMYK | cmyk(0%, 10.3%, 66.9%, 5.1%) |
| CIE-LAB | lab(86.55, -6.33, 67.84) |
| CIE-LCH | lch(86.55, 68.13, 95.33°) |
| OKLab | oklab(88.19% -0.0236 0.1524) |
| OKLCH | oklch(88.19% 0.154 98.8) |
| XYZ | xyz(62.8816, 69.0851, 17.6104) |
| Luminance | 0.6908 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dull Yellow
#EEDC5B
ΔE00 2.04
Sand Yellow
#FCE166
ΔE00 2.52
Light Gold
#FDDC5C
ΔE00 2.55
Yellow Tan
#FFE36E
ΔE00 3.42
Light Mustard
#F7D560
ΔE00 3.43
Pale Gold
#FDDE6C
ΔE00 3.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F2D950 #5069F2
analogous
#F28850 #F2D950 #BAF250
triadic
#F2D950 #50F2D9 #D950F2
tetradic
#F2D950 #50F288 #5069F2 #F250BA
square
#F2D950 #50F288 #5069F2 #F250BA
split-complementary
#F2D950 #50BAF2 #8850F2
monochromatic
#BA9F0E #EECD17 #F2D950 #F6E589 #FAF2C2
Accessibility & contrast
On white
1.42
#F2D950 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
14.82
#F2D950 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F2D950
14.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F2D950 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F2D950 | 1.00 | 1.42 | 14.82 | 14.82 |
| #FFFFFF | 1.42 | 1.00 | 21.00 | 21.00 |
| #000000 | 14.82 | 21.00 | 1.00 | 1.00 |
| ##000000 | 14.82 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#EDD43E
Deuteranopia (green-blind)
#F4DC58
Tritanopia (blue-blind)
#FFCABD
Achromatopsia (no color)
#D9D9D9
Design tokens & code
CSS
--color: #f2d950; /* rgb */ color: rgb(242, 217, 80); /* oklch */ color: oklch(88.2% 0.154 98.8);
Tailwind
colors: {
custom: {
50: '#fae488',
500: '#f2d950',
950: '#000000',
},
}SCSS
$custom: #f2d950; $custom-light: #fae488; $custom-dark: #000000;
JSON
{
"hex": "#f2d950",
"rgb": {
"r": 242,
"g": 217,
"b": 80
},
"hsl": {
"h": 50.741,
"s": 86.17,
"l": 63.137
},
"oklch": {
"l": 0.88188,
"c": 0.15424,
"h": 98.8
},
"luminance": 0.69082
}Semantic roles & 50–950 ramp
primary
#F2D950
secondary
#2E43B9
accent
#25E303
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150C
muted
#86847F