#B9B13A#B9B13A

#B9B13A is a light, vivid yellow. Relative luminance 0.421; OKLCH L 74.5% C 0.137 H 105.5°. Best body text is #000000 at 9.41:1 contrast (WCAG AA passes).

Color values

HEX#B9B13A
RGBrgb(185, 177, 58)
HSLhsl(56, 52%, 48%)
HSVhsv(56, 69%, 73%)
CMYKcmyk(0%, 4.3%, 68.6%, 27.5%)
CIE-LABlab(70.92, -11.22, 59.02)
CIE-LCHlch(70.92, 60.08, 100.77°)
OKLaboklab(74.54% -0.0365 0.132)
OKLCHoklch(74.54% 0.137 105.5)
XYZxyz(36.4949, 42.0654, 10.1992)
Luminance0.4206 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9B13A #3A42B9
analogous
#B9713A #B9B13A #82B93A
triadic
#B9B13A #3AB9B1 #B13AB9
tetradic
#B9B13A #3AB971 #3A42B9 #B93A82
square
#B9B13A #3AB971 #3A42B9 #B93A82
split-complementary
#B9B13A #3A82B9 #713AB9
monochromatic
#5C581D #8A842B #B9B13A #CEC762 #DCD891

Accessibility & contrast

On white

2.23
#B9B13A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.41
#B9B13A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B9B13A
9.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9B13A#FFFFFF#000000##000000
##B9B13A1.002.239.419.41
#FFFFFF2.231.0021.0021.00
#0000009.4121.001.001.00
##0000009.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0AB28
Deuteranopia (green-blind)
#C3B042
Tritanopia (blue-blind)
#C6A599
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #b9b13a;
/* rgb */ color: rgb(185, 177, 58);
/* oklch */ color: oklch(74.5% 0.137 105.5);
Tailwind
colors: {
  custom: {
    50: '#d1c877',
    500: '#b9b13a',
    950: '#000000',
  },
}
SCSS
$custom: #b9b13a;
$custom-light: #d1c877;
$custom-dark: #000000;
JSON
{
  "hex": "#b9b13a",
  "rgb": {
    "r": 185,
    "g": 177,
    "b": 58
  },
  "hsl": {
    "h": 56.22,
    "s": 52.263,
    "l": 47.647
  },
  "oklch": {
    "l": 0.74542,
    "c": 0.13694,
    "h": 105.5
  },
  "luminance": 0.42064
}

Semantic roles & 50–950 ramp

primary
#B9B13A
secondary
#878BC7
accent
#55DC4C
background
#FDFCF7
surface
#FAF8EE
border
#D3D1C9
text
#141309
muted
#83827B

Preview Lab

Preview with #B9B13A

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

Preview Lab → · Contrast checker → · Palette generator →

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