#B5A63B#B5A63B
#B5A63B is a light, vivid yellow. Relative luminance 0.374; OKLCH L 71.8% C 0.126 H 101.3°. Best body text is #000000 at 8.48:1 contrast (WCAG AA passes).
Color values
| HEX | #B5A63B |
|---|---|
| RGB | rgb(181, 166, 59) |
| HSL | hsl(53, 51%, 47%) |
| HSV | hsv(53, 67%, 71%) |
| CMYK | cmyk(0%, 8.3%, 67.4%, 29%) |
| CIE-LAB | lab(67.59, -7.16, 55.11) |
| CIE-LCH | lch(67.59, 55.58, 97.40°) |
| OKLab | oklab(71.81% -0.0247 0.124) |
| OKLCH | oklch(71.81% 0.126 101.3) |
| XYZ | xyz(33.4831, 37.4134, 9.5946) |
| Luminance | 0.3741 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Muddy Yellow
#BFAC05
ΔE00 4.72
Puke
#A5A502
ΔE00 5.35
Vomit
#A2A415
ΔE00 5.44
Brown Yellow
#B29705
ΔE00 5.92
Brownish Yellow
#C9B003
ΔE00 6.19
Olive Yellow
#C2B709
ΔE00 6.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B5A63B #3B4AB5
analogous
#B5693B #B5A63B #87B53B
triadic
#B5A63B #3BB5A6 #A63BB5
tetradic
#B5A63B #3BB569 #3B4AB5 #B53B87
square
#B5A63B #3BB569 #3B4AB5 #B53B87
split-complementary
#B5A63B #3B87B5 #693BB5
monochromatic
#59511D #877C2C #B5A63B #CCBF62 #DBD190
Accessibility & contrast
On white
2.48
#B5A63B on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.48
#B5A63B on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B5A63B
8.48:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B5A63B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B5A63B | 1.00 | 2.48 | 8.48 | 8.48 |
| #FFFFFF | 2.48 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.48 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.48 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B5A12D
Deuteranopia (green-blind)
#B9A741
Tritanopia (blue-blind)
#C39A90
Achromatopsia (no color)
#A5A5A5
Design tokens & code
CSS
--color: #b5a63b; /* rgb */ color: rgb(181, 166, 59); /* oklch */ color: oklch(71.8% 0.126 101.3);
Tailwind
colors: {
custom: {
50: '#cec077',
500: '#b5a63b',
950: '#000000',
},
}SCSS
$custom: #b5a63b; $custom-light: #cec077; $custom-dark: #000000;
JSON
{
"hex": "#b5a63b",
"rgb": {
"r": 181,
"g": 166,
"b": 59
},
"hsl": {
"h": 52.623,
"s": 50.833,
"l": 47.059
},
"oklch": {
"l": 0.71813,
"c": 0.12644,
"h": 101.3
},
"luminance": 0.37412
}Semantic roles & 50–950 ramp
primary
#B5A63B
secondary
#868EC6
accent
#5FDA4D
background
#FDFBF7
surface
#FAF7ED
border
#D3D0C8
text
#141209
muted
#83817B