#B7AE2C#B7AE2C
#B7AE2C is a light, vivid yellow. Relative luminance 0.405; OKLCH L 73.6% C 0.143 H 105.3°. Best body text is #000000 at 9.10:1 contrast (WCAG AA passes).
Color values
| HEX | #B7AE2C |
|---|---|
| RGB | rgb(183, 174, 44) |
| HSL | hsl(56, 61%, 45%) |
| HSV | hsv(56, 76%, 72%) |
| CMYK | cmyk(0%, 4.9%, 76%, 28.2%) |
| CIE-LAB | lab(69.84, -11.21, 63.02) |
| CIE-LCH | lch(69.84, 64.00, 100.08°) |
| OKLab | oklab(73.62% -0.0378 0.138) |
| OKLCH | oklch(73.62% 0.143 105.3) |
| XYZ | xyz(35.1206, 40.5226, 8.3541) |
| Luminance | 0.4052 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Muddy Yellow
#BFAC05
ΔE00 3.45
Olive Yellow
#C2B709
ΔE00 3.66
Puke
#A5A502
ΔE00 4.05
Vomit
#A2A415
ΔE00 4.54
Puke Yellow
#C2BE0E
ΔE00 5.00
Brownish Yellow
#C9B003
ΔE00 5.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B7AE2C #2C35B7
analogous
#B7692C #B7AE2C #7BB72C
triadic
#B7AE2C #2CB7AE #AE2CB7
tetradic
#B7AE2C #2CB769 #2C35B7 #B72C7B
square
#B7AE2C #2CB769 #2C35B7 #B72C7B
split-complementary
#B7AE2C #2C7BB7 #692CB7
monochromatic
#545014 #867F20 #B7AE2C #D4CB4C #E0DA7E
Accessibility & contrast
On white
2.31
#B7AE2C on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.10
#B7AE2C on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B7AE2C
9.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B7AE2C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B7AE2C | 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)
#BEA80E
Deuteranopia (green-blind)
#C1AD36
Tritanopia (blue-blind)
#C5A295
Achromatopsia (no color)
#ABABAB
Design tokens & code
CSS
--color: #b7ae2c; /* rgb */ color: rgb(183, 174, 44); /* oklch */ color: oklch(73.6% 0.143 105.3);
Tailwind
colors: {
custom: {
50: '#d0c570',
500: '#b7ae2c',
950: '#000000',
},
}SCSS
$custom: #b7ae2c; $custom-light: #d0c570; $custom-dark: #000000;
JSON
{
"hex": "#b7ae2c",
"rgb": {
"r": 183,
"g": 174,
"b": 44
},
"hsl": {
"h": 56.115,
"s": 61.233,
"l": 44.51
},
"oklch": {
"l": 0.73616,
"c": 0.14302,
"h": 105.3
},
"luminance": 0.40521
}Semantic roles & 50–950 ramp
primary
#B7AE2C
secondary
#767CC8
accent
#4EE443
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141208
muted
#83817B