#B2B23D#B2B23D
#B2B23D is a light, vivid yellow. Relative luminance 0.416; OKLCH L 74.2% C 0.137 H 109.3°. Best body text is #000000 at 9.33:1 contrast (WCAG AA passes).
Color values
| HEX | #B2B23D |
|---|---|
| RGB | rgb(178, 178, 61) |
| HSL | hsl(60, 49%, 47%) |
| HSV | hsv(60, 66%, 70%) |
| CMYK | cmyk(0%, 0%, 65.7%, 30.2%) |
| CIE-LAB | lab(70.62, -14.58, 57.34) |
| CIE-LCH | lch(70.62, 59.17, 104.26°) |
| OKLab | oklab(74.17% -0.0453 0.1291) |
| OKLCH | oklch(74.17% 0.137 109.3) |
| XYZ | xyz(35.1240, 41.6437, 10.6018) |
| Luminance | 0.4164 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard Green
#A8B504
ΔE00 4.35
Vomit
#A2A415
ΔE00 4.73
Puke
#A5A502
ΔE00 4.83
Snot
#ACBB0D
ΔE00 4.94
Olive Yellow
#C2B709
ΔE00 5.48
Puke Green
#9AAE07
ΔE00 5.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B2B23D #3D3DB2
analogous
#B2783D #B2B23D #78B23D
triadic
#B2B23D #3DB2B2 #B23DB2
tetradic
#B2B23D #3DB278 #3D3DB2 #B23D78
square
#B2B23D #3DB278 #3D3DB2 #B23D78
split-complementary
#B2B23D #3D78B2 #783DB2
monochromatic
#57571E #84842D #B2B23D #C9C963 #D9D990
Accessibility & contrast
On white
2.25
#B2B23D on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.33
#B2B23D on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B2B23D
9.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B2B23D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B2B23D | 1.00 | 2.25 | 9.33 | 9.33 |
| #FFFFFF | 2.25 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.33 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.33 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C0AB2D
Deuteranopia (green-blind)
#C1AF45
Tritanopia (blue-blind)
#BEA79A
Achromatopsia (no color)
#ADADAD
Design tokens & code
CSS
--color: #b2b23d; /* rgb */ color: rgb(178, 178, 61); /* oklch */ color: oklch(74.2% 0.137 109.3);
Tailwind
colors: {
custom: {
50: '#ccc879',
500: '#b2b23d',
950: '#000000',
},
}SCSS
$custom: #b2b23d; $custom-light: #ccc879; $custom-dark: #000000;
JSON
{
"hex": "#b2b23d",
"rgb": {
"r": 178,
"g": 178,
"b": 61
},
"hsl": {
"h": 60,
"s": 48.954,
"l": 46.863
},
"oklch": {
"l": 0.74174,
"c": 0.13684,
"h": 109.3
},
"luminance": 0.41643
}Semantic roles & 50–950 ramp
primary
#B2B23D
secondary
#8787C4
accent
#4FD94F
background
#FCFCF7
surface
#F9F8EE
border
#D2D1C9
text
#141309
muted
#82827B