#B9CB40#B9CB40

#B9CB40 is a light, vivid yellow. Relative luminance 0.534; OKLCH L 80.3% C 0.160 H 116.5°. Best body text is #000000 at 11.68:1 contrast (WCAG AA passes).

Color values

HEX#B9CB40
RGBrgb(185, 203, 64)
HSLhsl(68, 57%, 52%)
HSVhsv(68, 68%, 80%)
CMYKcmyk(8.9%, 0%, 68.5%, 20.4%)
CIE-LABlab(78.11, -23.93, 63.96)
CIE-LCHlch(78.11, 68.29, 110.51°)
OKLaboklab(80.31% -0.0715 0.1433)
OKLCHoklch(80.31% 0.16 116.5)
XYZxyz(42.2899, 53.3969, 12.9283)
Luminance0.5340 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9CB40 #5240CB
analogous
#CB9840 #B9CB40 #73CB40
triadic
#B9CB40 #40B9CB #CB40B9
tetradic
#B9CB40 #40CB98 #5240CB #CB4073
square
#B9CB40 #40CB98 #5240CB #CB4073
split-complementary
#B9CB40 #4073CB #9840CB
monochromatic
#67721F #93A22C #B9CB40 #CBD870 #DCE5A0

Accessibility & contrast

On white

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

On black

11.68
#B9CB40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B9CB40
11.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9CB40#FFFFFF#000000##000000
##B9CB401.001.8011.6811.68
#FFFFFF1.801.0021.0021.00
#00000011.6821.001.001.00
##00000011.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C12A
Deuteranopia (green-blind)
#D7C24B
Tritanopia (blue-blind)
#C4C0AF
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #b9cb40;
/* rgb */ color: rgb(185, 203, 64);
/* oklch */ color: oklch(80.3% 0.160 116.5);
Tailwind
colors: {
  custom: {
    50: '#d1da7d',
    500: '#b9cb40',
    950: '#000000',
  },
}
SCSS
$custom: #b9cb40;
$custom-light: #d1da7d;
$custom-dark: #000000;
JSON
{
  "hex": "#b9cb40",
  "rgb": {
    "r": 185,
    "g": 203,
    "b": 64
  },
  "hsl": {
    "h": 67.77,
    "s": 57.202,
    "l": 52.353
  },
  "oklch": {
    "l": 0.80307,
    "c": 0.1602,
    "h": 116.5
  },
  "luminance": 0.53396
}

Semantic roles & 50–950 ramp

primary
#B9CB40
secondary
#3E357B
accent
#47E05B
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14140A
muted
#83837D

Preview Lab

Preview with #B9CB40

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

Preview Lab → · Contrast checker → · Palette generator →

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