#B6BA2A#B6BA2A
#B6BA2A is a light, vivid yellow. Relative luminance 0.452; OKLCH L 76.1% C 0.156 H 111.2°. Best body text is #000000 at 10.05:1 contrast (WCAG AA passes).
Color values
| HEX | #B6BA2A |
|---|---|
| RGB | rgb(182, 186, 42) |
| HSL | hsl(62, 63%, 45%) |
| HSV | hsv(62, 77%, 73%) |
| CMYK | cmyk(2.2%, 0%, 77.4%, 27.1%) |
| CIE-LAB | lab(73.04, -17.84, 66.54) |
| CIE-LCH | lch(73.04, 68.89, 105.01°) |
| OKLab | oklab(76.15% -0.0564 0.1451) |
| OKLCH | oklch(76.15% 0.156 111.2) |
| XYZ | xyz(37.2695, 45.2311, 8.9573) |
| Luminance | 0.4523 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Snot
#ACBB0D
ΔE00 2.59
Mustard Green
#A8B504
ΔE00 2.86
Puke Yellow
#C2BE0E
ΔE00 3.23
Bile
#B5C306
ΔE00 3.29
Baby Puke Green
#B6C406
ΔE00 3.47
Vomit Yellow
#C7C10C
ΔE00 4.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B6BA2A #2E2ABA
analogous
#BA762A #B6BA2A #6EBA2A
triadic
#B6BA2A #2AB6BA #BA2AB6
tetradic
#B6BA2A #2ABA76 #2E2ABA #BA2A6E
square
#B6BA2A #2ABA76 #2E2ABA #BA2A6E
split-complementary
#B6BA2A #2A6EBA #762ABA
monochromatic
#545613 #85881F #B6BA2A #D2D64B #DFE27D
Accessibility & contrast
On white
2.09
#B6BA2A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.05
#B6BA2A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B6BA2A
10.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B6BA2A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B6BA2A | 1.00 | 2.09 | 10.05 | 10.05 |
| #FFFFFF | 2.09 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.05 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.05 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C9B100
Deuteranopia (green-blind)
#CAB537
Tritanopia (blue-blind)
#C3AE9F
Achromatopsia (no color)
#B3B3B3
Design tokens & code
CSS
--color: #b6ba2a; /* rgb */ color: rgb(182, 186, 42); /* oklch */ color: oklch(76.1% 0.156 111.2);
Tailwind
colors: {
custom: {
50: '#d0ce70',
500: '#b6ba2a',
950: '#000000',
},
}SCSS
$custom: #b6ba2a; $custom-light: #d0ce70; $custom-dark: #000000;
JSON
{
"hex": "#b6ba2a",
"rgb": {
"r": 182,
"g": 186,
"b": 42
},
"hsl": {
"h": 61.667,
"s": 63.158,
"l": 44.706
},
"oklch": {
"l": 0.7615,
"c": 0.1557,
"h": 111.2
},
"luminance": 0.4523
}Semantic roles & 50–950 ramp
primary
#B6BA2A
secondary
#7876CA
accent
#42E646
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#141308
muted
#83827B