#B9CA2A#B9CA2A

#B9CA2A is a light, vivid yellow. Relative luminance 0.527; OKLCH L 80.0% C 0.171 H 115.9°. Best body text is #000000 at 11.54:1 contrast (WCAG AA passes).

Color values

HEX#B9CA2A
RGBrgb(185, 202, 42)
HSLhsl(66, 66%, 48%)
HSVhsv(66, 79%, 79%)
CMYKcmyk(8.4%, 0%, 79.2%, 20.8%)
CIE-LABlab(77.71, -24.46, 70.80)
CIE-LCHlch(77.71, 74.91, 109.06°)
OKLaboklab(79.95% -0.0749 0.1541)
OKLCHoklch(79.95% 0.171 115.9)
XYZxyz(41.5472, 52.7232, 10.1780)
Luminance0.5272 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9CA2A #3B2ACA
analogous
#CA8B2A #B9CA2A #69CA2A
triadic
#B9CA2A #2AB9CA #CA2AB9
tetradic
#B9CA2A #2ACA8B #3B2ACA #CA2A69
square
#B9CA2A #2ACA8B #3B2ACA #CA2A69
split-complementary
#B9CA2A #2A69CA #8B2ACA
monochromatic
#5C6515 #8B971F #B9CA2A #CDDC55 #DCE688

Accessibility & contrast

On white

1.82
#B9CA2A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.54
#B9CA2A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B9CA2A
11.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9CA2A#FFFFFF#000000##000000
##B9CA2A1.001.8211.5411.54
#FFFFFF1.821.0021.0021.00
#00000011.5421.001.001.00
##00000011.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9BF00
Deuteranopia (green-blind)
#D7C13A
Tritanopia (blue-blind)
#C5BEAD
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #b9ca2a;
/* rgb */ color: rgb(185, 202, 42);
/* oklch */ color: oklch(80.0% 0.171 115.9);
Tailwind
colors: {
  custom: {
    50: '#d2da72',
    500: '#b9ca2a',
    950: '#000000',
  },
}
SCSS
$custom: #b9ca2a;
$custom-light: #d2da72;
$custom-dark: #000000;
JSON
{
  "hex": "#b9ca2a",
  "rgb": {
    "r": 185,
    "g": 202,
    "b": 42
  },
  "hsl": {
    "h": 66.375,
    "s": 65.574,
    "l": 47.843
  },
  "oklch": {
    "l": 0.7995,
    "c": 0.17134,
    "h": 115.9
  },
  "luminance": 0.52723
}

Semantic roles & 50–950 ramp

primary
#B9CA2A
secondary
#31296F
accent
#3FE951
background
#FEFEFB
surface
#FBFBF1
border
#D4D4CB
text
#151409
muted
#84837D

Preview Lab

Preview with #B9CA2A

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

Preview Lab → · Contrast checker → · Palette generator →

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