#B2B738#B2B738
#B2B738 is a light, vivid yellow. Relative luminance 0.436; OKLCH L 75.2% C 0.146 H 111.6°. Best body text is #000000 at 9.72:1 contrast (WCAG AA passes).
Color values
| HEX | #B2B738 |
|---|---|
| RGB | rgb(178, 183, 56) |
| HSL | hsl(62, 53%, 47%) |
| HSV | hsv(62, 69%, 72%) |
| CMYK | cmyk(2.7%, 0%, 69.4%, 28.2%) |
| CIE-LAB | lab(71.97, -17.40, 60.66) |
| CIE-LCH | lch(71.97, 63.10, 106.01°) |
| OKLab | oklab(75.24% -0.0537 0.1353) |
| OKLCH | oklch(75.24% 0.146 111.6) |
| XYZ | xyz(36.0085, 43.6184, 10.2630) |
| Luminance | 0.4362 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard Green
#A8B504
ΔE00 3.19
Snot
#ACBB0D
ΔE00 3.33
Bile
#B5C306
ΔE00 4.61
Baby Puke Green
#B6C406
ΔE00 4.81
Puke Yellow
#C2BE0E
ΔE00 4.86
Pea
#A4BF20
ΔE00 4.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B2B738 #3D38B7
analogous
#B77D38 #B2B738 #73B738
triadic
#B2B738 #38B2B7 #B738B2
tetradic
#B2B738 #38B77D #3D38B7 #B73873
square
#B2B738 #38B77D #3D38B7 #B73873
split-complementary
#B2B738 #3873B7 #7D38B7
monochromatic
#57591B #84882A #B2B738 #C9CE5E #D9DC8D
Accessibility & contrast
On white
2.16
#B2B738 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.72
#B2B738 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B2B738
9.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B2B738 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B2B738 | 1.00 | 2.16 | 9.72 | 9.72 |
| #FFFFFF | 2.16 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.72 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.72 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C5AF23
Deuteranopia (green-blind)
#C6B241
Tritanopia (blue-blind)
#BEAC9E
Achromatopsia (no color)
#B0B0B0
Design tokens & code
CSS
--color: #b2b738; /* rgb */ color: rgb(178, 183, 56); /* oklch */ color: oklch(75.2% 0.146 111.6);
Tailwind
colors: {
custom: {
50: '#cccc77',
500: '#b2b738',
950: '#000000',
},
}SCSS
$custom: #b2b738; $custom-light: #cccc77; $custom-dark: #000000;
JSON
{
"hex": "#b2b738",
"rgb": {
"r": 178,
"g": 183,
"b": 56
},
"hsl": {
"h": 62.362,
"s": 53.138,
"l": 46.863
},
"oklch": {
"l": 0.7524,
"c": 0.14556,
"h": 111.6
},
"luminance": 0.43617
}Semantic roles & 50–950 ramp
primary
#B2B738
secondary
#8784C7
accent
#4BDD51
background
#FCFCF7
surface
#F9F8ED
border
#D2D1C8
text
#141309
muted
#82827B