#F2CB45#F2CB45
#F2CB45 is a very light, vivid yellow. Relative luminance 0.620; OKLCH L 85.3% C 0.152 H 92.3°. Best body text is #000000 at 13.40:1 contrast (WCAG AA passes).
Color values
| HEX | #F2CB45 |
|---|---|
| RGB | rgb(242, 203, 69) |
| HSL | hsl(46, 87%, 61%) |
| HSV | hsv(46, 71%, 95%) |
| CMYK | cmyk(0%, 16.1%, 71.5%, 5.1%) |
| CIE-LAB | lab(82.93, 0.24, 68.45) |
| CIE-LCH | lch(82.93, 68.45, 89.80°) |
| OKLab | oklab(85.3% -0.006 0.1519) |
| OKLCH | oklch(85.3% 0.152 92.3) |
| XYZ | xyz(59.0513, 62.0223, 14.4902) |
| Luminance | 0.6202 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Maize
#F4D054
ΔE00 1.62
Light Mustard
#F7D560
ΔE00 3.04
Light Gold
#FDDC5C
ΔE00 4.07
Golden Yellow
#FEC615
ΔE00 4.61
Golden
#F5BF03
ΔE00 4.83
Goldenrod (survey)
#FAC205
ΔE00 4.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F2CB45 #456CF2
analogous
#F27445 #F2CB45 #C2F245
triadic
#F2CB45 #45F2CB #CB45F2
tetradic
#F2CB45 #45F274 #456CF2 #F245C2
square
#F2CB45 #45F274 #456CF2 #F245C2
split-complementary
#F2CB45 #45C2F2 #7445F2
monochromatic
#B08B0C #E9B910 #F2CB45 #F6DB7E #FAEBB7
Accessibility & contrast
On white
1.57
#F2CB45 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
13.40
#F2CB45 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F2CB45
13.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F2CB45 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F2CB45 | 1.00 | 1.57 | 13.40 | 13.40 |
| #FFFFFF | 1.57 | 1.00 | 21.00 | 21.00 |
| #000000 | 13.40 | 21.00 | 1.00 | 1.00 |
| ##000000 | 13.40 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E1C831
Deuteranopia (green-blind)
#EAD34C
Tritanopia (blue-blind)
#FFBBB0
Achromatopsia (no color)
#CECECE
Design tokens & code
CSS
--color: #f2cb45; /* rgb */ color: rgb(242, 203, 69); /* oklch */ color: oklch(85.3% 0.152 92.3);
Tailwind
colors: {
custom: {
50: '#fbda81',
500: '#f2cb45',
950: '#000000',
},
}SCSS
$custom: #f2cb45; $custom-light: #fbda81; $custom-dark: #000000;
JSON
{
"hex": "#f2cb45",
"rgb": {
"r": 242,
"g": 203,
"b": 69
},
"hsl": {
"h": 46.474,
"s": 86.935,
"l": 60.98
},
"oklch": {
"l": 0.85299,
"c": 0.15197,
"h": 92.3
},
"luminance": 0.62019
}Semantic roles & 50–950 ramp
primary
#F2CB45
secondary
#2B49B0
accent
#35E302
background
#FFFEFB
surface
#FFFBF2
border
#D7D4CC
text
#18140B
muted
#86837E