#B7AE2D#B7AE2D
#B7AE2D is a light, vivid yellow. Relative luminance 0.405; OKLCH L 73.6% C 0.142 H 105.3°. Best body text is #000000 at 9.11:1 contrast (WCAG AA passes).
Color values
| HEX | #B7AE2D |
|---|---|
| RGB | rgb(183, 174, 45) |
| HSL | hsl(56, 61%, 45%) |
| HSV | hsv(56, 75%, 72%) |
| CMYK | cmyk(0%, 4.9%, 75.4%, 28.2%) |
| CIE-LAB | lab(69.85, -11.17, 62.69) |
| CIE-LCH | lch(69.85, 63.67, 100.10°) |
| OKLab | oklab(73.62% -0.0376 0.1374) |
| OKLCH | oklch(73.62% 0.142 105.3) |
| XYZ | xyz(35.1396, 40.5302, 8.4542) |
| Luminance | 0.4053 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Muddy Yellow
#BFAC05
ΔE00 3.51
Olive Yellow
#C2B709
ΔE00 3.72
Puke
#A5A502
ΔE00 4.08
Vomit
#A2A415
ΔE00 4.54
Puke Yellow
#C2BE0E
ΔE00 5.04
Brownish Yellow
#C9B003
ΔE00 5.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B7AE2D #2D36B7
analogous
#B7692D #B7AE2D #7BB72D
triadic
#B7AE2D #2DB7AE #AE2DB7
tetradic
#B7AE2D #2DB769 #2D36B7 #B72D7B
square
#B7AE2D #2DB769 #2D36B7 #B72D7B
split-complementary
#B7AE2D #2D7BB7 #692DB7
monochromatic
#555115 #867F21 #B7AE2D #D3CB4E #DFD97F
Accessibility & contrast
On white
2.31
#B7AE2D on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.11
#B7AE2D on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B7AE2D
9.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B7AE2D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B7AE2D | 1.00 | 2.31 | 9.11 | 9.11 |
| #FFFFFF | 2.31 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.11 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.11 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BEA811
Deuteranopia (green-blind)
#C1AD37
Tritanopia (blue-blind)
#C5A296
Achromatopsia (no color)
#ABABAB
Design tokens & code
CSS
--color: #b7ae2d; /* rgb */ color: rgb(183, 174, 45); /* oklch */ color: oklch(73.6% 0.142 105.3);
Tailwind
colors: {
custom: {
50: '#d0c570',
500: '#b7ae2d',
950: '#000000',
},
}SCSS
$custom: #b7ae2d; $custom-light: #d0c570; $custom-dark: #000000;
JSON
{
"hex": "#b7ae2d",
"rgb": {
"r": 183,
"g": 174,
"b": 45
},
"hsl": {
"h": 56.087,
"s": 60.526,
"l": 44.706
},
"oklch": {
"l": 0.73622,
"c": 0.14248,
"h": 105.3
},
"luminance": 0.40529
}Semantic roles & 50–950 ramp
primary
#B7AE2D
secondary
#787DC8
accent
#4FE444
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141208
muted
#83817B