#F0CE5B#F0CE5B
#F0CE5B is a very light, vivid yellow. Relative luminance 0.634; OKLCH L 85.9% C 0.138 H 92.8°. Best body text is #000000 at 13.68:1 contrast (WCAG AA passes).
Color values
| HEX | #F0CE5B |
|---|---|
| RGB | rgb(240, 206, 91) |
| HSL | hsl(46, 83%, 65%) |
| HSV | hsv(46, 62%, 94%) |
| CMYK | cmyk(0%, 14.2%, 62.1%, 5.9%) |
| CIE-LAB | lab(83.67, -0.92, 60.11) |
| CIE-LCH | lch(83.67, 60.12, 90.88°) |
| OKLab | oklab(85.9% -0.0067 0.1378) |
| OKLCH | oklch(85.9% 0.138 92.8) |
| XYZ | xyz(59.8976, 63.4263, 18.9830) |
| Luminance | 0.6342 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Maize
#F4D054
ΔE00 1.19
Light Mustard
#F7D560
ΔE00 1.64
Light Gold
#FDDC5C
ΔE00 3.48
Pale Gold
#FDDE6C
ΔE00 3.66
Wheat (survey)
#FBDD7E
ΔE00 4.43
Sandy
#F1DA7A
ΔE00 4.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F0CE5B #5B7DF0
analogous
#F0845B #F0CE5B #C7F05B
triadic
#F0CE5B #5BF0CE #CE5BF0
tetradic
#F0CE5B #5BF084 #5B7DF0 #F05BC7
square
#F0CE5B #5BF084 #5B7DF0 #F05BC7
split-complementary
#F0CE5B #5BC7F0 #845BF0
monochromatic
#BF9711 #EBBD23 #F0CE5B #F5DF93 #FAF0CB
Accessibility & contrast
On white
1.53
#F0CE5B on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
13.68
#F0CE5B on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F0CE5B
13.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F0CE5B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F0CE5B | 1.00 | 1.53 | 13.68 | 13.68 |
| #FFFFFF | 1.53 | 1.00 | 21.00 | 21.00 |
| #000000 | 13.68 | 21.00 | 1.00 | 1.00 |
| ##000000 | 13.68 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E2CB4E
Deuteranopia (green-blind)
#EBD560
Tritanopia (blue-blind)
#FFBFB5
Achromatopsia (no color)
#D1D1D1
Design tokens & code
CSS
--color: #f0ce5b; /* rgb */ color: rgb(240, 206, 91); /* oklch */ color: oklch(85.9% 0.138 92.8);
Tailwind
colors: {
custom: {
50: '#f8dc8e',
500: '#f0ce5b',
950: '#000000',
},
}SCSS
$custom: #f0ce5b; $custom-light: #f8dc8e; $custom-dark: #000000;
JSON
{
"hex": "#f0ce5b",
"rgb": {
"r": 240,
"g": 206,
"b": 91
},
"hsl": {
"h": 46.309,
"s": 83.24,
"l": 64.902
},
"oklch": {
"l": 0.85896,
"c": 0.13791,
"h": 92.8
},
"luminance": 0.63423
}Semantic roles & 50–950 ramp
primary
#F0CE5B
secondary
#3252BD
accent
#38E006
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#18150D
muted
#86847F