#F0CB45#F0CB45
#F0CB45 is a very light, vivid yellow. Relative luminance 0.617; OKLCH L 85.1% C 0.152 H 93.1°. Best body text is #000000 at 13.33:1 contrast (WCAG AA passes).
Color values
| HEX | #F0CB45 |
|---|---|
| RGB | rgb(240, 203, 69) |
| HSL | hsl(47, 85%, 61%) |
| HSV | hsv(47, 71%, 94%) |
| CMYK | cmyk(0%, 15.4%, 71.3%, 5.9%) |
| CIE-LAB | lab(82.74, -0.60, 68.20) |
| CIE-LCH | lch(82.74, 68.21, 90.50°) |
| OKLab | oklab(85.11% -0.0083 0.1514) |
| OKLCH | oklch(85.11% 0.152 93.1) |
| XYZ | xyz(58.3684, 61.6702, 14.4582) |
| Luminance | 0.6167 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Maize
#F4D054
ΔE00 1.55
Light Mustard
#F7D560
ΔE00 2.97
Light Gold
#FDDC5C
ΔE00 3.98
Pale Gold
#FDDE6C
ΔE00 4.95
Golden Yellow
#FEC615
ΔE00 5.05
Gold
#FFD700
ΔE00 5.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F0CB45 #456AF0
analogous
#F07645 #F0CB45 #BFF045
triadic
#F0CB45 #45F0CB #CB45F0
tetradic
#F0CB45 #45F076 #456AF0 #F045BF
square
#F0CB45 #45F076 #456AF0 #F045BF
split-complementary
#F0CB45 #45BFF0 #7645F0
monochromatic
#AD8A0E #E5B812 #F0CB45 #F5DB7E #F9EBB6
Accessibility & contrast
On white
1.57
#F0CB45 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
13.33
#F0CB45 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F0CB45
13.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F0CB45 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F0CB45 | 1.00 | 1.57 | 13.33 | 13.33 |
| #FFFFFF | 1.57 | 1.00 | 21.00 | 21.00 |
| #000000 | 13.33 | 21.00 | 1.00 | 1.00 |
| ##000000 | 13.33 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E0C831
Deuteranopia (green-blind)
#EAD34C
Tritanopia (blue-blind)
#FFBBB0
Achromatopsia (no color)
#CECECE
Design tokens & code
CSS
--color: #f0cb45; /* rgb */ color: rgb(240, 203, 69); /* oklch */ color: oklch(85.1% 0.152 93.1);
Tailwind
colors: {
custom: {
50: '#f9da81',
500: '#f0cb45',
950: '#000000',
},
}SCSS
$custom: #f0cb45; $custom-light: #f9da81; $custom-dark: #000000;
JSON
{
"hex": "#f0cb45",
"rgb": {
"r": 240,
"g": 203,
"b": 69
},
"hsl": {
"h": 47.018,
"s": 85.075,
"l": 60.588
},
"oklch": {
"l": 0.85108,
"c": 0.15163,
"h": 93.1
},
"luminance": 0.61667
}Semantic roles & 50–950 ramp
primary
#F0CB45
secondary
#2C48AD
accent
#34E204
background
#FFFEFB
surface
#FFFBF2
border
#D7D4CC
text
#18140B
muted
#86837E