#B7B13E#B7B13E
#B7B13E is a light, vivid yellow. Relative luminance 0.419; OKLCH L 74.4% C 0.134 H 106.3°. Best body text is #000000 at 9.37:1 contrast (WCAG AA passes).
Color values
| HEX | #B7B13E |
|---|---|
| RGB | rgb(183, 177, 62) |
| HSL | hsl(57, 49%, 48%) |
| HSV | hsv(57, 66%, 72%) |
| CMYK | cmyk(0%, 3.3%, 66.1%, 28.2%) |
| CIE-LAB | lab(70.77, -11.86, 57.22) |
| CIE-LCH | lch(70.77, 58.44, 101.71°) |
| OKLab | oklab(74.4% -0.0378 0.1289) |
| OKLCH | oklch(74.4% 0.134 106.3) |
| XYZ | xyz(36.1214, 41.8606, 10.7337) |
| Luminance | 0.4186 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive Yellow
#C2B709
ΔE00 4.76
Puke
#A5A502
ΔE00 5.02
Vomit
#A2A415
ΔE00 5.11
Muddy Yellow
#BFAC05
ΔE00 5.20
Puke Yellow
#C2BE0E
ΔE00 5.43
Mustard Green
#A8B504
ΔE00 5.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B7B13E #3E44B7
analogous
#B7743E #B7B13E #80B73E
triadic
#B7B13E #3EB7B1 #B13EB7
tetradic
#B7B13E #3EB774 #3E44B7 #B73E80
square
#B7B13E #3EB774 #3E44B7 #B73E80
split-complementary
#B7B13E #3E80B7 #743EB7
monochromatic
#5C591F #89852F #B7B13E #CBC667 #DBD794
Accessibility & contrast
On white
2.24
#B7B13E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.37
#B7B13E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B7B13E
9.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B7B13E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B7B13E | 1.00 | 2.24 | 9.37 | 9.37 |
| #FFFFFF | 2.24 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.37 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.37 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C0AB2E
Deuteranopia (green-blind)
#C2AF45
Tritanopia (blue-blind)
#C4A69A
Achromatopsia (no color)
#ADADAD
Design tokens & code
CSS
--color: #b7b13e; /* rgb */ color: rgb(183, 177, 62); /* oklch */ color: oklch(74.4% 0.134 106.3);
Tailwind
colors: {
custom: {
50: '#d0c879',
500: '#b7b13e',
950: '#000000',
},
}SCSS
$custom: #b7b13e; $custom-light: #d0c879; $custom-dark: #000000;
JSON
{
"hex": "#b7b13e",
"rgb": {
"r": 183,
"g": 177,
"b": 62
},
"hsl": {
"h": 57.025,
"s": 49.388,
"l": 48.039
},
"oklch": {
"l": 0.74398,
"c": 0.13432,
"h": 106.3
},
"luminance": 0.41859
}Semantic roles & 50–950 ramp
primary
#B7B13E
secondary
#8A8DC6
accent
#56D94F
background
#FDFCF7
surface
#FAF8EE
border
#D3D1C9
text
#141309
muted
#83827B