#B28C1F#B28C1F
#B28C1F is a light, vivid orange. Relative luminance 0.283; OKLCH L 65.8% C 0.126 H 87.7°. Best body text is #000000 at 6.66:1 contrast (WCAG AA passes).
Color values
| HEX | #B28C1F |
|---|---|
| RGB | rgb(178, 140, 31) |
| HSL | hsl(44, 70%, 41%) |
| HSV | hsv(44, 83%, 70%) |
| CMYK | cmyk(0%, 21.3%, 82.6%, 30.2%) |
| CIE-LAB | lab(60.18, 4.29, 58.37) |
| CIE-LCH | lch(60.18, 58.53, 85.80°) |
| OKLab | oklab(65.83% 0.0051 0.1255) |
| OKLCH | oklch(65.83% 0.126 87.7) |
| XYZ | xyz(27.9873, 28.3220, 5.2887) |
| Luminance | 0.2832 (WCAG relative) |
| Temperature | warm |
| Family | orange |
Closest named colors
Yellowy Brown
#AE8B0C
ΔE00 1.74
Dark Mustard
#A88905
ΔE00 3.07
Ochre
#BF9005
ΔE00 3.35
Dark Gold
#B59410
ΔE00 3.45
Baby Shit Brown
#AD900D
ΔE00 3.48
Darkgoldenrod
#B8860B
ΔE00 3.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B28C1F #1F45B2
analogous
#B2421F #B28C1F #8EB21F
triadic
#B28C1F #1FB28C #8C1FB2
tetradic
#B28C1F #1FB242 #1F45B2 #B21F8E
square
#B28C1F #1FB242 #1F45B2 #B21F8E
split-complementary
#B28C1F #1F8EB2 #421FB2
monochromatic
#4A3A0D #7E6316 #B28C1F #DBB033 #E5C467
Accessibility & contrast
On white
3.15
#B28C1F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.66
#B28C1F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #B28C1F
6.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B28C1F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B28C1F | 1.00 | 3.15 | 6.66 | 6.66 |
| #FFFFFF | 3.15 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.66 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.66 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#9E8B00
Deuteranopia (green-blind)
#A79526
Tritanopia (blue-blind)
#C27F78
Achromatopsia (no color)
#919191
Design tokens & code
CSS
--color: #b28c1f; /* rgb */ color: rgb(178, 140, 31); /* oklch */ color: oklch(65.8% 0.126 87.7);
Tailwind
colors: {
custom: {
50: '#cead66',
500: '#b28c1f',
950: '#000000',
},
}SCSS
$custom: #b28c1f; $custom-light: #cead66; $custom-dark: #000000;
JSON
{
"hex": "#b28c1f",
"rgb": {
"r": 178,
"g": 140,
"b": 31
},
"hsl": {
"h": 44.49,
"s": 70.335,
"l": 40.98
},
"oklch": {
"l": 0.65832,
"c": 0.12565,
"h": 87.7
},
"luminance": 0.2832
}Semantic roles & 50–950 ramp
primary
#B28C1F
secondary
#637ECA
accent
#69ED3B
background
#FDFAF6
surface
#FAF4EB
border
#D3CEC6
text
#141006
muted
#837F7A