#B9D23B#B9D23B

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

Color values

HEX#B9D23B
RGBrgb(185, 210, 59)
HSLhsl(70, 63%, 53%)
HSVhsv(70, 72%, 82%)
CMYKcmyk(11.9%, 0%, 71.9%, 17.6%)
CIE-LABlab(80.02, -27.56, 67.65)
CIE-LCHlch(80.02, 73.05, 112.17°)
OKLaboklab(81.84% -0.0821 0.1503)
OKLCHoklch(81.84% 0.171 118.6)
XYZxyz(43.8445, 56.7236, 12.7758)
Luminance0.5672 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9D23B #543BD2
analogous
#D2A03B #B9D23B #6DD23B
triadic
#B9D23B #3BB9D2 #D23BB9
tetradic
#B9D23B #3BD2A0 #543BD2 #D23B6D
square
#B9D23B #3BD2A0 #543BD2 #D23B6D
split-complementary
#B9D23B #3B6DD2 #A03BD2
monochromatic
#68771B #93A927 #B9D23B #CBDD6D #DDE99F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B9D23B#FFFFFF#000000##000000
##B9D23B1.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)
#E0C61E
Deuteranopia (green-blind)
#DDC748
Tritanopia (blue-blind)
#C4C7B5
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #b9d23b;
/* rgb */ color: rgb(185, 210, 59);
/* oklch */ color: oklch(81.8% 0.171 118.6);
Tailwind
colors: {
  custom: {
    50: '#d2df7b',
    500: '#b9d23b',
    950: '#000000',
  },
}
SCSS
$custom: #b9d23b;
$custom-light: #d2df7b;
$custom-dark: #000000;
JSON
{
  "hex": "#b9d23b",
  "rgb": {
    "r": 185,
    "g": 210,
    "b": 59
  },
  "hsl": {
    "h": 69.934,
    "s": 62.656,
    "l": 52.745
  },
  "oklch": {
    "l": 0.81836,
    "c": 0.17124,
    "h": 118.6
  },
  "luminance": 0.56723
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B9D23B

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

Preview Lab → · Contrast checker → · Palette generator →

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