#B2B229#B2B229
#B2B229 is a light, vivid yellow. Relative luminance 0.415; OKLCH L 74.0% C 0.149 H 109.6°. Best body text is #000000 at 9.29:1 contrast (WCAG AA passes).
Color values
| HEX | #B2B229 |
|---|---|
| RGB | rgb(178, 178, 41) |
| HSL | hsl(60, 63%, 43%) |
| HSV | hsv(60, 77%, 70%) |
| CMYK | cmyk(0%, 0%, 77%, 30.2%) |
| CIE-LAB | lab(70.50, -15.56, 64.43) |
| CIE-LCH | lch(70.50, 66.28, 103.58°) |
| OKLab | oklab(74.04% -0.0499 0.1406) |
| OKLCH | oklch(74.04% 0.149 109.6) |
| XYZ | xyz(34.6820, 41.4669, 8.2744) |
| Luminance | 0.4147 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard Green
#A8B504
ΔE00 3.21
Puke
#A5A502
ΔE00 3.93
Snot
#ACBB0D
ΔE00 3.98
Olive Yellow
#C2B709
ΔE00 4.16
Vomit
#A2A415
ΔE00 4.22
Puke Yellow
#C2BE0E
ΔE00 4.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B2B229 #2929B2
analogous
#B26D29 #B2B229 #6DB229
triadic
#B2B229 #29B2B2 #B229B2
tetradic
#B2B229 #29B26D #2929B2 #B2296D
square
#B2B229 #29B26D #2929B2 #B2296D
split-complementary
#B2B229 #296DB2 #6D29B2
monochromatic
#4F4F12 #80801E #B2B229 #D4D444 #DFDF76
Accessibility & contrast
On white
2.26
#B2B229 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.29
#B2B229 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B2B229
9.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B2B229 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B2B229 | 1.00 | 2.26 | 9.29 | 9.29 |
| #FFFFFF | 2.26 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.29 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.29 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C1AA01
Deuteranopia (green-blind)
#C2AE35
Tritanopia (blue-blind)
#BFA699
Achromatopsia (no color)
#ACACAC
Design tokens & code
CSS
--color: #b2b229; /* rgb */ color: rgb(178, 178, 41); /* oklch */ color: oklch(74.0% 0.149 109.6);
Tailwind
colors: {
custom: {
50: '#cdc86f',
500: '#b2b229',
950: '#000000',
},
}SCSS
$custom: #b2b229; $custom-light: #cdc86f; $custom-dark: #000000;
JSON
{
"hex": "#b2b229",
"rgb": {
"r": 178,
"g": 178,
"b": 41
},
"hsl": {
"h": 60,
"s": 62.557,
"l": 42.941
},
"oklch": {
"l": 0.74037,
"c": 0.1492,
"h": 109.6
},
"luminance": 0.41466
}Semantic roles & 50–950 ramp
primary
#B2B229
secondary
#7070C7
accent
#42E642
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141308
muted
#83827B