#F0C157#F0C157
#F0C157 is a very light, vivid orange. Relative luminance 0.574; OKLCH L 83.3% C 0.134 H 85.0°. Best body text is #000000 at 12.47:1 contrast (WCAG AA passes).
Color values
| HEX | #F0C157 |
|---|---|
| RGB | rgb(240, 193, 87) |
| HSL | hsl(42, 84%, 64%) |
| HSV | hsv(42, 64%, 94%) |
| CMYK | cmyk(0%, 19.6%, 63.7%, 5.9%) |
| CIE-LAB | lab(80.38, 5.55, 58.27) |
| CIE-LCH | lch(80.38, 58.53, 84.56°) |
| OKLab | oklab(83.3% 0.0116 0.1333) |
| OKLCH | oklch(83.3% 0.134 85) |
| XYZ | xyz(56.7285, 57.3569, 17.0980) |
| Luminance | 0.5735 (WCAG relative) |
| Temperature | warm |
| Family | orange |
Closest named colors
Macaroni And Cheese
#EFB435
ΔE00 4.31
Maize
#F4D054
ΔE00 5.22
Golden Rod
#F9BC08
ΔE00 5.64
Golden
#F5BF03
ΔE00 5.66
Mustard
#DBB42C
ΔE00 5.66
Marigold
#FCC006
ΔE00 5.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F0C157 #5786F0
analogous
#F07557 #F0C157 #D2F057
triadic
#F0C157 #57F0C1 #C157F0
tetradic
#F0C157 #57F075 #5786F0 #F057D2
square
#F0C157 #57F075 #5786F0 #F057D2
split-complementary
#F0C157 #57D2F0 #7557F0
monochromatic
#BC8711 #EBAC1F #F0C157 #F5D68F #FAEAC7
Accessibility & contrast
On white
1.68
#F0C157 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
12.47
#F0C157 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F0C157
12.47:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F0C157 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F0C157 | 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)
#D6C04B
Deuteranopia (green-blind)
#E2CD5B
Tritanopia (blue-blind)
#FFB1AA
Achromatopsia (no color)
#C7C7C7
Design tokens & code
CSS
--color: #f0c157; /* rgb */ color: rgb(240, 193, 87); /* oklch */ color: oklch(83.3% 0.134 85.0);
Tailwind
colors: {
custom: {
50: '#f9d38a',
500: '#f0c157',
950: '#000000',
},
}SCSS
$custom: #f0c157; $custom-light: #f9d38a; $custom-dark: #000000;
JSON
{
"hex": "#f0c157",
"rgb": {
"r": 240,
"g": 193,
"b": 87
},
"hsl": {
"h": 41.569,
"s": 83.607,
"l": 64.118
},
"oklch": {
"l": 0.83295,
"c": 0.13378,
"h": 85
},
"luminance": 0.57353
}Semantic roles & 50–950 ramp
primary
#F0C157
secondary
#315BBA
accent
#49E005
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#18140C
muted
#86837F