#B9B13D#B9B13D

#B9B13D is a light, vivid yellow. Relative luminance 0.421; OKLCH L 74.6% C 0.135 H 105.4°. Best body text is #000000 at 9.42:1 contrast (WCAG AA passes).

Color values

HEX#B9B13D
RGBrgb(185, 177, 61)
HSLhsl(56, 50%, 48%)
HSVhsv(56, 67%, 73%)
CMYKcmyk(0%, 4.3%, 67%, 27.5%)
CIE-LABlab(70.94, -11.06, 57.85)
CIE-LCHlch(70.94, 58.90, 100.82°)
OKLaboklab(74.57% -0.0357 0.13)
OKLCHoklch(74.57% 0.135 105.4)
XYZxyz(36.5734, 42.0968, 10.6129)
Luminance0.4209 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9B13D #3D45B9
analogous
#B9733D #B9B13D #83B93D
triadic
#B9B13D #3DB9B1 #B13DB9
tetradic
#B9B13D #3DB973 #3D45B9 #B93D83
square
#B9B13D #3DB973 #3D45B9 #B93D83
split-complementary
#B9B13D #3D83B9 #733DB9
monochromatic
#5D591F #8B852E #B9B13D #CDC666 #DCD795

Accessibility & contrast

On white

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

On black

9.42
#B9B13D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B9B13D
9.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9B13D#FFFFFF#000000##000000
##B9B13D1.002.239.429.42
#FFFFFF2.231.0021.0021.00
#0000009.4221.001.001.00
##0000009.4221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b9b13d;
/* rgb */ color: rgb(185, 177, 61);
/* oklch */ color: oklch(74.6% 0.135 105.4);
Tailwind
colors: {
  custom: {
    50: '#d1c879',
    500: '#b9b13d',
    950: '#000000',
  },
}
SCSS
$custom: #b9b13d;
$custom-light: #d1c879;
$custom-dark: #000000;
JSON
{
  "hex": "#b9b13d",
  "rgb": {
    "r": 185,
    "g": 177,
    "b": 61
  },
  "hsl": {
    "h": 56.129,
    "s": 50.407,
    "l": 48.235
  },
  "oklch": {
    "l": 0.74566,
    "c": 0.13482,
    "h": 105.4
  },
  "luminance": 0.42095
}

Semantic roles & 50–950 ramp

primary
#B9B13D
secondary
#8B8EC7
accent
#57DA4E
background
#FDFCF7
surface
#FAF8EE
border
#D3D1C9
text
#141309
muted
#83827B

Preview Lab

Preview with #B9B13D

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

Preview Lab → · Contrast checker → · Palette generator →

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