#B2B13E#B2B13E
#B2B13E is a light, vivid yellow. Relative luminance 0.413; OKLCH L 74.0% C 0.135 H 108.8°. Best body text is #000000 at 9.25:1 contrast (WCAG AA passes).
Color values
| HEX | #B2B13E |
|---|---|
| RGB | rgb(178, 177, 62) |
| HSL | hsl(59, 48%, 47%) |
| HSV | hsv(59, 65%, 70%) |
| CMYK | cmyk(0%, 0.6%, 65.2%, 30.2%) |
| CIE-LAB | lab(70.36, -14.00, 56.66) |
| CIE-LCH | lch(70.36, 58.36, 103.88°) |
| OKLab | oklab(73.96% -0.0435 0.1278) |
| OKLCH | oklch(73.96% 0.135 108.8) |
| XYZ | xyz(34.9529, 41.2581, 10.6789) |
| Luminance | 0.4126 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 4.63
Mustard Green
#A8B504
ΔE00 4.65
Puke
#A5A502
ΔE00 4.76
Snot
#ACBB0D
ΔE00 5.30
Olive Yellow
#C2B709
ΔE00 5.56
Puke Green
#9AAE07
ΔE00 5.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B2B13E #3E3FB2
analogous
#B2773E #B2B13E #79B23E
triadic
#B2B13E #3EB2B1 #B13EB2
tetradic
#B2B13E #3EB277 #3E3FB2 #B23E79
square
#B2B13E #3EB277 #3E3FB2 #B23E79
split-complementary
#B2B13E #3E79B2 #773EB2
monochromatic
#57571E #85842E #B2B13E #C9C864 #D9D892
Accessibility & contrast
On white
2.27
#B2B13E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.25
#B2B13E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B2B13E
9.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B2B13E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B2B13E | 1.00 | 2.27 | 9.25 | 9.25 |
| #FFFFFF | 2.27 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.25 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.25 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BFAA2E
Deuteranopia (green-blind)
#C1AE45
Tritanopia (blue-blind)
#BEA699
Achromatopsia (no color)
#ACACAC
Design tokens & code
CSS
--color: #b2b13e; /* rgb */ color: rgb(178, 177, 62); /* oklch */ color: oklch(74.0% 0.135 108.8);
Tailwind
colors: {
custom: {
50: '#ccc879',
500: '#b2b13e',
950: '#000000',
},
}SCSS
$custom: #b2b13e; $custom-light: #ccc879; $custom-dark: #000000;
JSON
{
"hex": "#b2b13e",
"rgb": {
"r": 178,
"g": 177,
"b": 62
},
"hsl": {
"h": 59.483,
"s": 48.333,
"l": 47.059
},
"oklch": {
"l": 0.73963,
"c": 0.13505,
"h": 108.8
},
"luminance": 0.41257
}Semantic roles & 50–950 ramp
primary
#B2B13E
secondary
#8888C4
accent
#51D850
background
#FCFCF7
surface
#F9F8EE
border
#D2D1C9
text
#141309
muted
#82827B