#BFA23E#BFA23E
#BFA23E is a light, vivid yellow. Relative luminance 0.373; OKLCH L 72.0% C 0.122 H 92.8°. Best body text is #000000 at 8.45:1 contrast (WCAG AA passes).
Color values
| HEX | #BFA23E |
|---|---|
| RGB | rgb(191, 162, 62) |
| HSL | hsl(47, 51%, 50%) |
| HSV | hsv(47, 68%, 75%) |
| CMYK | cmyk(0%, 15.2%, 67.5%, 25.1%) |
| CIE-LAB | lab(67.48, -0.49, 54.02) |
| CIE-LCH | lch(67.48, 54.02, 90.52°) |
| OKLab | oklab(71.95% -0.0059 0.1219) |
| OKLCH | oklch(71.95% 0.122 92.8) |
| XYZ | xyz(35.2775, 37.2668, 9.8916) |
| Luminance | 0.3726 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Ocher
#BF9B0C
ΔE00 4.17
Ocre
#C69C04
ΔE00 4.99
Dark Gold
#B59410
ΔE00 5.00
Brown Yellow
#B29705
ΔE00 5.00
Desert
#CCAD60
ΔE00 5.06
Sandy Brown
#C4A661
ΔE00 5.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BFA23E #3E5BBF
analogous
#BF623E #BFA23E #9BBF3E
triadic
#BFA23E #3EBFA2 #A23EBF
tetradic
#BFA23E #3EBF62 #3E5BBF #BF3E9B
square
#BFA23E #3EBF62 #3E5BBF #BF3E9B
split-complementary
#BFA23E #3E9BBF #623EBF
monochromatic
#635420 #917B2F #BFA23E #CFB96B #DECF99
Accessibility & contrast
On white
2.48
#BFA23E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.45
#BFA23E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #BFA23E
8.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BFA23E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BFA23E | 1.00 | 2.48 | 8.45 | 8.45 |
| #FFFFFF | 2.48 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.45 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.45 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B39F31
Deuteranopia (green-blind)
#BAA843
Tritanopia (blue-blind)
#CE958D
Achromatopsia (no color)
#A4A4A4
Design tokens & code
CSS
--color: #bfa23e; /* rgb */ color: rgb(191, 162, 62); /* oklch */ color: oklch(72.0% 0.122 92.8);
Tailwind
colors: {
custom: {
50: '#d6bd78',
500: '#bfa23e',
950: '#000000',
},
}SCSS
$custom: #bfa23e; $custom-light: #d6bd78; $custom-dark: #000000;
JSON
{
"hex": "#bfa23e",
"rgb": {
"r": 191,
"g": 162,
"b": 62
},
"hsl": {
"h": 46.512,
"s": 50.988,
"l": 49.608
},
"oklch": {
"l": 0.71954,
"c": 0.12201,
"h": 92.8
},
"luminance": 0.37265
}Semantic roles & 50–950 ramp
primary
#BFA23E
secondary
#8F9CCA
accent
#6DDA4D
background
#FDFBF7
surface
#FBF6EE
border
#D4D0C9
text
#151209
muted
#83817B