#B4B427#B4B427
#B4B427 is a light, vivid yellow. Relative luminance 0.425; OKLCH L 74.6% C 0.152 H 109.6°. Best body text is #000000 at 9.50:1 contrast (WCAG AA passes).
Color values
| HEX | #B4B427 |
|---|---|
| RGB | rgb(180, 180, 39) |
| HSL | hsl(60, 64%, 43%) |
| HSV | hsv(60, 78%, 71%) |
| CMYK | cmyk(0%, 0%, 78.3%, 29.4%) |
| CIE-LAB | lab(71.21, -15.79, 65.73) |
| CIE-LCH | lch(71.21, 67.60, 103.50°) |
| OKLab | oklab(74.64% -0.0508 0.1429) |
| OKLCH | oklch(74.64% 0.152 109.6) |
| XYZ | xyz(35.5112, 42.4934, 8.2505) |
| Luminance | 0.4249 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard Green
#A8B504
ΔE00 3.12
Snot
#ACBB0D
ΔE00 3.68
Puke Yellow
#C2BE0E
ΔE00 3.73
Olive Yellow
#C2B709
ΔE00 3.75
Puke
#A5A502
ΔE00 4.41
Vomit Yellow
#C7C10C
ΔE00 4.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B4B427 #2727B4
analogous
#B46D27 #B4B427 #6DB427
triadic
#B4B427 #27B4B4 #B427B4
tetradic
#B4B427 #27B46D #2727B4 #B4276D
square
#B4B427 #27B46D #2727B4 #B4276D
split-complementary
#B4B427 #276DB4 #6D27B4
monochromatic
#4F4F11 #82821C #B4B427 #D6D642 #E1E174
Accessibility & contrast
On white
2.21
#B4B427 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.50
#B4B427 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B4B427
9.50:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B4B427 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B4B427 | 1.00 | 2.21 | 9.50 | 9.50 |
| #FFFFFF | 2.21 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.50 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.50 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C3AC00
Deuteranopia (green-blind)
#C5B034
Tritanopia (blue-blind)
#C1A89A
Achromatopsia (no color)
#AEAEAE
Design tokens & code
CSS
--color: #b4b427; /* rgb */ color: rgb(180, 180, 39); /* oklch */ color: oklch(74.6% 0.152 109.6);
Tailwind
colors: {
custom: {
50: '#ceca6e',
500: '#b4b427',
950: '#000000',
},
}SCSS
$custom: #b4b427; $custom-light: #ceca6e; $custom-dark: #000000;
JSON
{
"hex": "#b4b427",
"rgb": {
"r": 180,
"g": 180,
"b": 39
},
"hsl": {
"h": 60,
"s": 64.384,
"l": 42.941
},
"oklch": {
"l": 0.7464,
"c": 0.1517,
"h": 109.6
},
"luminance": 0.42492
}Semantic roles & 50–950 ramp
primary
#B4B427
secondary
#6F6FC8
accent
#40E740
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141308
muted
#83827B