#F2CB51#F2CB51
#F2CB51 is a very light, vivid yellow. Relative luminance 0.622; OKLCH L 85.4% C 0.144 H 91.1°. Best body text is #000000 at 13.44:1 contrast (WCAG AA passes).
Color values
| HEX | #F2CB51 |
|---|---|
| RGB | rgb(242, 203, 81) |
| HSL | hsl(45, 86%, 63%) |
| HSV | hsv(45, 67%, 95%) |
| CMYK | cmyk(0%, 16.1%, 66.5%, 5.1%) |
| CIE-LAB | lab(83.01, 0.85, 63.75) |
| CIE-LCH | lch(83.01, 63.76, 89.23°) |
| OKLab | oklab(85.4% -0.0029 0.144) |
| OKLCH | oklch(85.4% 0.144 91.1) |
| XYZ | xyz(59.4622, 62.1866, 16.6542) |
| Luminance | 0.6218 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Maize
#F4D054
ΔE00 1.39
Light Mustard
#F7D560
ΔE00 2.58
Light Gold
#FDDC5C
ΔE00 4.13
Pale Gold
#FDDE6C
ΔE00 4.68
Golden Yellow
#FEC615
ΔE00 5.17
Golden
#F5BF03
ΔE00 5.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F2CB51 #5178F2
analogous
#F27A51 #F2CB51 #C8F251
triadic
#F2CB51 #51F2CB #CB51F2
tetradic
#F2CB51 #51F27A #5178F2 #F251C8
square
#F2CB51 #51F27A #5178F2 #F251C8
split-complementary
#F2CB51 #51C8F2 #7A51F2
monochromatic
#BB910E #EEBA18 #F2CB51 #F6DC8A #FBEDC3
Accessibility & contrast
On white
1.56
#F2CB51 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
13.44
#F2CB51 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F2CB51
13.44:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F2CB51 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F2CB51 | 1.00 | 1.56 | 13.44 | 13.44 |
| #FFFFFF | 1.56 | 1.00 | 21.00 | 21.00 |
| #000000 | 13.44 | 21.00 | 1.00 | 1.00 |
| ##000000 | 13.44 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E0C842
Deuteranopia (green-blind)
#EAD357
Tritanopia (blue-blind)
#FFBBB1
Achromatopsia (no color)
#CFCFCF
Design tokens & code
CSS
--color: #f2cb51; /* rgb */ color: rgb(242, 203, 81); /* oklch */ color: oklch(85.4% 0.144 91.1);
Tailwind
colors: {
custom: {
50: '#fada87',
500: '#f2cb51',
950: '#000000',
},
}SCSS
$custom: #f2cb51; $custom-light: #fada87; $custom-dark: #000000;
JSON
{
"hex": "#f2cb51",
"rgb": {
"r": 242,
"g": 203,
"b": 81
},
"hsl": {
"h": 45.466,
"s": 86.096,
"l": 63.333
},
"oklch": {
"l": 0.85396,
"c": 0.14398,
"h": 91.1
},
"luminance": 0.62183
}Semantic roles & 50–950 ramp
primary
#F2CB51
secondary
#2E50B9
accent
#39E303
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#18140C
muted
#86837F