#B2B640#B2B640
#B2B640 is a light, vivid yellow. Relative luminance 0.433; OKLCH L 75.1% C 0.139 H 111.2°. Best body text is #000000 at 9.66:1 contrast (WCAG AA passes).
Color values
| HEX | #B2B640 |
|---|---|
| RGB | rgb(178, 182, 64) |
| HSL | hsl(62, 48%, 48%) |
| HSV | hsv(62, 65%, 71%) |
| CMYK | cmyk(2.2%, 0%, 64.8%, 28.6%) |
| CIE-LAB | lab(71.75, -16.43, 57.29) |
| CIE-LCH | lch(71.75, 59.60, 106.00°) |
| OKLab | oklab(75.08% -0.0502 0.1295) |
| OKLCH | oklch(75.08% 0.139 111.2) |
| XYZ | xyz(36.0145, 43.2919, 11.3085) |
| Luminance | 0.4329 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard Green
#A8B504
ΔE00 3.99
Snot
#ACBB0D
ΔE00 4.21
Sick Green
#9DB92C
ΔE00 5.30
Booger
#9BB53C
ΔE00 5.32
Puke Green
#9AAE07
ΔE00 5.32
Pea
#A4BF20
ΔE00 5.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B2B640 #4440B6
analogous
#B67F40 #B2B640 #77B640
triadic
#B2B640 #40B2B6 #B640B2
tetradic
#B2B640 #40B67F #4440B6 #B64077
square
#B2B640 #40B67F #4440B6 #B64077
split-complementary
#B2B640 #4077B6 #7F40B6
monochromatic
#595B20 #868930 #B2B640 #C7CA69 #D8DA96
Accessibility & contrast
On white
2.17
#B2B640 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.66
#B2B640 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B2B640
9.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B2B640 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B2B640 | 1.00 | 2.17 | 9.66 | 9.66 |
| #FFFFFF | 2.17 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.66 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.66 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C4AE30
Deuteranopia (green-blind)
#C4B148
Tritanopia (blue-blind)
#BEAB9E
Achromatopsia (no color)
#B0B0B0
Design tokens & code
CSS
--color: #b2b640; /* rgb */ color: rgb(178, 182, 64); /* oklch */ color: oklch(75.1% 0.139 111.2);
Tailwind
colors: {
custom: {
50: '#cccb7b',
500: '#b2b640',
950: '#000000',
},
}SCSS
$custom: #b2b640; $custom-light: #cccb7b; $custom-dark: #000000;
JSON
{
"hex": "#b2b640",
"rgb": {
"r": 178,
"g": 182,
"b": 64
},
"hsl": {
"h": 62.034,
"s": 47.967,
"l": 48.235
},
"oklch": {
"l": 0.75083,
"c": 0.13886,
"h": 111.2
},
"luminance": 0.43291
}Semantic roles & 50–950 ramp
primary
#B2B640
secondary
#8E8CC6
accent
#50D855
background
#FCFCF7
surface
#F9F8EE
border
#D2D1C9
text
#14130A
muted
#82827C