#B2B347#B2B347
#B2B347 is a light, vivid yellow. Relative luminance 0.422; OKLCH L 74.5% C 0.130 H 109.7°. Best body text is #000000 at 9.43:1 contrast (WCAG AA passes).
Color values
| HEX | #B2B347 |
|---|---|
| RGB | rgb(178, 179, 71) |
| HSL | hsl(61, 43%, 49%) |
| HSV | hsv(61, 60%, 70%) |
| CMYK | cmyk(0.6%, 0%, 60.3%, 29.8%) |
| CIE-LAB | lab(70.98, -14.44, 53.49) |
| CIE-LCH | lch(70.98, 55.41, 105.11°) |
| OKLab | oklab(74.49% -0.0438 0.1225) |
| OKLCH | oklch(74.49% 0.13 109.7) |
| XYZ | xyz(35.6186, 42.1610, 12.2216) |
| Luminance | 0.4216 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard Green
#A8B504
ΔE00 5.13
Darkkhaki
#BDB76B
ΔE00 5.30
Vomit
#A2A415
ΔE00 5.51
Snot
#ACBB0D
ΔE00 5.56
Puke
#A5A502
ΔE00 5.79
Booger
#9BB53C
ΔE00 5.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B2B347 #4847B3
analogous
#B37E47 #B2B347 #7CB347
triadic
#B2B347 #47B2B3 #B347B2
tetradic
#B2B347 #47B37E #4847B3 #B3477C
square
#B2B347 #47B37E #4847B3 #B3477C
split-complementary
#B2B347 #477CB3 #7E47B3
monochromatic
#5B5B24 #868736 #B2B347 #C6C771 #D7D89C
Accessibility & contrast
On white
2.23
#B2B347 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.43
#B2B347 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B2B347
9.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B2B347 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B2B347 | 1.00 | 2.23 | 9.43 | 9.43 |
| #FFFFFF | 2.23 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.43 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.43 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C0AC3A
Deuteranopia (green-blind)
#C2AF4D
Tritanopia (blue-blind)
#BEA89C
Achromatopsia (no color)
#AEAEAE
Design tokens & code
CSS
--color: #b2b347; /* rgb */ color: rgb(178, 179, 71); /* oklch */ color: oklch(74.5% 0.130 109.7);
Tailwind
colors: {
custom: {
50: '#ccc97f',
500: '#b2b347',
950: '#000000',
},
}SCSS
$custom: #b2b347; $custom-light: #ccc97f; $custom-dark: #000000;
JSON
{
"hex": "#b2b347",
"rgb": {
"r": 178,
"g": 179,
"b": 71
},
"hsl": {
"h": 60.556,
"s": 43.2,
"l": 49.02
},
"oklch": {
"l": 0.74486,
"c": 0.13008,
"h": 109.7
},
"luminance": 0.4216
}Semantic roles & 50–950 ramp
primary
#B2B347
secondary
#9291C4
accent
#55D356
background
#FCFCF7
surface
#F9F8EE
border
#D2D1C9
text
#14130A
muted
#82827C