#B9D02C#B9D02C

#B9D02C is a light, vivid yellow. Relative luminance 0.556; OKLCH L 81.3% C 0.177 H 117.8°. Best body text is #000000 at 12.12:1 contrast (WCAG AA passes).

Color values

HEX#B9D02C
RGBrgb(185, 208, 44)
HSLhsl(68, 65%, 49%)
HSVhsv(68, 79%, 82%)
CMYKcmyk(11.1%, 0%, 78.8%, 18.4%)
CIE-LABlab(79.39, -27.27, 71.74)
CIE-LCHlch(79.39, 76.75, 110.81°)
OKLaboklab(81.3% -0.0824 0.1565)
OKLCHoklch(81.3% 0.177 117.8)
XYZxyz(43.0192, 55.6083, 10.8496)
Luminance0.5561 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9D02C #432CD0
analogous
#D0952C #B9D02C #67D02C
triadic
#B9D02C #2CB9D0 #D02CB9
tetradic
#B9D02C #2CD095 #432CD0 #D02C67
square
#B9D02C #2CD095 #432CD0 #D02C67
split-complementary
#B9D02C #2C67D0 #952CD0
monochromatic
#5F6B17 #8C9D21 #B9D02C #CBDD5D #DBE78F

Accessibility & contrast

On white

1.73
#B9D02C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.12
#B9D02C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B9D02C
12.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9D02C#FFFFFF#000000##000000
##B9D02C1.001.7312.1212.12
#FFFFFF1.731.0021.0021.00
#00000012.1221.001.001.00
##00000012.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#DEC400
Deuteranopia (green-blind)
#DCC53C
Tritanopia (blue-blind)
#C5C4B2
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #b9d02c;
/* rgb */ color: rgb(185, 208, 44);
/* oklch */ color: oklch(81.3% 0.177 117.8);
Tailwind
colors: {
  custom: {
    50: '#d2de74',
    500: '#b9d02c',
    950: '#000000',
  },
}
SCSS
$custom: #b9d02c;
$custom-light: #d2de74;
$custom-dark: #000000;
JSON
{
  "hex": "#b9d02c",
  "rgb": {
    "r": 185,
    "g": 208,
    "b": 44
  },
  "hsl": {
    "h": 68.415,
    "s": 65.079,
    "l": 49.412
  },
  "oklch": {
    "l": 0.81302,
    "c": 0.17686,
    "h": 117.8
  },
  "luminance": 0.55608
}

Semantic roles & 50–950 ramp

primary
#B9D02C
secondary
#362C75
accent
#40E857
background
#FEFEFB
surface
#FBFCF1
border
#D4D5CB
text
#151509
muted
#84847D

Preview Lab

Preview with #B9D02C

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

Preview Lab → · Contrast checker → · Palette generator →

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