#F0B951#F0B951
#F0B951 is a light, vivid orange. Relative luminance 0.538; OKLCH L 81.7% C 0.135 H 80.7°. Best body text is #000000 at 11.76:1 contrast (WCAG AA passes).
Color values
| HEX | #F0B951 |
|---|---|
| RGB | rgb(240, 185, 81) |
| HSL | hsl(39, 84%, 63%) |
| HSV | hsv(39, 66%, 94%) |
| CMYK | cmyk(0%, 22.9%, 66.3%, 5.9%) |
| CIE-LAB | lab(78.36, 9.37, 58.74) |
| CIE-LCH | lch(78.36, 59.48, 80.94°) |
| OKLab | oklab(81.69% 0.0219 0.1334) |
| OKLCH | oklch(81.69% 0.135 80.7) |
| XYZ | xyz(54.7726, 53.8211, 15.2867) |
| Luminance | 0.5382 (WCAG relative) |
| Temperature | warm |
| Family | orange |
Closest named colors
Macaroni And Cheese
#EFB435
ΔE00 2.73
Orangey Yellow
#FDB915
ΔE00 5.10
Squash
#F2AB15
ΔE00 5.33
Butterscotch
#FDB147
ΔE00 5.42
Amber (survey)
#FEB308
ΔE00 5.64
Golden Rod
#F9BC08
ΔE00 5.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F0B951 #5188F0
analogous
#F06951 #F0B951 #D8F051
triadic
#F0B951 #51F0B9 #B951F0
tetradic
#F0B951 #51F069 #5188F0 #F051D8
square
#F0B951 #51F069 #5188F0 #F051D8
split-complementary
#F0B951 #51D8F0 #6951F0
monochromatic
#B77D10 #EBA219 #F0B951 #F5D089 #FAE6C2
Accessibility & contrast
On white
1.79
#F0B951 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.76
#F0B951 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F0B951
11.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F0B951 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F0B951 | 1.00 | 1.79 | 11.76 | 11.76 |
| #FFFFFF | 1.79 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.76 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.76 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#CFBA45
Deuteranopia (green-blind)
#DCC755
Tritanopia (blue-blind)
#FFA9A3
Achromatopsia (no color)
#C2C2C2
Design tokens & code
CSS
--color: #f0b951; /* rgb */ color: rgb(240, 185, 81); /* oklch */ color: oklch(81.7% 0.135 80.7);
Tailwind
colors: {
custom: {
50: '#f9cd86',
500: '#f0b951',
950: '#000000',
},
}SCSS
$custom: #f0b951; $custom-light: #f9cd86; $custom-dark: #000000;
JSON
{
"hex": "#f0b951",
"rgb": {
"r": 240,
"g": 185,
"b": 81
},
"hsl": {
"h": 39.245,
"s": 84.127,
"l": 62.941
},
"oklch": {
"l": 0.81689,
"c": 0.13516,
"h": 80.7
},
"luminance": 0.53817
}Semantic roles & 50–950 ramp
primary
#F0B951
secondary
#2F5EB6
accent
#51E105
background
#FFFEFB
surface
#FFFAF2
border
#D7D3CC
text
#18130B
muted
#86837E