#B2B838#B2B838
#B2B838 is a light, vivid yellow. Relative luminance 0.440; OKLCH L 75.5% C 0.147 H 112.1°. Best body text is #000000 at 9.81:1 contrast (WCAG AA passes).
Color values
| HEX | #B2B838 |
|---|---|
| RGB | rgb(178, 184, 56) |
| HSL | hsl(63, 53%, 47%) |
| HSV | hsv(63, 70%, 72%) |
| CMYK | cmyk(3.3%, 0%, 69.6%, 27.8%) |
| CIE-LAB | lab(72.25, -17.90, 60.93) |
| CIE-LCH | lch(72.25, 63.51, 106.38°) |
| OKLab | oklab(75.46% -0.0551 0.1359) |
| OKLCH | oklch(75.46% 0.147 112.1) |
| XYZ | xyz(36.2155, 44.0323, 10.3320) |
| Luminance | 0.4403 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard Green
#A8B504
ΔE00 3.12
Snot
#ACBB0D
ΔE00 3.13
Bile
#B5C306
ΔE00 4.37
Baby Puke Green
#B6C406
ΔE00 4.57
Pea
#A4BF20
ΔE00 4.63
Sick Green
#9DB92C
ΔE00 4.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B2B838 #3E38B8
analogous
#B87E38 #B2B838 #72B838
triadic
#B2B838 #38B2B8 #B838B2
tetradic
#B2B838 #38B87E #3E38B8 #B83872
square
#B2B838 #38B87E #3E38B8 #B83872
split-complementary
#B2B838 #3872B8 #7E38B8
monochromatic
#575A1B #85892A #B2B838 #C9CE5F #D9DD8E
Accessibility & contrast
On white
2.14
#B2B838 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.81
#B2B838 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B2B838
9.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B2B838 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B2B838 | 1.00 | 2.14 | 9.81 | 9.81 |
| #FFFFFF | 2.14 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.81 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.81 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C6B023
Deuteranopia (green-blind)
#C6B341
Tritanopia (blue-blind)
#BEAD9F
Achromatopsia (no color)
#B1B1B1
Design tokens & code
CSS
--color: #b2b838; /* rgb */ color: rgb(178, 184, 56); /* oklch */ color: oklch(75.5% 0.147 112.1);
Tailwind
colors: {
custom: {
50: '#cccd77',
500: '#b2b838',
950: '#000000',
},
}SCSS
$custom: #b2b838; $custom-light: #cccd77; $custom-dark: #000000;
JSON
{
"hex": "#b2b838",
"rgb": {
"r": 178,
"g": 184,
"b": 56
},
"hsl": {
"h": 62.813,
"s": 53.333,
"l": 47.059
},
"oklch": {
"l": 0.75462,
"c": 0.14662,
"h": 112.1
},
"luminance": 0.44031
}Semantic roles & 50–950 ramp
primary
#B2B838
secondary
#8885C7
accent
#4BDD52
background
#FCFCF7
surface
#F9F8EE
border
#D2D1C9
text
#141309
muted
#82827B