#B4D23B#B4D23B

#B4D23B is a light, vivid yellow-green. Relative luminance 0.561; OKLCH L 81.5% C 0.173 H 120.3°. Best body text is #000000 at 12.22:1 contrast (WCAG AA passes).

Color values

HEX#B4D23B
RGBrgb(180, 210, 59)
HSLhsl(72, 63%, 53%)
HSVhsv(72, 72%, 82%)
CMYKcmyk(14.3%, 0%, 71.9%, 17.6%)
CIE-LABlab(79.68, -29.58, 67.19)
CIE-LCHlch(79.68, 73.42, 113.76°)
OKLaboklab(81.47% -0.0874 0.1495)
OKLCHoklch(81.47% 0.173 120.3)
XYZxyz(42.6592, 56.1124, 12.7203)
Luminance0.5611 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4D23B #593BD2
analogous
#D2A53B #B4D23B #68D23B
triadic
#B4D23B #3BB4D2 #D23BB4
tetradic
#B4D23B #3BD2A5 #593BD2 #D23B68
square
#B4D23B #3BD2A5 #593BD2 #D23B68
split-complementary
#B4D23B #3B68D2 #A53BD2
monochromatic
#65771B #8FA927 #B4D23B #C7DD6D #DAE99F

Accessibility & contrast

On white

1.72
#B4D23B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.22
#B4D23B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4D23B
12.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4D23B#FFFFFF#000000##000000
##B4D23B1.001.7212.2212.22
#FFFFFF1.721.0021.0021.00
#00000012.2221.001.001.00
##00000012.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFC61E
Deuteranopia (green-blind)
#DCC648
Tritanopia (blue-blind)
#BEC7B5
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #b4d23b;
/* rgb */ color: rgb(180, 210, 59);
/* oklch */ color: oklch(81.5% 0.173 120.3);
Tailwind
colors: {
  custom: {
    50: '#cedf7b',
    500: '#b4d23b',
    950: '#000000',
  },
}
SCSS
$custom: #b4d23b;
$custom-light: #cedf7b;
$custom-dark: #000000;
JSON
{
  "hex": "#b4d23b",
  "rgb": {
    "r": 180,
    "g": 210,
    "b": 59
  },
  "hsl": {
    "h": 71.921,
    "s": 62.656,
    "l": 52.745
  },
  "oklch": {
    "l": 0.8147,
    "c": 0.17314,
    "h": 120.3
  },
  "luminance": 0.56112
}

Semantic roles & 50–950 ramp

primary
#B4D23B
secondary
#41327F
accent
#42E663
background
#FEFEFB
surface
#FBFCF2
border
#D4D5CC
text
#14150A
muted
#83847D

Preview Lab

Preview with #B4D23B

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#B4D23B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva