#B7BA45#B7BA45
#B7BA45 is a light, vivid yellow. Relative luminance 0.456; OKLCH L 76.4% C 0.138 H 110.7°. Best body text is #000000 at 10.12:1 contrast (WCAG AA passes).
Color values
| HEX | #B7BA45 |
|---|---|
| RGB | rgb(183, 186, 69) |
| HSL | hsl(62, 46%, 50%) |
| HSV | hsv(62, 63%, 73%) |
| CMYK | cmyk(1.6%, 0%, 62.9%, 27.1%) |
| CIE-LAB | lab(73.30, -16.03, 56.95) |
| CIE-LCH | lch(73.30, 59.17, 105.72°) |
| OKLab | oklab(76.43% -0.0488 0.1294) |
| OKLCH | oklch(76.43% 0.138 110.7) |
| XYZ | xyz(38.1626, 45.6157, 12.4235) |
| Luminance | 0.4561 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Snot
#ACBB0D
ΔE00 4.39
Mustard Green
#A8B504
ΔE00 4.56
Puke Yellow
#C2BE0E
ΔE00 5.14
Bile
#B5C306
ΔE00 5.15
Baby Puke Green
#B6C406
ΔE00 5.29
Pea
#A4BF20
ΔE00 5.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B7BA45 #4845BA
analogous
#BA8245 #B7BA45 #7DBA45
triadic
#B7BA45 #45B7BA #BA45B7
tetradic
#B7BA45 #45BA82 #4845BA #BA457D
square
#B7BA45 #45BA82 #4845BA #BA457D
split-complementary
#B7BA45 #457DBA #8245BA
monochromatic
#5F6124 #8B8D34 #B7BA45 #C8CB72 #DADB9E
Accessibility & contrast
On white
2.07
#B7BA45 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.12
#B7BA45 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B7BA45
10.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B7BA45 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B7BA45 | 1.00 | 2.07 | 10.12 | 10.12 |
| #FFFFFF | 2.07 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.12 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.12 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C8B236
Deuteranopia (green-blind)
#C9B64C
Tritanopia (blue-blind)
#C3AFA2
Achromatopsia (no color)
#B4B4B4
Design tokens & code
CSS
--color: #b7ba45; /* rgb */ color: rgb(183, 186, 69); /* oklch */ color: oklch(76.4% 0.138 110.7);
Tailwind
colors: {
custom: {
50: '#cfce7e',
500: '#b7ba45',
950: '#000000',
},
}SCSS
$custom: #b7ba45; $custom-light: #cfce7e; $custom-dark: #000000;
JSON
{
"hex": "#b7ba45",
"rgb": {
"r": 183,
"g": 186,
"b": 69
},
"hsl": {
"h": 61.538,
"s": 45.882,
"l": 50
},
"oklch": {
"l": 0.76426,
"c": 0.1383,
"h": 110.7
},
"luminance": 0.45615
}Semantic roles & 50–950 ramp
primary
#B7BA45
secondary
#9593C8
accent
#52D656
background
#FDFCF7
surface
#FAF9EE
border
#D3D2C9
text
#14130A
muted
#83827C