#B2B34E#B2B34E
#B2B34E is a light, vivid yellow. Relative luminance 0.423; OKLCH L 74.6% C 0.124 H 109.6°. Best body text is #000000 at 9.45:1 contrast (WCAG AA passes).
Color values
| HEX | #B2B34E |
|---|---|
| RGB | rgb(178, 179, 78) |
| HSL | hsl(61, 40%, 50%) |
| HSV | hsv(61, 56%, 70%) |
| CMYK | cmyk(0.6%, 0%, 56.4%, 29.8%) |
| CIE-LAB | lab(71.05, -13.92, 50.42) |
| CIE-LCH | lch(71.05, 52.30, 105.44°) |
| OKLab | oklab(74.56% -0.0416 0.1168) |
| OKLCH | oklch(74.56% 0.124 109.6) |
| XYZ | xyz(35.8563, 42.2561, 13.4737) |
| Luminance | 0.4225 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Darkkhaki
#BDB76B
ΔE00 4.53
Booger
#9BB53C
ΔE00 5.93
Mustard Green
#A8B504
ΔE00 5.95
Vomit
#A2A415
ΔE00 6.11
Khaki (survey)
#AAA662
ΔE00 6.14
Light Olive
#ACBF69
ΔE00 6.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B2B34E #4F4EB3
analogous
#B3814E #B2B34E #7FB34E
triadic
#B2B34E #4EB2B3 #B34EB2
tetradic
#B2B34E #4EB381 #4F4EB3 #B34E7F
square
#B2B34E #4EB381 #4F4EB3 #B34E7F
split-complementary
#B2B34E #4E7FB3 #814EB3
monochromatic
#5E5E28 #88893B #B2B34E #C5C579 #D7D8A4
Accessibility & contrast
On white
2.22
#B2B34E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.45
#B2B34E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B2B34E
9.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B2B34E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B2B34E | 1.00 | 2.22 | 9.45 | 9.45 |
| #FFFFFF | 2.22 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.45 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.45 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C0AC43
Deuteranopia (green-blind)
#C1B054
Tritanopia (blue-blind)
#BDA99D
Achromatopsia (no color)
#AEAEAE
Design tokens & code
CSS
--color: #b2b34e; /* rgb */ color: rgb(178, 179, 78); /* oklch */ color: oklch(74.6% 0.124 109.6);
Tailwind
colors: {
custom: {
50: '#cbc983',
500: '#b2b34e',
950: '#000000',
},
}SCSS
$custom: #b2b34e; $custom-light: #cbc983; $custom-dark: #000000;
JSON
{
"hex": "#b2b34e",
"rgb": {
"r": 178,
"g": 179,
"b": 78
},
"hsl": {
"h": 60.594,
"s": 39.921,
"l": 50.392
},
"oklch": {
"l": 0.74559,
"c": 0.12401,
"h": 109.6
},
"luminance": 0.42255
}Semantic roles & 50–950 ramp
primary
#B2B34E
secondary
#9898C5
accent
#58D059
background
#FCFCF8
surface
#F9F8EF
border
#D2D1CA
text
#14130B
muted
#82827C