#B9C92E#B9C92E

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

Color values

HEX#B9C92E
RGBrgb(185, 201, 46)
HSLhsl(66, 63%, 48%)
HSVhsv(66, 77%, 79%)
CMYKcmyk(8%, 0%, 77.1%, 21.2%)
CIE-LABlab(77.45, -23.83, 69.42)
CIE-LCHlch(77.45, 73.39, 108.94°)
OKLaboklab(79.75% -0.0728 0.1519)
OKLCHoklch(79.75% 0.168 115.6)
XYZxyz(41.3885, 52.2855, 10.4960)
Luminance0.5229 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9C92E #3E2EC9
analogous
#C98C2E #B9C92E #6BC92E
triadic
#B9C92E #2EB9C9 #C92EB9
tetradic
#B9C92E #2EC98C #3E2EC9 #C92E6B
square
#B9C92E #2EC98C #3E2EC9 #C92E6B
split-complementary
#B9C92E #2E6BC9 #8C2EC9
monochromatic
#5D6517 #8B9723 #B9C92E #CCD95B #DCE58D

Accessibility & contrast

On white

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

On black

11.46
#B9C92E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B9C92E
11.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9C92E#FFFFFF#000000##000000
##B9C92E1.001.8311.4611.46
#FFFFFF1.831.0021.0021.00
#00000011.4621.001.001.00
##00000011.4621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b9c92e;
/* rgb */ color: rgb(185, 201, 46);
/* oklch */ color: oklch(79.7% 0.168 115.6);
Tailwind
colors: {
  custom: {
    50: '#d2d974',
    500: '#b9c92e',
    950: '#000000',
  },
}
SCSS
$custom: #b9c92e;
$custom-light: #d2d974;
$custom-dark: #000000;
JSON
{
  "hex": "#b9c92e",
  "rgb": {
    "r": 185,
    "g": 201,
    "b": 46
  },
  "hsl": {
    "h": 66.194,
    "s": 62.753,
    "l": 48.431
  },
  "oklch": {
    "l": 0.79747,
    "c": 0.16841,
    "h": 115.6
  },
  "luminance": 0.52285
}

Semantic roles & 50–950 ramp

primary
#B9C92E
secondary
#332C70
accent
#42E653
background
#FEFEFB
surface
#FBFBF1
border
#D4D4CB
text
#151409
muted
#84837D

Preview Lab

Preview with #B9C92E

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

Preview Lab → · Contrast checker → · Palette generator →

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