#B2B945#B2B945
#B2B945 is a light, vivid yellow. Relative luminance 0.446; OKLCH L 75.8% C 0.138 H 112.5°. Best body text is #000000 at 9.92:1 contrast (WCAG AA passes).
Color values
| HEX | #B2B945 |
|---|---|
| RGB | rgb(178, 185, 69) |
| HSL | hsl(64, 46%, 50%) |
| HSV | hsv(64, 63%, 73%) |
| CMYK | cmyk(3.8%, 0%, 62.7%, 27.5%) |
| CIE-LAB | lab(72.62, -17.63, 56.12) |
| CIE-LCH | lch(72.62, 58.82, 107.44°) |
| OKLab | oklab(75.79% -0.053 0.1278) |
| OKLCH | oklch(75.79% 0.138 112.5) |
| XYZ | xyz(36.7842, 44.5933, 12.2987) |
| Luminance | 0.4459 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Snot
#ACBB0D
ΔE00 4.21
Mustard Green
#A8B504
ΔE00 4.31
Sick Green
#9DB92C
ΔE00 4.78
Booger
#9BB53C
ΔE00 4.79
Pea
#A4BF20
ΔE00 4.92
Bile
#B5C306
ΔE00 5.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B2B945 #4C45B9
analogous
#B98645 #B2B945 #78B945
triadic
#B2B945 #45B2B9 #B945B2
tetradic
#B2B945 #45B986 #4C45B9 #B94578
square
#B2B945 #45B986 #4C45B9 #B94578
split-complementary
#B2B945 #4578B9 #8645B9
monochromatic
#5C6024 #878C34 #B2B945 #C5CA71 #D7DB9E
Accessibility & contrast
On white
2.12
#B2B945 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.92
#B2B945 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B2B945
9.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B2B945 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B2B945 | 1.00 | 2.12 | 9.92 | 9.92 |
| #FFFFFF | 2.12 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.92 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.92 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C6B136
Deuteranopia (green-blind)
#C6B44C
Tritanopia (blue-blind)
#BDAEA1
Achromatopsia (no color)
#B2B2B2
Design tokens & code
CSS
--color: #b2b945; /* rgb */ color: rgb(178, 185, 69); /* oklch */ color: oklch(75.8% 0.138 112.5);
Tailwind
colors: {
custom: {
50: '#cccd7e',
500: '#b2b945',
950: '#000000',
},
}SCSS
$custom: #b2b945; $custom-light: #cccd7e; $custom-dark: #000000;
JSON
{
"hex": "#b2b945",
"rgb": {
"r": 178,
"g": 185,
"b": 69
},
"hsl": {
"h": 63.621,
"s": 45.669,
"l": 49.804
},
"oklch": {
"l": 0.75792,
"c": 0.13832,
"h": 112.5
},
"luminance": 0.44593
}Semantic roles & 50–950 ramp
primary
#B2B945
secondary
#9693C7
accent
#52D55A
background
#FCFCF7
surface
#F9F9EE
border
#D2D2C9
text
#14130A
muted
#82827C