#B9C83A#B9C83A

#B9C83A is a light, vivid yellow. Relative luminance 0.519; OKLCH L 79.6% C 0.161 H 115.4°. Best body text is #000000 at 11.39:1 contrast (WCAG AA passes).

Color values

HEX#B9C83A
RGBrgb(185, 200, 58)
HSLhsl(66, 56%, 51%)
HSVhsv(66, 71%, 78%)
CMYKcmyk(7.5%, 0%, 71%, 21.6%)
CIE-LABlab(77.24, -22.79, 65.29)
CIE-LCHlch(77.24, 69.15, 109.24°)
OKLaboklab(79.6% -0.0689 0.1452)
OKLCHoklch(79.6% 0.161 115.4)
XYZxyz(41.4267, 51.9290, 11.8432)
Luminance0.5193 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9C83A #493AC8
analogous
#C8903A #B9C83A #72C83A
triadic
#B9C83A #3AB9C8 #C83AB9
tetradic
#B9C83A #3AC890 #493AC8 #C83A72
square
#B9C83A #3AC890 #493AC8 #C83A72
split-complementary
#B9C83A #3A72C8 #903AC8
monochromatic
#626A1E #8E9A2B #B9C83A #CAD56A #DBE39A

Accessibility & contrast

On white

1.84
#B9C83A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.39
#B9C83A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B9C83A
11.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9C83A#FFFFFF#000000##000000
##B9C83A1.001.8411.3911.39
#FFFFFF1.841.0021.0021.00
#00000011.3921.001.001.00
##00000011.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6BE21
Deuteranopia (green-blind)
#D5C045
Tritanopia (blue-blind)
#C5BCAC
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #b9c83a;
/* rgb */ color: rgb(185, 200, 58);
/* oklch */ color: oklch(79.6% 0.161 115.4);
Tailwind
colors: {
  custom: {
    50: '#d1d879',
    500: '#b9c83a',
    950: '#000000',
  },
}
SCSS
$custom: #b9c83a;
$custom-light: #d1d879;
$custom-dark: #000000;
JSON
{
  "hex": "#b9c83a",
  "rgb": {
    "r": 185,
    "g": 200,
    "b": 58
  },
  "hsl": {
    "h": 66.338,
    "s": 56.349,
    "l": 50.588
  },
  "oklch": {
    "l": 0.79596,
    "c": 0.1607,
    "h": 115.4
  },
  "luminance": 0.51928
}

Semantic roles & 50–950 ramp

primary
#B9C83A
secondary
#393274
accent
#48E058
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14140A
muted
#83837D

Preview Lab

Preview with #B9C83A

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

Preview Lab → · Contrast checker → · Palette generator →

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