#F2C849#F2C849
#F2C849 is a very light, vivid yellow. Relative luminance 0.607; OKLCH L 84.7% C 0.148 H 90.2°. Best body text is #000000 at 13.13:1 contrast (WCAG AA passes).
Color values
| HEX | #F2C849 |
|---|---|
| RGB | rgb(242, 200, 73) |
| HSL | hsl(45, 87%, 62%) |
| HSV | hsv(45, 70%, 95%) |
| CMYK | cmyk(0%, 17.4%, 69.8%, 5.1%) |
| CIE-LAB | lab(82.20, 1.98, 66.17) |
| CIE-LCH | lch(82.20, 66.20, 88.29°) |
| OKLab | oklab(84.74% -0.0006 0.1477) |
| OKLCH | oklch(84.74% 0.148 90.2) |
| XYZ | xyz(58.4780, 60.6704, 14.9325) |
| Luminance | 0.6067 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Maize
#F4D054
ΔE00 2.32
Light Mustard
#F7D560
ΔE00 3.58
Golden Yellow
#FEC615
ΔE00 4.28
Golden
#F5BF03
ΔE00 4.38
Goldenrod (survey)
#FAC205
ΔE00 4.48
Sunflower
#FFC512
ΔE00 4.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F2C849 #4973F2
analogous
#F27449 #F2C849 #C7F249
triadic
#F2C849 #49F2C8 #C849F2
tetradic
#F2C849 #49F274 #4973F2 #F249C7
square
#F2C849 #49F274 #4973F2 #F249C7
split-complementary
#F2C849 #49C7F2 #7449F2
monochromatic
#B48A0D #EDB611 #F2C849 #F6D982 #FAEBBB
Accessibility & contrast
On white
1.60
#F2C849 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
13.13
#F2C849 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F2C849
13.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F2C849 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F2C849 | 1.00 | 1.60 | 13.13 | 13.13 |
| #FFFFFF | 1.60 | 1.00 | 21.00 | 21.00 |
| #000000 | 13.13 | 21.00 | 1.00 | 1.00 |
| ##000000 | 13.13 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#DEC637
Deuteranopia (green-blind)
#E8D14F
Tritanopia (blue-blind)
#FFB8AE
Achromatopsia (no color)
#CCCCCC
Design tokens & code
CSS
--color: #f2c849; /* rgb */ color: rgb(242, 200, 73); /* oklch */ color: oklch(84.7% 0.148 90.2);
Tailwind
colors: {
custom: {
50: '#fbd883',
500: '#f2c849',
950: '#000000',
},
}SCSS
$custom: #f2c849; $custom-light: #fbd883; $custom-dark: #000000;
JSON
{
"hex": "#f2c849",
"rgb": {
"r": 242,
"g": 200,
"b": 73
},
"hsl": {
"h": 45.089,
"s": 86.667,
"l": 61.765
},
"oklch": {
"l": 0.84737,
"c": 0.14774,
"h": 90.2
},
"luminance": 0.60667
}Semantic roles & 50–950 ramp
primary
#F2C849
secondary
#2C4EB3
accent
#3AE302
background
#FFFEFB
surface
#FFFBF2
border
#D7D4CC
text
#18140B
muted
#86837E