#B9CC3D#B9CC3D

#B9CC3D is a light, vivid yellow. Relative luminance 0.538; OKLCH L 80.5% C 0.163 H 116.8°. Best body text is #000000 at 11.77:1 contrast (WCAG AA passes).

Color values

HEX#B9CC3D
RGBrgb(185, 204, 61)
HSLhsl(68, 58%, 52%)
HSVhsv(68, 70%, 80%)
CMYKcmyk(9.3%, 0%, 70.1%, 20%)
CIE-LABlab(78.37, -24.58, 65.32)
CIE-LCHlch(78.37, 69.79, 110.62°)
OKLaboklab(80.51% -0.0736 0.1457)
OKLCHoklch(80.51% 0.163 116.8)
XYZxyz(42.4438, 53.8375, 12.5697)
Luminance0.5384 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9CC3D #503DCC
analogous
#CC983D #B9CC3D #72CC3D
triadic
#B9CC3D #3DB9CC #CC3DB9
tetradic
#B9CC3D #3DCC98 #503DCC #CC3D72
square
#B9CC3D #3DCC98 #503DCC #CC3D72
split-complementary
#B9CC3D #3D72CC #983DCC
monochromatic
#66711E #92A12A #B9CC3D #CAD96D #DCE59E

Accessibility & contrast

On white

1.78
#B9CC3D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.77
#B9CC3D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B9CC3D
11.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9CC3D#FFFFFF#000000##000000
##B9CC3D1.001.7811.7711.77
#FFFFFF1.781.0021.0021.00
#00000011.7721.001.001.00
##00000011.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC125
Deuteranopia (green-blind)
#D8C348
Tritanopia (blue-blind)
#C4C1B0
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #b9cc3d;
/* rgb */ color: rgb(185, 204, 61);
/* oklch */ color: oklch(80.5% 0.163 116.8);
Tailwind
colors: {
  custom: {
    50: '#d1db7b',
    500: '#b9cc3d',
    950: '#000000',
  },
}
SCSS
$custom: #b9cc3d;
$custom-light: #d1db7b;
$custom-dark: #000000;
JSON
{
  "hex": "#b9cc3d",
  "rgb": {
    "r": 185,
    "g": 204,
    "b": 61
  },
  "hsl": {
    "h": 67.972,
    "s": 58.367,
    "l": 51.961
  },
  "oklch": {
    "l": 0.80508,
    "c": 0.16327,
    "h": 116.8
  },
  "luminance": 0.53837
}

Semantic roles & 50–950 ramp

primary
#B9CC3D
secondary
#3D337A
accent
#46E25B
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14150A
muted
#83847D

Preview Lab

Preview with #B9CC3D

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

Preview Lab → · Contrast checker → · Palette generator →

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