#B9D23C#B9D23C

#B9D23C is a light, vivid yellow-green. Relative luminance 0.567; OKLCH L 81.8% C 0.171 H 118.7°. Best body text is #000000 at 12.35:1 contrast (WCAG AA passes).

Color values

HEX#B9D23C
RGBrgb(185, 210, 60)
HSLhsl(70, 63%, 53%)
HSVhsv(70, 71%, 82%)
CMYKcmyk(11.9%, 0%, 71.4%, 17.6%)
CIE-LABlab(80.03, -27.51, 67.30)
CIE-LCHlch(80.03, 72.71, 112.23°)
OKLaboklab(81.84% -0.0818 0.1497)
OKLCHoklch(81.84% 0.171 118.7)
XYZxyz(43.8707, 56.7341, 12.9137)
Luminance0.5673 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9D23C #553CD2
analogous
#D2A03C #B9D23C #6ED23C
triadic
#B9D23C #3CB9D2 #D23CB9
tetradic
#B9D23C #3CD2A0 #553CD2 #D23C6E
square
#B9D23C #3CD2A0 #553CD2 #D23C6E
split-complementary
#B9D23C #3C6ED2 #A03CD2
monochromatic
#69781C #94AA27 #B9D23C #CBDD6E #DDE99F

Accessibility & contrast

On white

1.70
#B9D23C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.35
#B9D23C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B9D23C
12.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9D23C#FFFFFF#000000##000000
##B9D23C1.001.7012.3512.35
#FFFFFF1.701.0021.0021.00
#00000012.3521.001.001.00
##00000012.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0C620
Deuteranopia (green-blind)
#DDC749
Tritanopia (blue-blind)
#C4C7B5
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #b9d23c;
/* rgb */ color: rgb(185, 210, 60);
/* oklch */ color: oklch(81.8% 0.171 118.7);
Tailwind
colors: {
  custom: {
    50: '#d2df7c',
    500: '#b9d23c',
    950: '#000000',
  },
}
SCSS
$custom: #b9d23c;
$custom-light: #d2df7c;
$custom-dark: #000000;
JSON
{
  "hex": "#b9d23c",
  "rgb": {
    "r": 185,
    "g": 210,
    "b": 60
  },
  "hsl": {
    "h": 70,
    "s": 62.5,
    "l": 52.941
  },
  "oklch": {
    "l": 0.81843,
    "c": 0.17064,
    "h": 118.7
  },
  "luminance": 0.56734
}

Semantic roles & 50–950 ramp

primary
#B9D23C
secondary
#3F3280
accent
#42E65D
background
#FEFEFB
surface
#FBFCF2
border
#D4D5CC
text
#14150A
muted
#83847D

Preview Lab

Preview with #B9D23C

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

Preview Lab → · Contrast checker → · Palette generator →

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