#B2BE2A#B2BE2A
#B2BE2A is a light, vivid yellow. Relative luminance 0.465; OKLCH L 76.7% C 0.161 H 114.4°. Best body text is #000000 at 10.29:1 contrast (WCAG AA passes).
Color values
| HEX | #B2BE2A |
|---|---|
| RGB | rgb(178, 190, 42) |
| HSL | hsl(65, 64%, 45%) |
| HSV | hsv(65, 78%, 75%) |
| CMYK | cmyk(6.3%, 0%, 77.9%, 25.5%) |
| CIE-LAB | lab(73.84, -21.54, 67.14) |
| CIE-LCH | lch(73.84, 70.51, 107.79°) |
| OKLab | oklab(76.71% -0.0664 0.1466) |
| OKLCH | oklch(76.71% 0.161 114.4) |
| XYZ | xyz(37.1926, 46.4598, 9.1984) |
| Luminance | 0.4646 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Snot
#ACBB0D
ΔE00 1.60
Bile
#B5C306
ΔE00 2.24
Baby Puke Green
#B6C406
ΔE00 2.44
Mustard Green
#A8B504
ΔE00 2.77
Pea
#A4BF20
ΔE00 3.11
Gross Green
#A0BF16
ΔE00 3.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B2BE2A #362ABE
analogous
#BE802A #B2BE2A #68BE2A
triadic
#B2BE2A #2AB2BE #BE2AB2
tetradic
#B2BE2A #2ABE80 #362ABE #BE2A68
square
#B2BE2A #2ABE80 #362ABE #BE2A68
split-complementary
#B2BE2A #2A68BE #802ABE
monochromatic
#545A14 #838C1F #B2BE2A #CDD84D #DBE380
Accessibility & contrast
On white
2.04
#B2BE2A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.29
#B2BE2A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B2BE2A
10.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B2BE2A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B2BE2A | 1.00 | 2.04 | 10.29 | 10.29 |
| #FFFFFF | 2.04 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.29 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.29 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#CCB400
Deuteranopia (green-blind)
#CCB738
Tritanopia (blue-blind)
#BEB2A3
Achromatopsia (no color)
#B5B5B5
Design tokens & code
CSS
--color: #b2be2a; /* rgb */ color: rgb(178, 190, 42); /* oklch */ color: oklch(76.7% 0.161 114.4);
Tailwind
colors: {
custom: {
50: '#cdd171',
500: '#b2be2a',
950: '#000000',
},
}SCSS
$custom: #b2be2a; $custom-light: #cdd171; $custom-dark: #000000;
JSON
{
"hex": "#b2be2a",
"rgb": {
"r": 178,
"g": 190,
"b": 42
},
"hsl": {
"h": 64.865,
"s": 63.793,
"l": 45.49
},
"oklch": {
"l": 0.76714,
"c": 0.16093,
"h": 114.4
},
"luminance": 0.46459
}Semantic roles & 50–950 ramp
primary
#B2BE2A
secondary
#7F78CB
accent
#41E74E
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#141408
muted
#83827B