#B9C92A#B9C92A

#B9C92A is a light, vivid yellow. Relative luminance 0.523; OKLCH L 79.7% C 0.170 H 115.6°. Best body text is #000000 at 11.45:1 contrast (WCAG AA passes).

Color values

HEX#B9C92A
RGBrgb(185, 201, 42)
HSLhsl(66, 65%, 48%)
HSVhsv(66, 79%, 79%)
CMYKcmyk(8%, 0%, 79.1%, 21.2%)
CIE-LABlab(77.43, -23.98, 70.56)
CIE-LCHlch(77.43, 74.52, 108.77°)
OKLaboklab(79.73% -0.0735 0.1536)
OKLCHoklch(79.73% 0.17 115.6)
XYZxyz(41.3133, 52.2554, 10.1000)
Luminance0.5225 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9C92A #3A2AC9
analogous
#C98A2A #B9C92A #69C92A
triadic
#B9C92A #2AB9C9 #C92AB9
tetradic
#B9C92A #2AC98A #3A2AC9 #C92A69
square
#B9C92A #2AC98A #3A2AC9 #C92A69
split-complementary
#B9C92A #2A69C9 #8A2AC9
monochromatic
#5C6415 #8A961F #B9C92A #CEDB55 #DCE687

Accessibility & contrast

On white

1.83
#B9C92A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.45
#B9C92A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B9C92A
11.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9C92A#FFFFFF#000000##000000
##B9C92A1.001.8311.4511.45
#FFFFFF1.831.0021.0021.00
#00000011.4521.001.001.00
##00000011.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8BE00
Deuteranopia (green-blind)
#D6C03A
Tritanopia (blue-blind)
#C5BDAC
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #b9c92a;
/* rgb */ color: rgb(185, 201, 42);
/* oklch */ color: oklch(79.7% 0.170 115.6);
Tailwind
colors: {
  custom: {
    50: '#d2d972',
    500: '#b9c92a',
    950: '#000000',
  },
}
SCSS
$custom: #b9c92a;
$custom-light: #d2d972;
$custom-dark: #000000;
JSON
{
  "hex": "#b9c92a",
  "rgb": {
    "r": 185,
    "g": 201,
    "b": 42
  },
  "hsl": {
    "h": 66.038,
    "s": 65.432,
    "l": 47.647
  },
  "oklch": {
    "l": 0.79726,
    "c": 0.17028,
    "h": 115.6
  },
  "luminance": 0.52255
}

Semantic roles & 50–950 ramp

primary
#B9C92A
secondary
#30296E
accent
#3FE850
background
#FEFEFB
surface
#FBFBF1
border
#D4D4CB
text
#151409
muted
#84837D

Preview Lab

Preview with #B9C92A

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

Preview Lab → · Contrast checker → · Palette generator →

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