#B2B12E#B2B12E
#B2B12E is a light, vivid yellow. Relative luminance 0.411; OKLCH L 73.8% C 0.146 H 109.0°. Best body text is #000000 at 9.22:1 contrast (WCAG AA passes).
Color values
| HEX | #B2B12E |
|---|---|
| RGB | rgb(178, 177, 46) |
| HSL | hsl(60, 59%, 44%) |
| HSV | hsv(60, 74%, 70%) |
| CMYK | cmyk(0%, 0.6%, 74.2%, 30.2%) |
| CIE-LAB | lab(70.25, -14.84, 62.58) |
| CIE-LCH | lch(70.25, 64.31, 103.34°) |
| OKLab | oklab(73.85% -0.0475 0.1376) |
| OKLCH | oklch(73.85% 0.146 109) |
| XYZ | xyz(34.5767, 41.1076, 8.6974) |
| Luminance | 0.4111 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard Green
#A8B504
ΔE00 3.65
Puke
#A5A502
ΔE00 3.87
Vomit
#A2A415
ΔE00 4.08
Olive Yellow
#C2B709
ΔE00 4.39
Snot
#ACBB0D
ΔE00 4.44
Puke Yellow
#C2BE0E
ΔE00 4.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B2B12E #2E2FB2
analogous
#B26F2E #B2B12E #71B22E
triadic
#B2B12E #2EB2B1 #B12EB2
tetradic
#B2B12E #2EB26F #2E2FB2 #B22E71
square
#B2B12E #2EB26F #2E2FB2 #B22E71
split-complementary
#B2B12E #2E71B2 #6F2EB2
monochromatic
#515015 #818121 #B2B12E #D1D04C #DDDD7D
Accessibility & contrast
On white
2.28
#B2B12E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.22
#B2B12E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B2B12E
9.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B2B12E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B2B12E | 1.00 | 2.28 | 9.22 | 9.22 |
| #FFFFFF | 2.28 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.22 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.22 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C0AA12
Deuteranopia (green-blind)
#C1AE38
Tritanopia (blue-blind)
#BFA598
Achromatopsia (no color)
#ACACAC
Design tokens & code
CSS
--color: #b2b12e; /* rgb */ color: rgb(178, 177, 46); /* oklch */ color: oklch(73.8% 0.146 109.0);
Tailwind
colors: {
custom: {
50: '#cdc871',
500: '#b2b12e',
950: '#000000',
},
}SCSS
$custom: #b2b12e; $custom-light: #cdc871; $custom-dark: #000000;
JSON
{
"hex": "#b2b12e",
"rgb": {
"r": 178,
"g": 177,
"b": 46
},
"hsl": {
"h": 59.545,
"s": 58.929,
"l": 43.922
},
"oklch": {
"l": 0.73845,
"c": 0.14555,
"h": 109
},
"luminance": 0.41107
}Semantic roles & 50–950 ramp
primary
#B2B12E
secondary
#7676C6
accent
#47E246
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141308
muted
#83827B