#B7AE2B#B7AE2B
#B7AE2B is a light, vivid yellow. Relative luminance 0.405; OKLCH L 73.6% C 0.144 H 105.3°. Best body text is #000000 at 9.10:1 contrast (WCAG AA passes).
Color values
| HEX | #B7AE2B |
|---|---|
| RGB | rgb(183, 174, 43) |
| HSL | hsl(56, 62%, 44%) |
| HSV | hsv(56, 77%, 72%) |
| CMYK | cmyk(0%, 4.9%, 76.5%, 28.2%) |
| CIE-LAB | lab(69.83, -11.25, 63.34) |
| CIE-LCH | lch(69.83, 64.33, 100.07°) |
| OKLab | oklab(73.61% -0.038 0.1385) |
| OKLCH | oklch(73.61% 0.144 105.3) |
| XYZ | xyz(35.1020, 40.5152, 8.2562) |
| Luminance | 0.4051 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Muddy Yellow
#BFAC05
ΔE00 3.40
Olive Yellow
#C2B709
ΔE00 3.60
Puke
#A5A502
ΔE00 4.03
Vomit
#A2A415
ΔE00 4.53
Puke Yellow
#C2BE0E
ΔE00 4.96
Brownish Yellow
#C9B003
ΔE00 5.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B7AE2B #2B34B7
analogous
#B7682B #B7AE2B #7AB72B
triadic
#B7AE2B #2BB7AE #AE2BB7
tetradic
#B7AE2B #2BB768 #2B34B7 #B72B7A
square
#B7AE2B #2BB768 #2B34B7 #B72B7A
split-complementary
#B7AE2B #2B7AB7 #682BB7
monochromatic
#545014 #857F1F #B7AE2B #D5CC4B #E0DA7C
Accessibility & contrast
On white
2.31
#B7AE2B on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.10
#B7AE2B on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B7AE2B
9.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B7AE2B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B7AE2B | 1.00 | 2.31 | 9.10 | 9.10 |
| #FFFFFF | 2.31 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.10 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.10 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BEA80B
Deuteranopia (green-blind)
#C1AD35
Tritanopia (blue-blind)
#C5A295
Achromatopsia (no color)
#ABABAB
Design tokens & code
CSS
--color: #b7ae2b; /* rgb */ color: rgb(183, 174, 43); /* oklch */ color: oklch(73.6% 0.144 105.3);
Tailwind
colors: {
custom: {
50: '#d0c56f',
500: '#b7ae2b',
950: '#000000',
},
}SCSS
$custom: #b7ae2b; $custom-light: #d0c56f; $custom-dark: #000000;
JSON
{
"hex": "#b7ae2b",
"rgb": {
"r": 183,
"g": 174,
"b": 43
},
"hsl": {
"h": 56.143,
"s": 61.947,
"l": 44.314
},
"oklch": {
"l": 0.73611,
"c": 0.14356,
"h": 105.3
},
"luminance": 0.40514
}Semantic roles & 50–950 ramp
primary
#B7AE2B
secondary
#757BC9
accent
#4DE543
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141208
muted
#83817B