#B9C131#B9C131

#B9C131 is a light, vivid yellow. Relative luminance 0.487; OKLCH L 78.0% C 0.158 H 112.8°. Best body text is #000000 at 10.74:1 contrast (WCAG AA passes).

Color values

HEX#B9C131
RGBrgb(185, 193, 49)
HSLhsl(63, 60%, 47%)
HSVhsv(63, 75%, 76%)
CMYKcmyk(4.1%, 0%, 74.6%, 24.3%)
CIE-LABlab(75.25, -19.77, 66.46)
CIE-LCHlch(75.25, 69.34, 106.57°)
OKLaboklab(77.99% -0.0613 0.1461)
OKLCHoklch(77.99% 0.158 112.8)
XYZxyz(39.6332, 48.6769, 10.2129)
Luminance0.4868 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9C131 #3931C1
analogous
#C18131 #B9C131 #71C131
triadic
#B9C131 #31B9C1 #C131B9
tetradic
#B9C131 #31C181 #3931C1 #C13171
square
#B9C131 #31C181 #3931C1 #C13171
split-complementary
#B9C131 #3171C1 #8131C1
monochromatic
#5B5F18 #8A9025 #B9C131 #CED55A #DDE28B

Accessibility & contrast

On white

1.96
#B9C131 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.74
#B9C131 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B9C131
10.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9C131#FFFFFF#000000##000000
##B9C1311.001.9610.7410.74
#FFFFFF1.961.0021.0021.00
#00000010.7421.001.001.00
##00000010.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0B80F
Deuteranopia (green-blind)
#D0BB3D
Tritanopia (blue-blind)
#C6B5A6
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #b9c131;
/* rgb */ color: rgb(185, 193, 49);
/* oklch */ color: oklch(78.0% 0.158 112.8);
Tailwind
colors: {
  custom: {
    50: '#d2d374',
    500: '#b9c131',
    950: '#000000',
  },
}
SCSS
$custom: #b9c131;
$custom-light: #d2d374;
$custom-dark: #000000;
JSON
{
  "hex": "#b9c131",
  "rgb": {
    "r": 185,
    "g": 193,
    "b": 49
  },
  "hsl": {
    "h": 63.333,
    "s": 59.504,
    "l": 47.451
  },
  "oklch": {
    "l": 0.77986,
    "c": 0.15845,
    "h": 112.8
  },
  "luminance": 0.48676
}

Semantic roles & 50–950 ramp

primary
#B9C131
secondary
#8682CC
accent
#45E34E
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#151409
muted
#83827B

Preview Lab

Preview with #B9C131

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

Preview Lab → · Contrast checker → · Palette generator →

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