#B9CA40#B9CA40

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

Color values

HEX#B9CA40
RGBrgb(185, 202, 64)
HSLhsl(67, 57%, 52%)
HSVhsv(67, 68%, 79%)
CMYKcmyk(8.4%, 0%, 68.3%, 20.8%)
CIE-LABlab(77.83, -23.44, 63.68)
CIE-LCHlch(77.83, 67.85, 110.21°)
OKLaboklab(80.08% -0.0702 0.1427)
OKLCHoklch(80.08% 0.159 116.2)
XYZxyz(42.0545, 52.9261, 12.8498)
Luminance0.5293 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9CA40 #5140CA
analogous
#CA9640 #B9CA40 #74CA40
triadic
#B9CA40 #40B9CA #CA40B9
tetradic
#B9CA40 #40CA96 #5140CA #CA4074
square
#B9CA40 #40CA96 #5140CA #CA4074
split-complementary
#B9CA40 #4074CA #9640CA
monochromatic
#66701F #92A02C #B9CA40 #CBD770 #DCE5A0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B9CA40#FFFFFF#000000##000000
##B9CA401.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)
#D8C02A
Deuteranopia (green-blind)
#D6C14A
Tritanopia (blue-blind)
#C4BFAF
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #b9ca40;
/* rgb */ color: rgb(185, 202, 64);
/* oklch */ color: oklch(80.1% 0.159 116.2);
Tailwind
colors: {
  custom: {
    50: '#d1da7d',
    500: '#b9ca40',
    950: '#000000',
  },
}
SCSS
$custom: #b9ca40;
$custom-light: #d1da7d;
$custom-dark: #000000;
JSON
{
  "hex": "#b9ca40",
  "rgb": {
    "r": 185,
    "g": 202,
    "b": 64
  },
  "hsl": {
    "h": 67.391,
    "s": 56.557,
    "l": 52.157
  },
  "oklch": {
    "l": 0.80084,
    "c": 0.15907,
    "h": 116.2
  },
  "luminance": 0.52926
}

Semantic roles & 50–950 ramp

primary
#B9CA40
secondary
#3D357A
accent
#48E05B
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14140A
muted
#83837D

Preview Lab

Preview with #B9CA40

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

Preview Lab → · Contrast checker → · Palette generator →

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