#B7AE30#B7AE30
#B7AE30 is a light, vivid yellow. Relative luminance 0.406; OKLCH L 73.6% C 0.141 H 105.2°. Best body text is #000000 at 9.11:1 contrast (WCAG AA passes).
Color values
| HEX | #B7AE30 |
|---|---|
| RGB | rgb(183, 174, 48) |
| HSL | hsl(56, 58%, 45%) |
| HSV | hsv(56, 74%, 72%) |
| CMYK | cmyk(0%, 4.9%, 73.8%, 28.2%) |
| CIE-LAB | lab(69.86, -11.03, 61.67) |
| CIE-LCH | lch(69.86, 62.65, 100.14°) |
| OKLab | oklab(73.64% -0.0369 0.1358) |
| OKLCH | oklch(73.64% 0.141 105.2) |
| XYZ | xyz(35.1995, 40.5541, 8.7693) |
| Luminance | 0.4055 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Muddy Yellow
#BFAC05
ΔE00 3.68
Olive Yellow
#C2B709
ΔE00 3.91
Puke
#A5A502
ΔE00 4.18
Vomit
#A2A415
ΔE00 4.58
Puke Yellow
#C2BE0E
ΔE00 5.19
Brownish Yellow
#C9B003
ΔE00 5.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B7AE30 #3039B7
analogous
#B76A30 #B7AE30 #7CB730
triadic
#B7AE30 #30B7AE #AE30B7
tetradic
#B7AE30 #30B76A #3039B7 #B7307C
square
#B7AE30 #30B76A #3039B7 #B7307C
split-complementary
#B7AE30 #307CB7 #6A30B7
monochromatic
#565217 #878023 #B7AE30 #D2C952 #DED883
Accessibility & contrast
On white
2.31
#B7AE30 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.11
#B7AE30 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B7AE30
9.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B7AE30 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B7AE30 | 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)
#BDA818
Deuteranopia (green-blind)
#C1AD39
Tritanopia (blue-blind)
#C5A296
Achromatopsia (no color)
#ABABAB
Design tokens & code
CSS
--color: #b7ae30; /* rgb */ color: rgb(183, 174, 48); /* oklch */ color: oklch(73.6% 0.141 105.2);
Tailwind
colors: {
custom: {
50: '#d0c572',
500: '#b7ae30',
950: '#000000',
},
}SCSS
$custom: #b7ae30; $custom-light: #d0c572; $custom-dark: #000000;
JSON
{
"hex": "#b7ae30",
"rgb": {
"r": 183,
"g": 174,
"b": 48
},
"hsl": {
"h": 56,
"s": 58.442,
"l": 45.294
},
"oklch": {
"l": 0.73641,
"c": 0.14077,
"h": 105.2
},
"luminance": 0.40553
}Semantic roles & 50–950 ramp
primary
#B7AE30
secondary
#7B80C8
accent
#51E246
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141208
muted
#83817B