#F0D23F#F0D23F
#F0D23F is a very light, vivid yellow. Relative luminance 0.650; OKLCH L 86.5% C 0.160 H 97.1°. Best body text is #000000 at 14.00:1 contrast (WCAG AA passes).
Color values
| HEX | #F0D23F |
|---|---|
| RGB | rgb(240, 210, 63) |
| HSL | hsl(50, 86%, 59%) |
| HSV | hsv(50, 74%, 94%) |
| CMYK | cmyk(0%, 12.5%, 73.8%, 5.9%) |
| CIE-LAB | lab(84.47, -4.44, 72.07) |
| CIE-LCH | lch(84.47, 72.21, 93.53°) |
| OKLab | oklab(86.47% -0.0198 0.1585) |
| OKLCH | oklch(86.47% 0.16 97.1) |
| XYZ | xyz(59.8820, 64.9805, 14.0900) |
| Luminance | 0.6498 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Maize
#F4D054
ΔE00 2.88
Light Gold
#FDDC5C
ΔE00 3.18
Light Mustard
#F7D560
ΔE00 3.46
Banana
#FFE135
ΔE00 3.84
Dull Yellow
#EEDC5B
ΔE00 4.01
Sun Yellow
#FFDF22
ΔE00 4.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F0D23F #3F5DF0
analogous
#F07A3F #F0D23F #B5F03F
triadic
#F0D23F #3FF0D2 #D23FF0
tetradic
#F0D23F #3FF07A #3F5DF0 #F03FB5
square
#F0D23F #3FF07A #3F5DF0 #F03FB5
split-complementary
#F0D23F #3FB5F0 #7A3FF0
monochromatic
#A88D0D #E0BD12 #F0D23F #F4DF78 #F9EDB1
Accessibility & contrast
On white
1.50
#F0D23F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
14.00
#F0D23F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F0D23F
14.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F0D23F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F0D23F | 1.00 | 1.50 | 14.00 | 14.00 |
| #FFFFFF | 1.50 | 1.00 | 21.00 | 21.00 |
| #000000 | 14.00 | 21.00 | 1.00 | 1.00 |
| ##000000 | 14.00 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E7CD24
Deuteranopia (green-blind)
#EFD748
Tritanopia (blue-blind)
#FFC2B5
Achromatopsia (no color)
#D3D3D3
Design tokens & code
CSS
--color: #f0d23f; /* rgb */ color: rgb(240, 210, 63); /* oklch */ color: oklch(86.5% 0.160 97.1);
Tailwind
colors: {
custom: {
50: '#f9df7e',
500: '#f0d23f',
950: '#000000',
},
}SCSS
$custom: #f0d23f; $custom-light: #f9df7e; $custom-dark: #000000;
JSON
{
"hex": "#f0d23f",
"rgb": {
"r": 240,
"g": 210,
"b": 63
},
"hsl": {
"h": 49.831,
"s": 85.507,
"l": 59.412
},
"oklch": {
"l": 0.86469,
"c": 0.15973,
"h": 97.1
},
"luminance": 0.64977
}Semantic roles & 50–950 ramp
primary
#F0D23F
secondary
#2A40A9
accent
#4FFC2C
background
#FFFEFB
surface
#FFFCF2
border
#D7D5CC
text
#18150B
muted
#86847E