#B2B730#B2B730
#B2B730 is a light, vivid yellow. Relative luminance 0.435; OKLCH L 75.2% C 0.150 H 111.7°. Best body text is #000000 at 9.71:1 contrast (WCAG AA passes).
Color values
| HEX | #B2B730 |
|---|---|
| RGB | rgb(178, 183, 48) |
| HSL | hsl(62, 58%, 45%) |
| HSV | hsv(62, 74%, 72%) |
| CMYK | cmyk(2.7%, 0%, 73.8%, 28.2%) |
| CIE-LAB | lab(71.92, -17.80, 63.47) |
| CIE-LCH | lch(71.92, 65.92, 105.66°) |
| OKLab | oklab(75.19% -0.0555 0.1398) |
| OKLCH | oklch(75.19% 0.15 111.7) |
| XYZ | xyz(35.8283, 43.5463, 9.3137) |
| Luminance | 0.4355 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard Green
#A8B504
ΔE00 2.64
Snot
#ACBB0D
ΔE00 2.82
Bile
#B5C306
ΔE00 4.13
Puke Yellow
#C2BE0E
ΔE00 4.32
Baby Puke Green
#B6C406
ΔE00 4.34
Puke Green
#9AAE07
ΔE00 4.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B2B730 #3530B7
analogous
#B77830 #B2B730 #6FB730
triadic
#B2B730 #30B2B7 #B730B2
tetradic
#B2B730 #30B778 #3530B7 #B7306F
square
#B2B730 #30B778 #3530B7 #B7306F
split-complementary
#B2B730 #306FB7 #7830B7
monochromatic
#545617 #838723 #B2B730 #CDD252 #DBDE83
Accessibility & contrast
On white
2.16
#B2B730 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.71
#B2B730 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B2B730
9.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B2B730 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B2B730 | 1.00 | 2.16 | 9.71 | 9.71 |
| #FFFFFF | 2.16 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.71 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.71 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C5AF13
Deuteranopia (green-blind)
#C6B23B
Tritanopia (blue-blind)
#BEAC9D
Achromatopsia (no color)
#B0B0B0
Design tokens & code
CSS
--color: #b2b730; /* rgb */ color: rgb(178, 183, 48); /* oklch */ color: oklch(75.2% 0.150 111.7);
Tailwind
colors: {
custom: {
50: '#cdcc73',
500: '#b2b730',
950: '#000000',
},
}SCSS
$custom: #b2b730; $custom-light: #cdcc73; $custom-dark: #000000;
JSON
{
"hex": "#b2b730",
"rgb": {
"r": 178,
"g": 183,
"b": 48
},
"hsl": {
"h": 62.222,
"s": 58.442,
"l": 45.294
},
"oklch": {
"l": 0.75186,
"c": 0.15047,
"h": 111.7
},
"luminance": 0.43545
}Semantic roles & 50–950 ramp
primary
#B2B730
secondary
#7E7BC8
accent
#46E24C
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141309
muted
#83827B