#FBCF2F#FBCF2F
#FBCF2F is a very light, vivid yellow. Relative luminance 0.653; OKLCH L 86.8% C 0.167 H 92.0°. Best body text is #000000 at 14.07:1 contrast (WCAG AA passes).
Color values
| HEX | #FBCF2F |
|---|---|
| RGB | rgb(251, 207, 47) |
| HSL | hsl(47, 96%, 58%) |
| HSV | hsv(47, 81%, 98%) |
| CMYK | cmyk(0%, 17.5%, 81.3%, 1.6%) |
| CIE-LAB | lab(84.66, 1.17, 77.65) |
| CIE-LCH | lch(84.66, 77.66, 89.13°) |
| OKLab | oklab(86.83% -0.0059 0.1669) |
| OKLCH | oklch(86.83% 0.167 92) |
| XYZ | xyz(62.6133, 65.3441, 12.0036) |
| Luminance | 0.6534 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Gold
#FFD700
ΔE00 3.04
Golden Yellow
#FEC615
ΔE00 3.42
Maize
#F4D054
ΔE00 3.42
Sunflower Yellow
#FFDA03
ΔE00 3.82
Sunflower
#FFC512
ΔE00 3.92
Goldenrod (survey)
#FAC205
ΔE00 4.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#FBCF2F #2F5BFB
analogous
#FB692F #FBCF2F #C1FB2F
triadic
#FBCF2F #2FFBCF #CF2FFB
tetradic
#FBCF2F #2FFB69 #2F5BFB #FB2FC1
square
#FBCF2F #2FFB69 #2F5BFB #FB2FC1
split-complementary
#FBCF2F #2FC1FB #692FFB
monochromatic
#AC8803 #E8B704 #FBCF2F #FCDD6B #FDEBA7
Accessibility & contrast
On white
1.49
#FBCF2F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
14.07
#FBCF2F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #FBCF2F
14.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##FBCF2F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##FBCF2F | 1.00 | 1.49 | 14.07 | 14.07 |
| #FFFFFF | 1.49 | 1.00 | 21.00 | 21.00 |
| #000000 | 14.07 | 21.00 | 1.00 | 1.00 |
| ##000000 | 14.07 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E7CC00
Deuteranopia (green-blind)
#F2D93A
Tritanopia (blue-blind)
#FFBDB2
Achromatopsia (no color)
#D3D3D3
Design tokens & code
CSS
--color: #fbcf2f; /* rgb */ color: rgb(251, 207, 47); /* oklch */ color: oklch(86.8% 0.167 92.0);
Tailwind
colors: {
custom: {
50: '#ffdd77',
500: '#fbcf2f',
950: '#000000',
},
}SCSS
$custom: #fbcf2f; $custom-light: #ffdd77; $custom-dark: #000000;
JSON
{
"hex": "#fbcf2f",
"rgb": {
"r": 251,
"g": 207,
"b": 47
},
"hsl": {
"h": 47.059,
"s": 96.226,
"l": 58.431
},
"oklch": {
"l": 0.86829,
"c": 0.16695,
"h": 92
},
"luminance": 0.6534
}Semantic roles & 50–950 ramp
primary
#FBCF2F
secondary
#2240AD
accent
#57FF29
background
#FFFEFB
surface
#FFFCF1
border
#D7D5CB
text
#19150A
muted
#87847D