#B9CB39#B9CB39

#B9CB39 is a light, vivid yellow. Relative luminance 0.533; OKLCH L 80.3% C 0.165 H 116.4°. Best body text is #000000 at 11.66:1 contrast (WCAG AA passes).

Color values

HEX#B9CB39
RGBrgb(185, 203, 57)
HSLhsl(67, 58%, 51%)
HSVhsv(67, 72%, 80%)
CMYKcmyk(8.9%, 0%, 71.9%, 20.4%)
CIE-LABlab(78.06, -24.30, 66.44)
CIE-LCHlch(78.06, 70.75, 110.09°)
OKLaboklab(80.26% -0.0732 0.1474)
OKLCHoklch(80.26% 0.165 116.4)
XYZxyz(42.1031, 53.3221, 11.9443)
Luminance0.5332 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9CB39 #4B39CB
analogous
#CB9439 #B9CB39 #70CB39
triadic
#B9CB39 #39B9CB #CB39B9
tetradic
#B9CB39 #39CB94 #4B39CB #CB3970
square
#B9CB39 #39CB94 #4B39CB #CB3970
split-complementary
#B9CB39 #3970CB #9439CB
monochromatic
#636D1D #8F9D29 #B9CB39 #CAD869 #DBE49A

Accessibility & contrast

On white

1.80
#B9CB39 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.66
#B9CB39 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B9CB39
11.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9CB39#FFFFFF#000000##000000
##B9CB391.001.8011.6611.66
#FFFFFF1.801.0021.0021.00
#00000011.6621.001.001.00
##00000011.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C01D
Deuteranopia (green-blind)
#D7C245
Tritanopia (blue-blind)
#C5BFAF
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #b9cb39;
/* rgb */ color: rgb(185, 203, 57);
/* oklch */ color: oklch(80.3% 0.165 116.4);
Tailwind
colors: {
  custom: {
    50: '#d2da79',
    500: '#b9cb39',
    950: '#000000',
  },
}
SCSS
$custom: #b9cb39;
$custom-light: #d2da79;
$custom-dark: #000000;
JSON
{
  "hex": "#b9cb39",
  "rgb": {
    "r": 185,
    "g": 203,
    "b": 57
  },
  "hsl": {
    "h": 67.397,
    "s": 58.4,
    "l": 50.98
  },
  "oklch": {
    "l": 0.80258,
    "c": 0.16461,
    "h": 116.4
  },
  "luminance": 0.53322
}

Semantic roles & 50–950 ramp

primary
#B9CB39
secondary
#3A3276
accent
#46E259
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14140A
muted
#83837D

Preview Lab

Preview with #B9CB39

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

Preview Lab → · Contrast checker → · Palette generator →

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