#F0B252#F0B252
#F0B252 is a light, vivid orange. Relative luminance 0.510; OKLCH L 80.4% C 0.133 H 75.6°. Best body text is #000000 at 11.20:1 contrast (WCAG AA passes).
Color values
| HEX | #F0B252 |
|---|---|
| RGB | rgb(240, 178, 82) |
| HSL | hsl(36, 84%, 63%) |
| HSV | hsv(36, 66%, 94%) |
| CMYK | cmyk(0%, 25.8%, 65.8%, 5.9%) |
| CIE-LAB | lab(76.67, 13.11, 56.45) |
| CIE-LCH | lch(76.67, 57.96, 76.93°) |
| OKLab | oklab(80.37% 0.033 0.1287) |
| OKLCH | oklch(80.37% 0.133 75.6) |
| XYZ | xyz(53.3819, 50.9793, 15.0094) |
| Luminance | 0.5098 (WCAG relative) |
| Temperature | warm |
| Family | orange |
Closest named colors
Butterscotch
#FDB147
ΔE00 3.15
Macaroni And Cheese
#EFB435
ΔE00 4.33
Squash
#F2AB15
ΔE00 5.02
Light Orange
#FDAA48
ΔE00 5.20
Yellowish Orange
#FFAB0F
ΔE00 5.75
Saffron
#FEB209
ΔE00 5.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F0B252 #5290F0
analogous
#F06352 #F0B252 #DFF052
triadic
#F0B252 #52F0B2 #B252F0
tetradic
#F0B252 #52F063 #5290F0 #F052DF
square
#F0B252 #52F063 #5290F0 #F052DF
split-complementary
#F0B252 #52DFF0 #6352F0
monochromatic
#B87610 #EB991A #F0B252 #F5CB8A #FAE4C3
Accessibility & contrast
On white
1.88
#F0B252 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.20
#F0B252 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F0B252
11.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F0B252 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F0B252 | 1.00 | 1.88 | 11.20 | 11.20 |
| #FFFFFF | 1.88 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.20 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.20 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C9B448
Deuteranopia (green-blind)
#D8C355
Tritanopia (blue-blind)
#FFA19D
Achromatopsia (no color)
#BDBDBD
Design tokens & code
CSS
--color: #f0b252; /* rgb */ color: rgb(240, 178, 82); /* oklch */ color: oklch(80.4% 0.133 75.6);
Tailwind
colors: {
custom: {
50: '#f9c886',
500: '#f0b252',
950: '#000000',
},
}SCSS
$custom: #f0b252; $custom-light: #f9c886; $custom-dark: #000000;
JSON
{
"hex": "#f0b252",
"rgb": {
"r": 240,
"g": 178,
"b": 82
},
"hsl": {
"h": 36.456,
"s": 84.043,
"l": 63.137
},
"oklch": {
"l": 0.80368,
"c": 0.13282,
"h": 75.6
},
"luminance": 0.50975
}Semantic roles & 50–950 ramp
primary
#F0B252
secondary
#2F65B7
accent
#5BE005
background
#FFFDFB
surface
#FFF9F2
border
#D7D2CC
text
#18130B
muted
#86827E