#B9C94C#B9C94C

#B9C94C is a light, vivid yellow. Relative luminance 0.526; OKLCH L 80.0% C 0.149 H 116.1°. Best body text is #000000 at 11.52:1 contrast (WCAG AA passes).

Color values

HEX#B9C94C
RGBrgb(185, 201, 76)
HSLhsl(68, 54%, 54%)
HSVhsv(68, 62%, 79%)
CMYKcmyk(8%, 0%, 62.2%, 21.2%)
CIE-LABlab(77.64, -22.20, 58.70)
CIE-LCHlch(77.64, 62.75, 110.72°)
OKLaboklab(79.96% -0.0655 0.134)
OKLCHoklch(79.96% 0.149 116.1)
XYZxyz(42.1996, 52.6099, 14.7678)
Luminance0.5261 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9C94C #5C4CC9
analogous
#C99B4C #B9C94C #7BC94C
triadic
#B9C94C #4CB9C9 #C94CB9
tetradic
#B9C94C #4CC99B #5C4CC9 #C94C7B
square
#B9C94C #4CC99B #5C4CC9 #C94C7B
split-complementary
#B9C94C #4C7BC9 #9B4CC9
monochromatic
#6C7724 #97A632 #B9C94C #CBD77B #DEE5AA

Accessibility & contrast

On white

1.82
#B9C94C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.52
#B9C94C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B9C94C
11.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9C94C#FFFFFF#000000##000000
##B9C94C1.001.8211.5211.52
#FFFFFF1.821.0021.0021.00
#00000011.5221.001.001.00
##00000011.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6BF3D
Deuteranopia (green-blind)
#D5C154
Tritanopia (blue-blind)
#C4BEAF
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #b9c94c;
/* rgb */ color: rgb(185, 201, 76);
/* oklch */ color: oklch(80.0% 0.149 116.1);
Tailwind
colors: {
  custom: {
    50: '#d1d984',
    500: '#b9c94c',
    950: '#000000',
  },
}
SCSS
$custom: #b9c94c;
$custom-light: #d1d984;
$custom-dark: #000000;
JSON
{
  "hex": "#b9c94c",
  "rgb": {
    "r": 185,
    "g": 201,
    "b": 76
  },
  "hsl": {
    "h": 67.68,
    "s": 53.648,
    "l": 54.314
  },
  "oklch": {
    "l": 0.79963,
    "c": 0.14919,
    "h": 116.1
  },
  "luminance": 0.52609
}

Semantic roles & 50–950 ramp

primary
#B9C94C
secondary
#433A7F
accent
#4BDD5D
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14140B
muted
#83837E

Preview Lab

Preview with #B9C94C

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

Preview Lab → · Contrast checker → · Palette generator →

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