#F0C156#F0C156
#F0C156 is a very light, vivid orange. Relative luminance 0.573; OKLCH L 83.3% C 0.135 H 85.2°. Best body text is #000000 at 12.47:1 contrast (WCAG AA passes).
Color values
| HEX | #F0C156 |
|---|---|
| RGB | rgb(240, 193, 86) |
| HSL | hsl(42, 84%, 64%) |
| HSV | hsv(42, 64%, 94%) |
| CMYK | cmyk(0%, 19.6%, 64.2%, 5.9%) |
| CIE-LAB | lab(80.37, 5.48, 58.71) |
| CIE-LCH | lch(80.37, 58.96, 84.66°) |
| OKLab | oklab(83.29% 0.0113 0.1341) |
| OKLCH | oklch(83.29% 0.135 85.2) |
| XYZ | xyz(56.6879, 57.3406, 16.8844) |
| Luminance | 0.5734 (WCAG relative) |
| Temperature | warm |
| Family | orange |
Closest named colors
Macaroni And Cheese
#EFB435
ΔE00 4.27
Maize
#F4D054
ΔE00 5.14
Golden
#F5BF03
ΔE00 5.53
Golden Rod
#F9BC08
ΔE00 5.54
Mustard
#DBB42C
ΔE00 5.57
Marigold
#FCC006
ΔE00 5.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F0C156 #5685F0
analogous
#F07456 #F0C156 #D2F056
triadic
#F0C156 #56F0C1 #C156F0
tetradic
#F0C156 #56F074 #5685F0 #F056D2
square
#F0C156 #56F074 #5685F0 #F056D2
split-complementary
#F0C156 #56D2F0 #7456F0
monochromatic
#BB8711 #EBAC1E #F0C156 #F5D68E #FAEAC6
Accessibility & contrast
On white
1.68
#F0C156 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
12.47
#F0C156 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F0C156
12.47:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F0C156 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F0C156 | 1.00 | 1.68 | 12.47 | 12.47 |
| #FFFFFF | 1.68 | 1.00 | 21.00 | 21.00 |
| #000000 | 12.47 | 21.00 | 1.00 | 1.00 |
| ##000000 | 12.47 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D6C04A
Deuteranopia (green-blind)
#E2CC5A
Tritanopia (blue-blind)
#FFB1AA
Achromatopsia (no color)
#C7C7C7
Design tokens & code
CSS
--color: #f0c156; /* rgb */ color: rgb(240, 193, 86); /* oklch */ color: oklch(83.3% 0.135 85.2);
Tailwind
colors: {
custom: {
50: '#f9d38a',
500: '#f0c156',
950: '#000000',
},
}SCSS
$custom: #f0c156; $custom-light: #f9d38a; $custom-dark: #000000;
JSON
{
"hex": "#f0c156",
"rgb": {
"r": 240,
"g": 193,
"b": 86
},
"hsl": {
"h": 41.688,
"s": 83.696,
"l": 63.922
},
"oklch": {
"l": 0.83285,
"c": 0.13453,
"h": 85.2
},
"luminance": 0.57337
}Semantic roles & 50–950 ramp
primary
#F0C156
secondary
#305ABA
accent
#48E005
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#18140C
muted
#86837F