#B9D23A#B9D23A

#B9D23A is a light, vivid yellow. Relative luminance 0.567; OKLCH L 81.8% C 0.172 H 118.6°. Best body text is #000000 at 12.34:1 contrast (WCAG AA passes).

Color values

HEX#B9D23A
RGBrgb(185, 210, 58)
HSLhsl(70, 63%, 53%)
HSVhsv(70, 72%, 82%)
CMYKcmyk(11.9%, 0%, 72.4%, 17.6%)
CIE-LABlab(80.02, -27.61, 67.98)
CIE-LCHlch(80.02, 73.38, 112.11°)
OKLaboklab(81.83% -0.0823 0.1509)
OKLCHoklch(81.83% 0.172 118.6)
XYZxyz(43.8188, 56.7133, 12.6405)
Luminance0.5671 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9D23A #533AD2
analogous
#D29F3A #B9D23A #6DD23A
triadic
#B9D23A #3AB9D2 #D23AB9
tetradic
#B9D23A #3AD29F #533AD2 #D23A6D
square
#B9D23A #3AD29F #533AD2 #D23A6D
split-complementary
#B9D23A #3A6DD2 #9F3AD2
monochromatic
#67771B #93A826 #B9D23A #CBDD6C #DCE99E

Accessibility & contrast

On white

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

On black

12.34
#B9D23A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B9D23A
12.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9D23A#FFFFFF#000000##000000
##B9D23A1.001.7012.3412.34
#FFFFFF1.701.0021.0021.00
#00000012.3421.001.001.00
##00000012.3421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b9d23a;
/* rgb */ color: rgb(185, 210, 58);
/* oklch */ color: oklch(81.8% 0.172 118.6);
Tailwind
colors: {
  custom: {
    50: '#d2df7b',
    500: '#b9d23a',
    950: '#000000',
  },
}
SCSS
$custom: #b9d23a;
$custom-light: #d2df7b;
$custom-dark: #000000;
JSON
{
  "hex": "#b9d23a",
  "rgb": {
    "r": 185,
    "g": 210,
    "b": 58
  },
  "hsl": {
    "h": 69.868,
    "s": 62.81,
    "l": 52.549
  },
  "oklch": {
    "l": 0.8183,
    "c": 0.17184,
    "h": 118.6
  },
  "luminance": 0.56713
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B9D23A

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

Preview Lab → · Contrast checker → · Palette generator →

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