#B4BD38#B4BD38
#B4BD38 is a light, vivid yellow. Relative luminance 0.464; OKLCH L 76.7% C 0.151 H 113.3°. Best body text is #000000 at 10.28:1 contrast (WCAG AA passes).
Color values
| HEX | #B4BD38 |
|---|---|
| RGB | rgb(180, 189, 56) |
| HSL | hsl(64, 54%, 48%) |
| HSV | hsv(64, 70%, 74%) |
| CMYK | cmyk(4.8%, 0%, 70.4%, 25.9%) |
| CIE-LAB | lab(73.79, -19.56, 62.51) |
| CIE-LCH | lch(73.79, 65.50, 107.38°) |
| OKLab | oklab(76.74% -0.0598 0.1391) |
| OKLCH | oklch(76.74% 0.151 113.3) |
| XYZ | xyz(37.7349, 46.3848, 10.7060) |
| Luminance | 0.4638 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Snot
#ACBB0D
ΔE00 2.67
Bile
#B5C306
ΔE00 3.36
Mustard Green
#A8B504
ΔE00 3.37
Baby Puke Green
#B6C406
ΔE00 3.51
Pea
#A4BF20
ΔE00 3.83
Sick Green
#9DB92C
ΔE00 4.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B4BD38 #4138BD
analogous
#BD8338 #B4BD38 #71BD38
triadic
#B4BD38 #38B4BD #BD38B4
tetradic
#B4BD38 #38BD83 #4138BD #BD3871
square
#B4BD38 #38BD83 #4138BD #BD3871
split-complementary
#B4BD38 #3871BD #8338BD
monochromatic
#5A5F1C #878E2A #B4BD38 #C9D062 #D9DE91
Accessibility & contrast
On white
2.04
#B4BD38 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.28
#B4BD38 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B4BD38
10.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B4BD38 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B4BD38 | 1.00 | 2.04 | 10.28 | 10.28 |
| #FFFFFF | 2.04 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.28 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.28 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#CBB421
Deuteranopia (green-blind)
#CBB742
Tritanopia (blue-blind)
#C0B2A3
Achromatopsia (no color)
#B5B5B5
Design tokens & code
CSS
--color: #b4bd38; /* rgb */ color: rgb(180, 189, 56); /* oklch */ color: oklch(76.7% 0.151 113.3);
Tailwind
colors: {
custom: {
50: '#ced077',
500: '#b4bd38',
950: '#000000',
},
}SCSS
$custom: #b4bd38; $custom-light: #ced077; $custom-dark: #000000;
JSON
{
"hex": "#b4bd38",
"rgb": {
"r": 180,
"g": 189,
"b": 56
},
"hsl": {
"h": 64.06,
"s": 54.286,
"l": 48.039
},
"oklch": {
"l": 0.76737,
"c": 0.15146,
"h": 113.3
},
"luminance": 0.46384
}Semantic roles & 50–950 ramp
primary
#B4BD38
secondary
#8C87C9
accent
#4ADE54
background
#FDFCF7
surface
#FAF9EE
border
#D3D2C9
text
#141409
muted
#83827B