#FFCF3B#FFCF3B
#FFCF3B is a very light, vivid yellow. Relative luminance 0.662; OKLCH L 87.3% C 0.162 H 89.7°. Best body text is #000000 at 14.24:1 contrast (WCAG AA passes).
Color values
| HEX | #FFCF3B |
|---|---|
| RGB | rgb(255, 207, 59) |
| HSL | hsl(45, 100%, 62%) |
| HSV | hsv(45, 77%, 100%) |
| CMYK | cmyk(0%, 18.8%, 76.9%, 0%) |
| CIE-LAB | lab(85.10, 3.25, 74.52) |
| CIE-LCH | lch(85.10, 74.59, 87.50°) |
| OKLab | oklab(87.28% 0.0009 0.1623) |
| OKLCH | oklch(87.28% 0.162 89.7) |
| XYZ | xyz(64.3461, 66.2056, 13.5267) |
| Luminance | 0.6620 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Golden Yellow
#FEC615
ΔE00 2.85
Sunflower
#FFC512
ΔE00 3.26
Maize
#F4D054
ΔE00 3.46
Goldenrod (survey)
#FAC205
ΔE00 3.59
Golden
#F5BF03
ΔE00 4.05
Gold
#FFD700
ΔE00 4.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#FFCF3B #3B6BFF
analogous
#FF6D3B #FFCF3B #CDFF3B
triadic
#FFCF3B #3BFFCF #CF3BFF
tetradic
#FFCF3B #3BFF6D #3B6BFF #FF3BCD
square
#FFCF3B #3BFF6D #3B6BFF #FF3BCD
split-complementary
#FFCF3B #3BCDFF #6D3BFF
monochromatic
#C09100 #FDBF00 #FFCF3B #FFDE78 #FFEDB5
Accessibility & contrast
On white
1.47
#FFCF3B on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
14.24
#FFCF3B on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #FFCF3B
14.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##FFCF3B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##FFCF3B | 1.00 | 1.47 | 14.24 | 14.24 |
| #FFFFFF | 1.47 | 1.00 | 21.00 | 21.00 |
| #000000 | 14.24 | 21.00 | 1.00 | 1.00 |
| ##000000 | 14.24 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E7CD1D
Deuteranopia (green-blind)
#F3DA44
Tritanopia (blue-blind)
#FFBDB3
Achromatopsia (no color)
#D5D5D5
Design tokens & code
CSS
--color: #ffcf3b; /* rgb */ color: rgb(255, 207, 59); /* oklch */ color: oklch(87.3% 0.162 89.7);
Tailwind
colors: {
custom: {
50: '#ffdd7c',
500: '#ffcf3b',
950: '#000000',
},
}SCSS
$custom: #ffcf3b; $custom-light: #ffdd7c; $custom-dark: #000000;
JSON
{
"hex": "#ffcf3b",
"rgb": {
"r": 255,
"g": 207,
"b": 59
},
"hsl": {
"h": 45.306,
"s": 100,
"l": 61.569
},
"oklch": {
"l": 0.87283,
"c": 0.16229,
"h": 89.7
},
"luminance": 0.66201
}Semantic roles & 50–950 ramp
primary
#FFCF3B
secondary
#2147BD
accent
#38E600
background
#FFFEFB
surface
#FFFCF2
border
#D7D5CC
text
#19150A
muted
#87847D