#B1B836#B1B836
#B1B836 is a light, vivid yellow. Relative luminance 0.439; OKLCH L 75.4% C 0.148 H 112.5°. Best body text is #000000 at 9.78:1 contrast (WCAG AA passes).
Color values
| HEX | #B1B836 |
|---|---|
| RGB | rgb(177, 184, 54) |
| HSL | hsl(63, 55%, 47%) |
| HSV | hsv(63, 71%, 72%) |
| CMYK | cmyk(3.8%, 0%, 70.7%, 27.8%) |
| CIE-LAB | lab(72.16, -18.43, 61.56) |
| CIE-LCH | lch(72.16, 64.26, 106.67°) |
| OKLab | oklab(75.37% -0.0567 0.1369) |
| OKLCH | oklch(75.37% 0.148 112.5) |
| XYZ | xyz(35.9389, 43.8953, 10.0688) |
| Luminance | 0.4389 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard Green
#A8B504
ΔE00 2.89
Snot
#ACBB0D
ΔE00 2.90
Bile
#B5C306
ΔE00 4.23
Pea
#A4BF20
ΔE00 4.38
Baby Puke Green
#B6C406
ΔE00 4.43
Sick Green
#9DB92C
ΔE00 4.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B1B836 #3D36B8
analogous
#B87E36 #B1B836 #70B836
triadic
#B1B836 #36B1B8 #B836B1
tetradic
#B1B836 #36B87E #3D36B8 #B83670
square
#B1B836 #36B87E #3D36B8 #B83670
split-complementary
#B1B836 #3670B8 #7E36B8
monochromatic
#56591A #838928 #B1B836 #C9CF5C #D9DD8B
Accessibility & contrast
On white
2.15
#B1B836 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.78
#B1B836 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B1B836
9.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B1B836 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B1B836 | 1.00 | 2.15 | 9.78 | 9.78 |
| #FFFFFF | 2.15 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.78 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.78 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C6AF1F
Deuteranopia (green-blind)
#C6B240
Tritanopia (blue-blind)
#BDAD9F
Achromatopsia (no color)
#B1B1B1
Design tokens & code
CSS
--color: #b1b836; /* rgb */ color: rgb(177, 184, 54); /* oklch */ color: oklch(75.4% 0.148 112.5);
Tailwind
colors: {
custom: {
50: '#cccd76',
500: '#b1b836',
950: '#000000',
},
}SCSS
$custom: #b1b836; $custom-light: #cccd76; $custom-dark: #000000;
JSON
{
"hex": "#b1b836",
"rgb": {
"r": 177,
"g": 184,
"b": 54
},
"hsl": {
"h": 63.231,
"s": 54.622,
"l": 46.667
},
"oklch": {
"l": 0.75365,
"c": 0.14816,
"h": 112.5
},
"luminance": 0.43894
}Semantic roles & 50–950 ramp
primary
#B1B836
secondary
#8682C7
accent
#4ADE52
background
#FCFCF7
surface
#F9F8ED
border
#D2D1C8
text
#141309
muted
#82827B