#F8CF4A#F8CF4A
#F8CF4A is a very light, vivid yellow. Relative luminance 0.651; OKLCH L 86.7% C 0.152 H 91.4°. Best body text is #000000 at 14.02:1 contrast (WCAG AA passes).
Color values
| HEX | #F8CF4A |
|---|---|
| RGB | rgb(248, 207, 74) |
| HSL | hsl(46, 93%, 63%) |
| HSV | hsv(46, 70%, 97%) |
| CMYK | cmyk(0%, 16.5%, 70.2%, 2.7%) |
| CIE-LAB | lab(84.53, 0.95, 68.31) |
| CIE-LCH | lch(84.53, 68.32, 89.21°) |
| OKLab | oklab(86.7% -0.0037 0.1522) |
| OKLCH | oklch(86.7% 0.152 91.4) |
| XYZ | xyz(62.2636, 65.0802, 15.7595) |
| Luminance | 0.6508 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Maize
#F4D054
ΔE00 1.47
Light Mustard
#F7D560
ΔE00 2.60
Light Gold
#FDDC5C
ΔE00 3.43
Pale Gold
#FDDE6C
ΔE00 4.43
Golden Yellow
#FEC615
ΔE00 4.48
Gold
#FFD700
ΔE00 4.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F8CF4A #4A73F8
analogous
#F8784A #F8CF4A #CAF84A
triadic
#F8CF4A #4AF8CF #CF4AF8
tetradic
#F8CF4A #4AF878 #4A73F8 #F84ACA
square
#F8CF4A #4AF878 #4A73F8 #F84ACA
split-complementary
#F8CF4A #4ACAF8 #784AF8
monochromatic
#C09507 #F6BF0F #F8CF4A #FADF85 #FDEEC0
Accessibility & contrast
On white
1.50
#F8CF4A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
14.02
#F8CF4A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F8CF4A
14.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F8CF4A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F8CF4A | 1.00 | 1.50 | 14.02 | 14.02 |
| #FFFFFF | 1.50 | 1.00 | 21.00 | 21.00 |
| #000000 | 14.02 | 21.00 | 1.00 | 1.00 |
| ##000000 | 14.02 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E5CC37
Deuteranopia (green-blind)
#EFD851
Tritanopia (blue-blind)
#FFBEB4
Achromatopsia (no color)
#D3D3D3
Design tokens & code
CSS
--color: #f8cf4a; /* rgb */ color: rgb(248, 207, 74); /* oklch */ color: oklch(86.7% 0.152 91.4);
Tailwind
colors: {
custom: {
50: '#ffdd84',
500: '#f8cf4a',
950: '#000000',
},
}SCSS
$custom: #f8cf4a; $custom-light: #ffdd84; $custom-dark: #000000;
JSON
{
"hex": "#f8cf4a",
"rgb": {
"r": 248,
"g": 207,
"b": 74
},
"hsl": {
"h": 45.862,
"s": 92.553,
"l": 63.137
},
"oklch": {
"l": 0.86704,
"c": 0.15228,
"h": 91.4
},
"luminance": 0.65077
}Semantic roles & 50–950 ramp
primary
#F8CF4A
secondary
#294CBE
accent
#36E600
background
#FFFEFB
surface
#FFFCF2
border
#D7D5CC
text
#19150B
muted
#87847E