#F0C456#F0C456
#F0C456 is a very light, vivid orange. Relative luminance 0.587; OKLCH L 83.9% C 0.136 H 87.2°. Best body text is #000000 at 12.74:1 contrast (WCAG AA passes).
Color values
| HEX | #F0C456 |
|---|---|
| RGB | rgb(240, 196, 86) |
| HSL | hsl(43, 84%, 64%) |
| HSV | hsv(43, 64%, 94%) |
| CMYK | cmyk(0%, 18.3%, 64.2%, 5.9%) |
| CIE-LAB | lab(81.12, 3.93, 59.52) |
| CIE-LCH | lch(81.12, 59.65, 86.23°) |
| OKLab | oklab(83.87% 0.0067 0.1358) |
| OKLCH | oklch(83.87% 0.136 87.2) |
| XYZ | xyz(57.3578, 58.6805, 17.1077) |
| Luminance | 0.5868 (WCAG relative) |
| Temperature | warm |
| Family | orange |
Closest named colors
Maize
#F4D054
ΔE00 3.97
Light Mustard
#F7D560
ΔE00 4.75
Macaroni And Cheese
#EFB435
ΔE00 5.15
Golden
#F5BF03
ΔE00 5.36
Mustard
#DBB42C
ΔE00 5.40
Golden Yellow
#FEC615
ΔE00 5.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F0C456 #5682F0
analogous
#F07756 #F0C456 #CFF056
triadic
#F0C456 #56F0C4 #C456F0
tetradic
#F0C456 #56F077 #5682F0 #F056CF
square
#F0C456 #56F077 #5682F0 #F056CF
split-complementary
#F0C456 #56CFF0 #7756F0
monochromatic
#BB8A11 #EBB01E #F0C456 #F5D88E #FAEBC6
Accessibility & contrast
On white
1.65
#F0C456 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
12.74
#F0C456 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F0C456
12.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F0C456 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F0C456 | 1.00 | 1.65 | 12.74 | 12.74 |
| #FFFFFF | 1.65 | 1.00 | 21.00 | 21.00 |
| #000000 | 12.74 | 21.00 | 1.00 | 1.00 |
| ##000000 | 12.74 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D9C34A
Deuteranopia (green-blind)
#E4CE5B
Tritanopia (blue-blind)
#FFB4AC
Achromatopsia (no color)
#C9C9C9
Design tokens & code
CSS
--color: #f0c456; /* rgb */ color: rgb(240, 196, 86); /* oklch */ color: oklch(83.9% 0.136 87.2);
Tailwind
colors: {
custom: {
50: '#f9d58a',
500: '#f0c456',
950: '#000000',
},
}SCSS
$custom: #f0c456; $custom-light: #f9d58a; $custom-dark: #000000;
JSON
{
"hex": "#f0c456",
"rgb": {
"r": 240,
"g": 196,
"b": 86
},
"hsl": {
"h": 42.857,
"s": 83.696,
"l": 63.922
},
"oklch": {
"l": 0.83871,
"c": 0.13596,
"h": 87.2
},
"luminance": 0.58677
}Semantic roles & 50–950 ramp
primary
#F0C456
secondary
#3058BA
accent
#44E005
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#18140C
muted
#86837F