#B9C73C#B9C73C

#B9C73C is a light, vivid yellow. Relative luminance 0.515; OKLCH L 79.4% C 0.158 H 115.1°. Best body text is #000000 at 11.30:1 contrast (WCAG AA passes).

Color values

HEX#B9C73C
RGBrgb(185, 199, 60)
HSLhsl(66, 55%, 51%)
HSVhsv(66, 70%, 78%)
CMYKcmyk(7%, 0%, 69.8%, 22%)
CIE-LABlab(76.97, -22.20, 64.31)
CIE-LCHlch(76.97, 68.03, 109.04°)
OKLaboklab(79.39% -0.0671 0.1434)
OKLCHoklch(79.39% 0.158 115.1)
XYZxyz(41.2477, 51.4881, 12.0394)
Luminance0.5149 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9C73C #4A3CC7
analogous
#C78F3C #B9C73C #73C73C
triadic
#B9C73C #3CB9C7 #C73CB9
tetradic
#B9C73C #3CC78F #4A3CC7 #C73C73
square
#B9C73C #3CC78F #4A3CC7 #C73C73
split-complementary
#B9C73C #3C73C7 #8F3CC7
monochromatic
#636A1E #8F9A2C #B9C73C #CAD56C #DBE29B

Accessibility & contrast

On white

1.86
#B9C73C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.30
#B9C73C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B9C73C
11.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9C73C#FFFFFF#000000##000000
##B9C73C1.001.8611.3011.30
#FFFFFF1.861.0021.0021.00
#00000011.3021.001.001.00
##00000011.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5BD25
Deuteranopia (green-blind)
#D4BF47
Tritanopia (blue-blind)
#C5BCAC
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #b9c73c;
/* rgb */ color: rgb(185, 199, 60);
/* oklch */ color: oklch(79.4% 0.158 115.1);
Tailwind
colors: {
  custom: {
    50: '#d1d77a',
    500: '#b9c73c',
    950: '#000000',
  },
}
SCSS
$custom: #b9c73c;
$custom-light: #d1d77a;
$custom-dark: #000000;
JSON
{
  "hex": "#b9c73c",
  "rgb": {
    "r": 185,
    "g": 199,
    "b": 60
  },
  "hsl": {
    "h": 66.043,
    "s": 55.378,
    "l": 50.784
  },
  "oklch": {
    "l": 0.79388,
    "c": 0.15835,
    "h": 115.1
  },
  "luminance": 0.51487
}

Semantic roles & 50–950 ramp

primary
#B9C73C
secondary
#3A3374
accent
#49DF58
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14140A
muted
#83837D

Preview Lab

Preview with #B9C73C

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

Preview Lab → · Contrast checker → · Palette generator →

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