#B9CA42#B9CA42

#B9CA42 is a light, vivid yellow. Relative luminance 0.529; OKLCH L 80.1% C 0.158 H 116.2°. Best body text is #000000 at 11.59:1 contrast (WCAG AA passes).

Color values

HEX#B9CA42
RGBrgb(185, 202, 66)
HSLhsl(68, 56%, 53%)
HSVhsv(68, 67%, 79%)
CMYKcmyk(8.4%, 0%, 67.3%, 20.8%)
CIE-LABlab(77.85, -23.33, 62.93)
CIE-LCHlch(77.85, 67.11, 110.34°)
OKLaboklab(80.1% -0.0697 0.1415)
OKLCHoklch(80.1% 0.158 116.2)
XYZxyz(42.1125, 52.9493, 13.1550)
Luminance0.5295 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9CA42 #5342CA
analogous
#CA9742 #B9CA42 #75CA42
triadic
#B9CA42 #42B9CA #CA42B9
tetradic
#B9CA42 #42CA97 #5342CA #CA4275
square
#B9CA42 #42CA97 #5342CA #CA4275
split-complementary
#B9CA42 #4275CA #9742CA
monochromatic
#677220 #93A22D #B9CA42 #CBD772 #DCE5A2

Accessibility & contrast

On white

1.81
#B9CA42 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.59
#B9CA42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B9CA42
11.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9CA42#FFFFFF#000000##000000
##B9CA421.001.8111.5911.59
#FFFFFF1.811.0021.0021.00
#00000011.5921.001.001.00
##00000011.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C02E
Deuteranopia (green-blind)
#D6C14C
Tritanopia (blue-blind)
#C4BFAF
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #b9ca42;
/* rgb */ color: rgb(185, 202, 66);
/* oklch */ color: oklch(80.1% 0.158 116.2);
Tailwind
colors: {
  custom: {
    50: '#d1da7e',
    500: '#b9ca42',
    950: '#000000',
  },
}
SCSS
$custom: #b9ca42;
$custom-light: #d1da7e;
$custom-dark: #000000;
JSON
{
  "hex": "#b9ca42",
  "rgb": {
    "r": 185,
    "g": 202,
    "b": 66
  },
  "hsl": {
    "h": 67.5,
    "s": 56.198,
    "l": 52.549
  },
  "oklch": {
    "l": 0.801,
    "c": 0.15771,
    "h": 116.2
  },
  "luminance": 0.52949
}

Semantic roles & 50–950 ramp

primary
#B9CA42
secondary
#3E357B
accent
#48DF5B
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14140A
muted
#83837D

Preview Lab

Preview with #B9CA42

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

Preview Lab → · Contrast checker → · Palette generator →

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