#BC9F1F#BC9F1F
#BC9F1F is a light, vivid yellow. Relative luminance 0.356; OKLCH L 70.8% C 0.138 H 95.0°. Best body text is #000000 at 8.12:1 contrast (WCAG AA passes).
Color values
| HEX | #BC9F1F |
|---|---|
| RGB | rgb(188, 159, 31) |
| HSL | hsl(49, 72%, 43%) |
| HSV | hsv(49, 84%, 74%) |
| CMYK | cmyk(0%, 15.4%, 83.5%, 26.3%) |
| CIE-LAB | lab(66.20, -1.54, 63.94) |
| CIE-LCH | lch(66.20, 63.96, 91.38°) |
| OKLab | oklab(70.82% -0.0119 0.1371) |
| OKLCH | oklch(70.82% 0.138 95) |
| XYZ | xyz(33.3864, 35.5885, 6.4068) |
| Luminance | 0.3559 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Ocher
#BF9B0C
ΔE00 2.22
Brown Yellow
#B29705
ΔE00 2.72
Dark Gold
#B59410
ΔE00 3.40
Yellow Brown
#B79400
ΔE00 3.56
Ocre
#C69C04
ΔE00 3.70
Baby Shit Brown
#AD900D
ΔE00 4.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BC9F1F #1F3CBC
analogous
#BC501F #BC9F1F #8ABC1F
triadic
#BC9F1F #1FBC9F #9F1FBC
tetradic
#BC9F1F #1FBC50 #1F3CBC #BC1F8A
square
#BC9F1F #1FBC50 #1F3CBC #BC1F8A
split-complementary
#BC9F1F #1F8ABC #501FBC
monochromatic
#53460E #877316 #BC9F1F #DEC03A #E7D16E
Accessibility & contrast
On white
2.59
#BC9F1F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.12
#BC9F1F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #BC9F1F
8.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BC9F1F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BC9F1F | 1.00 | 2.59 | 8.12 | 8.12 |
| #FFFFFF | 2.59 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.12 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.12 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B19C00
Deuteranopia (green-blind)
#B8A529
Tritanopia (blue-blind)
#CC9288
Achromatopsia (no color)
#A1A1A1
Design tokens & code
CSS
--color: #bc9f1f; /* rgb */ color: rgb(188, 159, 31); /* oklch */ color: oklch(70.8% 0.138 95.0);
Tailwind
colors: {
custom: {
50: '#d5ba68',
500: '#bc9f1f',
950: '#000000',
},
}SCSS
$custom: #bc9f1f; $custom-light: #d5ba68; $custom-dark: #000000;
JSON
{
"hex": "#bc9f1f",
"rgb": {
"r": 188,
"g": 159,
"b": 31
},
"hsl": {
"h": 48.917,
"s": 71.689,
"l": 42.941
},
"oklch": {
"l": 0.7082,
"c": 0.13765,
"h": 95
},
"luminance": 0.35587
}Semantic roles & 50–950 ramp
primary
#BC9F1F
secondary
#697CCD
accent
#5BEE39
background
#FDFBF6
surface
#FBF6EB
border
#D4D0C6
text
#151107
muted
#83807A