#B9C93A#B9C93A

#B9C93A is a light, vivid yellow. Relative luminance 0.524; OKLCH L 79.8% C 0.162 H 115.7°. Best body text is #000000 at 11.48:1 contrast (WCAG AA passes).

Color values

HEX#B9C93A
RGBrgb(185, 201, 58)
HSLhsl(67, 57%, 51%)
HSVhsv(67, 71%, 79%)
CMYKcmyk(8%, 0%, 71.1%, 21.2%)
CIE-LABlab(77.52, -23.28, 65.56)
CIE-LCHlch(77.52, 69.57, 109.55°)
OKLaboklab(79.82% -0.0703 0.1457)
OKLCHoklch(79.82% 0.162 115.7)
XYZxyz(41.6590, 52.3937, 11.9206)
Luminance0.5239 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9C93A #4A3AC9
analogous
#C9913A #B9C93A #71C93A
triadic
#B9C93A #3AB9C9 #C93AB9
tetradic
#B9C93A #3AC991 #4A3AC9 #C93A71
square
#B9C93A #3AC991 #4A3AC9 #C93A71
split-complementary
#B9C93A #3A71C9 #913AC9
monochromatic
#636B1D #8F9B2B #B9C93A #CAD66A #DBE39A

Accessibility & contrast

On white

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

On black

11.48
#B9C93A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B9C93A
11.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9C93A#FFFFFF#000000##000000
##B9C93A1.001.8311.4811.48
#FFFFFF1.831.0021.0021.00
#00000011.4821.001.001.00
##00000011.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7BF20
Deuteranopia (green-blind)
#D6C145
Tritanopia (blue-blind)
#C5BDAD
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #b9c93a;
/* rgb */ color: rgb(185, 201, 58);
/* oklch */ color: oklch(79.8% 0.162 115.7);
Tailwind
colors: {
  custom: {
    50: '#d1d97a',
    500: '#b9c93a',
    950: '#000000',
  },
}
SCSS
$custom: #b9c93a;
$custom-light: #d1d97a;
$custom-dark: #000000;
JSON
{
  "hex": "#b9c93a",
  "rgb": {
    "r": 185,
    "g": 201,
    "b": 58
  },
  "hsl": {
    "h": 66.713,
    "s": 56.972,
    "l": 50.784
  },
  "oklch": {
    "l": 0.79819,
    "c": 0.1618,
    "h": 115.7
  },
  "luminance": 0.52393
}

Semantic roles & 50–950 ramp

primary
#B9C93A
secondary
#3A3275
accent
#48E059
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14140A
muted
#83837D

Preview Lab

Preview with #B9C93A

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

Preview Lab → · Contrast checker → · Palette generator →

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