#B2B23E#B2B23E
#B2B23E is a light, vivid yellow. Relative luminance 0.417; OKLCH L 74.2% C 0.136 H 109.3°. Best body text is #000000 at 9.33:1 contrast (WCAG AA passes).
Color values
| HEX | #B2B23E |
|---|---|
| RGB | rgb(178, 178, 62) |
| HSL | hsl(60, 48%, 47%) |
| HSV | hsv(60, 65%, 70%) |
| CMYK | cmyk(0%, 0%, 65.2%, 30.2%) |
| CIE-LAB | lab(70.63, -14.52, 56.94) |
| CIE-LCH | lch(70.63, 58.76, 104.30°) |
| OKLab | oklab(74.18% -0.045 0.1284) |
| OKLCH | oklch(74.18% 0.136 109.3) |
| XYZ | xyz(35.1511, 41.6546, 10.7450) |
| Luminance | 0.4165 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard Green
#A8B504
ΔE00 4.44
Vomit
#A2A415
ΔE00 4.78
Puke
#A5A502
ΔE00 4.90
Snot
#ACBB0D
ΔE00 5.02
Olive Yellow
#C2B709
ΔE00 5.57
Puke Green
#9AAE07
ΔE00 5.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B2B23E #3E3EB2
analogous
#B2783E #B2B23E #78B23E
triadic
#B2B23E #3EB2B2 #B23EB2
tetradic
#B2B23E #3EB278 #3E3EB2 #B23E78
square
#B2B23E #3EB278 #3E3EB2 #B23E78
split-complementary
#B2B23E #3E78B2 #783EB2
monochromatic
#57571E #85852E #B2B23E #C9C964 #D9D992
Accessibility & contrast
On white
2.25
#B2B23E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.33
#B2B23E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B2B23E
9.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B2B23E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B2B23E | 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)
#C0AB2E
Deuteranopia (green-blind)
#C1AF46
Tritanopia (blue-blind)
#BEA79A
Achromatopsia (no color)
#ADADAD
Design tokens & code
CSS
--color: #b2b23e; /* rgb */ color: rgb(178, 178, 62); /* oklch */ color: oklch(74.2% 0.136 109.3);
Tailwind
colors: {
custom: {
50: '#ccc879',
500: '#b2b23e',
950: '#000000',
},
}SCSS
$custom: #b2b23e; $custom-light: #ccc879; $custom-dark: #000000;
JSON
{
"hex": "#b2b23e",
"rgb": {
"r": 178,
"g": 178,
"b": 62
},
"hsl": {
"h": 60,
"s": 48.333,
"l": 47.059
},
"oklch": {
"l": 0.74183,
"c": 0.13609,
"h": 109.3
},
"luminance": 0.41654
}Semantic roles & 50–950 ramp
primary
#B2B23E
secondary
#8888C4
accent
#50D850
background
#FCFCF7
surface
#F9F8EE
border
#D2D1C9
text
#141309
muted
#82827B