#B18F22#B18F22
#B18F22 is a light, vivid yellow. Relative luminance 0.291; OKLCH L 66.4% C 0.125 H 90.1°. Best body text is #000000 at 6.82:1 contrast (WCAG AA passes).
Color values
| HEX | #B18F22 |
|---|---|
| RGB | rgb(177, 143, 34) |
| HSL | hsl(46, 68%, 41%) |
| HSV | hsv(46, 81%, 69%) |
| CMYK | cmyk(0%, 19.2%, 80.8%, 30.6%) |
| CIE-LAB | lab(60.88, 2.29, 57.98) |
| CIE-LCH | lch(60.88, 58.02, 87.74°) |
| OKLab | oklab(66.36% -0.0002 0.1254) |
| OKLCH | oklch(66.36% 0.125 90.1) |
| XYZ | xyz(28.2444, 29.1094, 5.6441) |
| Luminance | 0.2911 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Yellowy Brown
#AE8B0C
ΔE00 1.72
Baby Shit Brown
#AD900D
ΔE00 2.33
Dark Gold
#B59410
ΔE00 2.40
Dark Mustard
#A88905
ΔE00 2.77
Yellow Brown
#B79400
ΔE00 2.88
Baby Poo
#AB9004
ΔE00 3.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B18F22 #2244B1
analogous
#B14722 #B18F22 #8CB122
triadic
#B18F22 #22B18F #8F22B1
tetradic
#B18F22 #22B147 #2244B1 #B1228C
square
#B18F22 #22B147 #2244B1 #B1228C
split-complementary
#B18F22 #228CB1 #4722B1
monochromatic
#4A3C0E #7E6618 #B18F22 #D9B238 #E3C66B
Accessibility & contrast
On white
3.08
#B18F22 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.82
#B18F22 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #B18F22
6.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B18F22 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B18F22 | 1.00 | 3.08 | 6.82 | 6.82 |
| #FFFFFF | 3.08 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.82 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.82 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A08D06
Deuteranopia (green-blind)
#A99729
Tritanopia (blue-blind)
#C0827B
Achromatopsia (no color)
#939393
Design tokens & code
CSS
--color: #b18f22; /* rgb */ color: rgb(177, 143, 34); /* oklch */ color: oklch(66.4% 0.125 90.1);
Tailwind
colors: {
custom: {
50: '#cdaf67',
500: '#b18f22',
950: '#000000',
},
}SCSS
$custom: #b18f22; $custom-light: #cdaf67; $custom-dark: #000000;
JSON
{
"hex": "#b18f22",
"rgb": {
"r": 177,
"g": 143,
"b": 34
},
"hsl": {
"h": 45.734,
"s": 67.773,
"l": 41.373
},
"oklch": {
"l": 0.66364,
"c": 0.1254,
"h": 90.1
},
"luminance": 0.29108
}Semantic roles & 50–950 ramp
primary
#B18F22
secondary
#667EC9
accent
#66EB3D
background
#FDFAF6
surface
#FAF4EB
border
#D3CEC6
text
#141006
muted
#837F7A