#B9D42C#B9D42C

#B9D42C is a very light, vivid yellow. Relative luminance 0.576; OKLCH L 82.2% C 0.181 H 118.9°. Best body text is #000000 at 12.52:1 contrast (WCAG AA passes).

Color values

HEX#B9D42C
RGBrgb(185, 212, 44)
HSLhsl(70, 66%, 50%)
HSVhsv(70, 79%, 83%)
CMYKcmyk(12.7%, 0%, 79.2%, 16.9%)
CIE-LABlab(80.51, -29.17, 72.74)
CIE-LCHlch(80.51, 78.37, 111.85°)
OKLaboklab(82.2% -0.0876 0.1586)
OKLCHoklch(82.2% 0.181 118.9)
XYZxyz(44.0067, 57.5834, 11.1788)
Luminance0.5758 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9D42C #472CD4
analogous
#D49B2C #B9D42C #65D42C
triadic
#B9D42C #2CB9D4 #D42CB9
tetradic
#B9D42C #2CD49B #472CD4 #D42C65
square
#B9D42C #2CD49B #472CD4 #D42C65
split-complementary
#B9D42C #2C65D4 #9B2CD4
monochromatic
#616F17 #8DA221 #B9D42C #CADE5F #DBE992

Accessibility & contrast

On white

1.68
#B9D42C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.52
#B9D42C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B9D42C
12.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9D42C#FFFFFF#000000##000000
##B9D42C1.001.6812.5212.52
#FFFFFF1.681.0021.0021.00
#00000012.5221.001.001.00
##00000012.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2C800
Deuteranopia (green-blind)
#DFC83D
Tritanopia (blue-blind)
#C4C8B6
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #b9d42c;
/* rgb */ color: rgb(185, 212, 44);
/* oklch */ color: oklch(82.2% 0.181 118.9);
Tailwind
colors: {
  custom: {
    50: '#d2e174',
    500: '#b9d42c',
    950: '#000000',
  },
}
SCSS
$custom: #b9d42c;
$custom-light: #d2e174;
$custom-dark: #000000;
JSON
{
  "hex": "#b9d42c",
  "rgb": {
    "r": 185,
    "g": 212,
    "b": 44
  },
  "hsl": {
    "h": 69.643,
    "s": 66.142,
    "l": 50.196
  },
  "oklch": {
    "l": 0.82201,
    "c": 0.1812,
    "h": 118.9
  },
  "luminance": 0.57583
}

Semantic roles & 50–950 ramp

primary
#B9D42C
secondary
#382C78
accent
#3FE95A
background
#FEFEFB
surface
#FBFCF1
border
#D4D5CB
text
#151509
muted
#84847D

Preview Lab

Preview with #B9D42C

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

Preview Lab → · Contrast checker → · Palette generator →

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