#B9CA15#B9CA15

#B9CA15 is a light, vivid yellow. Relative luminance 0.526; OKLCH L 79.9% C 0.178 H 115.8°. Best body text is #000000 at 11.52:1 contrast (WCAG AA passes).

Color values

HEX#B9CA15
RGBrgb(185, 202, 21)
HSLhsl(66, 81%, 44%)
HSVhsv(66, 90%, 79%)
CMYKcmyk(8.4%, 0%, 89.6%, 20.8%)
CIE-LABlab(77.64, -25.04, 75.35)
CIE-LCHlch(77.64, 79.40, 108.38°)
OKLaboklab(79.88% -0.0776 0.1607)
OKLCHoklch(79.88% 0.179 115.8)
XYZxyz(41.2647, 52.6102, 8.6903)
Luminance0.5261 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9CA15 #2615CA
analogous
#CA8015 #B9CA15 #5FCA15
triadic
#B9CA15 #15B9CA #CA15B9
tetradic
#B9CA15 #15CA80 #2615CA #CA155F
square
#B9CA15 #15CA80 #2615CA #CA155F
split-complementary
#B9CA15 #155FCA #8015CA
monochromatic
#535B09 #86930F #B9CA15 #D9EA32 #E3EF6A

Accessibility & contrast

On white

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

On black

11.52
#B9CA15 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B9CA15
11.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9CA15#FFFFFF#000000##000000
##B9CA151.001.8211.5211.52
#FFFFFF1.821.0021.0021.00
#00000011.5221.001.001.00
##00000011.5221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b9ca15;
/* rgb */ color: rgb(185, 202, 21);
/* oklch */ color: oklch(79.9% 0.178 115.8);
Tailwind
colors: {
  custom: {
    50: '#d3da6c',
    500: '#b9ca15',
    950: '#000000',
  },
}
SCSS
$custom: #b9ca15;
$custom-light: #d3da6c;
$custom-dark: #000000;
JSON
{
  "hex": "#b9ca15",
  "rgb": {
    "r": 185,
    "g": 202,
    "b": 21
  },
  "hsl": {
    "h": 65.635,
    "s": 81.166,
    "l": 43.725
  },
  "oklch": {
    "l": 0.79875,
    "c": 0.1785,
    "h": 115.8
  },
  "luminance": 0.52609
}

Semantic roles & 50–950 ramp

primary
#B9CA15
secondary
#231C67
accent
#30F843
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#151408
muted
#84837D

Preview Lab

Preview with #B9CA15

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

Preview Lab → · Contrast checker → · Palette generator →

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