#B9D239#B9D239

#B9D239 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#B9D239
RGBrgb(185, 210, 57)
HSLhsl(70, 63%, 52%)
HSVhsv(70, 73%, 82%)
CMYKcmyk(11.9%, 0%, 72.9%, 17.6%)
CIE-LABlab(80.01, -27.66, 68.31)
CIE-LCHlch(80.01, 73.70, 112.04°)
OKLaboklab(81.82% -0.0825 0.1514)
OKLCHoklch(81.82% 0.172 118.6)
XYZxyz(43.7936, 56.7032, 12.5079)
Luminance0.5670 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9D239 #5239D2
analogous
#D29F39 #B9D239 #6CD239
triadic
#B9D239 #39B9D2 #D239B9
tetradic
#B9D239 #39D29F #5239D2 #D2396C
square
#B9D239 #39D29F #5239D2 #D2396C
split-complementary
#B9D239 #396CD2 #9F39D2
monochromatic
#67761B #93A826 #B9D239 #CBDD6B #DCE99D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B9D239#FFFFFF#000000##000000
##B9D2391.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)
#E0C61A
Deuteranopia (green-blind)
#DDC746
Tritanopia (blue-blind)
#C4C6B5
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #b9d239;
/* rgb */ color: rgb(185, 210, 57);
/* oklch */ color: oklch(81.8% 0.172 118.6);
Tailwind
colors: {
  custom: {
    50: '#d2df7a',
    500: '#b9d239',
    950: '#000000',
  },
}
SCSS
$custom: #b9d239;
$custom-light: #d2df7a;
$custom-dark: #000000;
JSON
{
  "hex": "#b9d239",
  "rgb": {
    "r": 185,
    "g": 210,
    "b": 57
  },
  "hsl": {
    "h": 69.804,
    "s": 62.963,
    "l": 52.353
  },
  "oklch": {
    "l": 0.81823,
    "c": 0.17241,
    "h": 118.6
  },
  "luminance": 0.56703
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B9D239

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

Preview Lab → · Contrast checker → · Palette generator →

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