#F5CF4C#F5CF4C
#F5CF4C is a very light, vivid yellow. Relative luminance 0.646; OKLCH L 86.4% C 0.150 H 92.5°. Best body text is #000000 at 13.91:1 contrast (WCAG AA passes).
Color values
| HEX | #F5CF4C |
|---|---|
| RGB | rgb(245, 207, 76) |
| HSL | hsl(47, 89%, 63%) |
| HSV | hsv(47, 69%, 96%) |
| CMYK | cmyk(0%, 15.5%, 69%, 3.9%) |
| CIE-LAB | lab(84.26, -0.21, 67.16) |
| CIE-LCH | lch(84.26, 67.16, 90.18°) |
| OKLab | oklab(86.43% -0.0067 0.1503) |
| OKLCH | oklch(86.43% 0.15 92.5) |
| XYZ | xyz(61.2767, 64.5634, 16.0705) |
| Luminance | 0.6456 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Maize
#F4D054
ΔE00 0.85
Light Mustard
#F7D560
ΔE00 2.17
Light Gold
#FDDC5C
ΔE00 3.11
Pale Gold
#FDDE6C
ΔE00 4.09
Sand Yellow
#FCE166
ΔE00 4.76
Gold
#FFD700
ΔE00 4.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F5CF4C #4C72F5
analogous
#F57A4C #F5CF4C #C6F54C
triadic
#F5CF4C #4CF5CF #CF4CF5
tetradic
#F5CF4C #4CF57A #4C72F5 #F54CC6
square
#F5CF4C #4CF57A #4C72F5 #F54CC6
split-complementary
#F5CF4C #4CC6F5 #7A4CF5
monochromatic
#BC940B #F2BF12 #F5CF4C #F8DF86 #FBEEC0
Accessibility & contrast
On white
1.51
#F5CF4C on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
13.91
#F5CF4C on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F5CF4C
13.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F5CF4C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F5CF4C | 1.00 | 1.51 | 13.91 | 13.91 |
| #FFFFFF | 1.51 | 1.00 | 21.00 | 21.00 |
| #000000 | 13.91 | 21.00 | 1.00 | 1.00 |
| ##000000 | 13.91 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E5CC3A
Deuteranopia (green-blind)
#EED753
Tritanopia (blue-blind)
#FFBFB4
Achromatopsia (no color)
#D2D2D2
Design tokens & code
CSS
--color: #f5cf4c; /* rgb */ color: rgb(245, 207, 76); /* oklch */ color: oklch(86.4% 0.150 92.5);
Tailwind
colors: {
custom: {
50: '#fddd85',
500: '#f5cf4c',
950: '#000000',
},
}SCSS
$custom: #f5cf4c; $custom-light: #fddd85; $custom-dark: #000000;
JSON
{
"hex": "#f5cf4c",
"rgb": {
"r": 245,
"g": 207,
"b": 76
},
"hsl": {
"h": 46.509,
"s": 89.418,
"l": 62.941
},
"oklch": {
"l": 0.86432,
"c": 0.1504,
"h": 92.5
},
"luminance": 0.6456
}Semantic roles & 50–950 ramp
primary
#F5CF4C
secondary
#2B4BBA
accent
#34E600
background
#FFFEFB
surface
#FFFCF2
border
#D7D5CC
text
#18150B
muted
#86847E