#B4BE2A#B4BE2A
#B4BE2A is a light, vivid yellow. Relative luminance 0.467; OKLCH L 76.9% C 0.160 H 113.6°. Best body text is #000000 at 10.34:1 contrast (WCAG AA passes).
Color values
| HEX | #B4BE2A |
|---|---|
| RGB | rgb(180, 190, 42) |
| HSL | hsl(64, 64%, 45%) |
| HSV | hsv(64, 78%, 75%) |
| CMYK | cmyk(5.3%, 0%, 77.9%, 25.5%) |
| CIE-LAB | lab(74.00, -20.69, 67.34) |
| CIE-LCH | lch(74.00, 70.45, 107.08°) |
| OKLab | oklab(76.88% -0.0642 0.1469) |
| OKLCH | oklch(76.88% 0.16 113.6) |
| XYZ | xyz(37.6550, 46.6982, 9.2201) |
| Luminance | 0.4670 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Snot
#ACBB0D
ΔE00 1.78
Bile
#B5C306
ΔE00 2.19
Baby Puke Green
#B6C406
ΔE00 2.37
Mustard Green
#A8B504
ΔE00 2.87
Pea
#A4BF20
ΔE00 3.58
Puke Yellow
#C2BE0E
ΔE00 4.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B4BE2A #342ABE
analogous
#BE7E2A #B4BE2A #6ABE2A
triadic
#B4BE2A #2AB4BE #BE2AB4
tetradic
#B4BE2A #2ABE7E #342ABE #BE2A6A
square
#B4BE2A #2ABE7E #342ABE #BE2A6A
split-complementary
#B4BE2A #2A6ABE #7E2ABE
monochromatic
#555A14 #858C1F #B4BE2A #CED84D #DCE380
Accessibility & contrast
On white
2.03
#B4BE2A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.34
#B4BE2A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B4BE2A
10.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B4BE2A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B4BE2A | 1.00 | 2.03 | 10.34 | 10.34 |
| #FFFFFF | 2.03 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.34 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.34 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#CCB500
Deuteranopia (green-blind)
#CCB738
Tritanopia (blue-blind)
#C0B2A3
Achromatopsia (no color)
#B6B6B6
Design tokens & code
CSS
--color: #b4be2a; /* rgb */ color: rgb(180, 190, 42); /* oklch */ color: oklch(76.9% 0.160 113.6);
Tailwind
colors: {
custom: {
50: '#ced171',
500: '#b4be2a',
950: '#000000',
},
}SCSS
$custom: #b4be2a; $custom-light: #ced171; $custom-dark: #000000;
JSON
{
"hex": "#b4be2a",
"rgb": {
"r": 180,
"g": 190,
"b": 42
},
"hsl": {
"h": 64.054,
"s": 63.793,
"l": 45.49
},
"oklch": {
"l": 0.76875,
"c": 0.16032,
"h": 113.6
},
"luminance": 0.46697
}Semantic roles & 50–950 ramp
primary
#B4BE2A
secondary
#7E78CB
accent
#41E74C
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#141408
muted
#83827B