#B2B830#B2B830
#B2B830 is a light, vivid yellow. Relative luminance 0.440; OKLCH L 75.4% C 0.151 H 112.1°. Best body text is #000000 at 9.79:1 contrast (WCAG AA passes).
Color values
| HEX | #B2B830 |
|---|---|
| RGB | rgb(178, 184, 48) |
| HSL | hsl(63, 59%, 45%) |
| HSV | hsv(63, 74%, 72%) |
| CMYK | cmyk(3.3%, 0%, 73.9%, 27.8%) |
| CIE-LAB | lab(72.20, -18.30, 63.73) |
| CIE-LCH | lch(72.20, 66.31, 106.02°) |
| OKLab | oklab(75.41% -0.0569 0.1404) |
| OKLCH | oklch(75.41% 0.152 112.1) |
| XYZ | xyz(36.0353, 43.9602, 9.3827) |
| Luminance | 0.4396 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard Green
#A8B504
ΔE00 2.57
Snot
#ACBB0D
ΔE00 2.59
Bile
#B5C306
ΔE00 3.87
Baby Puke Green
#B6C406
ΔE00 4.08
Puke Yellow
#C2BE0E
ΔE00 4.32
Pea
#A4BF20
ΔE00 4.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B2B830 #3630B8
analogous
#B87A30 #B2B830 #6EB830
triadic
#B2B830 #30B2B8 #B830B2
tetradic
#B2B830 #30B87A #3630B8 #B8306E
square
#B2B830 #30B87A #3630B8 #B8306E
split-complementary
#B2B830 #306EB8 #7A30B8
monochromatic
#545717 #838723 #B2B830 #CDD253 #DBDF84
Accessibility & contrast
On white
2.14
#B2B830 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.79
#B2B830 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B2B830
9.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B2B830 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B2B830 | 1.00 | 2.14 | 9.79 | 9.79 |
| #FFFFFF | 2.14 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.79 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.79 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C6AF13
Deuteranopia (green-blind)
#C7B33B
Tritanopia (blue-blind)
#BEAD9E
Achromatopsia (no color)
#B1B1B1
Design tokens & code
CSS
--color: #b2b830; /* rgb */ color: rgb(178, 184, 48); /* oklch */ color: oklch(75.4% 0.151 112.1);
Tailwind
colors: {
custom: {
50: '#cdcd73',
500: '#b2b830',
950: '#000000',
},
}SCSS
$custom: #b2b830; $custom-light: #cdcd73; $custom-dark: #000000;
JSON
{
"hex": "#b2b830",
"rgb": {
"r": 178,
"g": 184,
"b": 48
},
"hsl": {
"h": 62.647,
"s": 58.621,
"l": 45.49
},
"oklch": {
"l": 0.75408,
"c": 0.1515,
"h": 112.1
},
"luminance": 0.43959
}Semantic roles & 50–950 ramp
primary
#B2B830
secondary
#7F7CC8
accent
#46E24D
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141309
muted
#83827B