#B9D02A#B9D02A

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

Color values

HEX#B9D02A
RGBrgb(185, 208, 42)
HSLhsl(68, 66%, 49%)
HSVhsv(68, 80%, 82%)
CMYKcmyk(11.1%, 0%, 79.8%, 18.4%)
CIE-LABlab(79.38, -27.34, 72.28)
CIE-LCHlch(79.38, 77.28, 110.72°)
OKLaboklab(81.29% -0.0828 0.1573)
OKLCHoklch(81.29% 0.178 117.8)
XYZxyz(42.9825, 55.5937, 10.6564)
Luminance0.5559 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9D02A #412AD0
analogous
#D0942A #B9D02A #66D02A
triadic
#B9D02A #2AB9D0 #D02AB9
tetradic
#B9D02A #2AD094 #412AD0 #D02A66
square
#B9D02A #2AD094 #412AD0 #D02A66
split-complementary
#B9D02A #2A66D0 #942AD0
monochromatic
#5E6A15 #8C9D20 #B9D02A #CBDE5A #DBE88D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B9D02A#FFFFFF#000000##000000
##B9D02A1.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)
#DCC53B
Tritanopia (blue-blind)
#C5C4B2
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #b9d02a;
/* rgb */ color: rgb(185, 208, 42);
/* oklch */ color: oklch(81.3% 0.178 117.8);
Tailwind
colors: {
  custom: {
    50: '#d2de73',
    500: '#b9d02a',
    950: '#000000',
  },
}
SCSS
$custom: #b9d02a;
$custom-light: #d2de73;
$custom-dark: #000000;
JSON
{
  "hex": "#b9d02a",
  "rgb": {
    "r": 185,
    "g": 208,
    "b": 42
  },
  "hsl": {
    "h": 68.313,
    "s": 66.4,
    "l": 49.02
  },
  "oklch": {
    "l": 0.81293,
    "c": 0.17774,
    "h": 117.8
  },
  "luminance": 0.55593
}

Semantic roles & 50–950 ramp

primary
#B9D02A
secondary
#352A74
accent
#3EE956
background
#FEFEFB
surface
#FBFCF1
border
#D4D5CB
text
#151509
muted
#84847D

Preview Lab

Preview with #B9D02A

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

Preview Lab → · Contrast checker → · Palette generator →

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