#B9C831#B9C831

#B9C831 is a light, vivid yellow. Relative luminance 0.518; OKLCH L 79.5% C 0.166 H 115.3°. Best body text is #000000 at 11.37:1 contrast (WCAG AA passes).

Color values

HEX#B9C831
RGBrgb(185, 200, 49)
HSLhsl(66, 61%, 49%)
HSVhsv(66, 76%, 78%)
CMYKcmyk(7.5%, 0%, 75.5%, 21.6%)
CIE-LABlab(77.19, -23.22, 68.26)
CIE-LCHlch(77.19, 72.10, 108.78°)
OKLaboklab(79.54% -0.0709 0.1499)
OKLCHoklch(79.54% 0.166 115.3)
XYZxyz(41.2174, 51.8453, 10.7410)
Luminance0.5184 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9C831 #4031C8
analogous
#C88C31 #B9C831 #6EC831
triadic
#B9C831 #31B9C8 #C831B9
tetradic
#B9C831 #31C88C #4031C8 #C8316E
square
#B9C831 #31C88C #4031C8 #C8316E
split-complementary
#B9C831 #316EC8 #8C31C8
monochromatic
#5E6619 #8C9725 #B9C831 #CCD85F #DBE490

Accessibility & contrast

On white

1.85
#B9C831 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.37
#B9C831 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B9C831
11.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9C831#FFFFFF#000000##000000
##B9C8311.001.8511.3711.37
#FFFFFF1.851.0021.0021.00
#00000011.3721.001.001.00
##00000011.3721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b9c831;
/* rgb */ color: rgb(185, 200, 49);
/* oklch */ color: oklch(79.5% 0.166 115.3);
Tailwind
colors: {
  custom: {
    50: '#d2d875',
    500: '#b9c831',
    950: '#000000',
  },
}
SCSS
$custom: #b9c831;
$custom-light: #d2d875;
$custom-dark: #000000;
JSON
{
  "hex": "#b9c831",
  "rgb": {
    "r": 185,
    "g": 200,
    "b": 49
  },
  "hsl": {
    "h": 65.96,
    "s": 60.643,
    "l": 48.824
  },
  "oklch": {
    "l": 0.7954,
    "c": 0.16582,
    "h": 115.3
  },
  "luminance": 0.51845
}

Semantic roles & 50–950 ramp

primary
#B9C831
secondary
#342D70
accent
#44E454
background
#FEFEFB
surface
#FBFBF1
border
#D4D4CB
text
#151409
muted
#84837D

Preview Lab

Preview with #B9C831

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

Preview Lab → · Contrast checker → · Palette generator →

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