#B9B13B#B9B13B

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

Color values

HEX#B9B13B
RGBrgb(185, 177, 59)
HSLhsl(56, 52%, 48%)
HSVhsv(56, 68%, 73%)
CMYKcmyk(0%, 4.3%, 68.1%, 27.5%)
CIE-LABlab(70.92, -11.17, 58.64)
CIE-LCHlch(70.92, 59.69, 100.78°)
OKLaboklab(74.55% -0.0363 0.1313)
OKLCHoklch(74.55% 0.136 105.4)
XYZxyz(36.5206, 42.0757, 10.3345)
Luminance0.4207 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9B13B #3B43B9
analogous
#B9723B #B9B13B #82B93B
triadic
#B9B13B #3BB9B1 #B13BB9
tetradic
#B9B13B #3BB972 #3B43B9 #B93B82
square
#B9B13B #3BB972 #3B43B9 #B93B82
split-complementary
#B9B13B #3B82B9 #723BB9
monochromatic
#5C581D #8B852C #B9B13B #CDC764 #DCD892

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B9B13B#FFFFFF#000000##000000
##B9B13B1.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)
#C0AB2A
Deuteranopia (green-blind)
#C3B043
Tritanopia (blue-blind)
#C6A599
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #b9b13b;
/* rgb */ color: rgb(185, 177, 59);
/* oklch */ color: oklch(74.6% 0.136 105.4);
Tailwind
colors: {
  custom: {
    50: '#d1c878',
    500: '#b9b13b',
    950: '#000000',
  },
}
SCSS
$custom: #b9b13b;
$custom-light: #d1c878;
$custom-dark: #000000;
JSON
{
  "hex": "#b9b13b",
  "rgb": {
    "r": 185,
    "g": 177,
    "b": 59
  },
  "hsl": {
    "h": 56.19,
    "s": 51.639,
    "l": 47.843
  },
  "oklch": {
    "l": 0.7455,
    "c": 0.13624,
    "h": 105.4
  },
  "luminance": 0.42074
}

Semantic roles & 50–950 ramp

primary
#B9B13B
secondary
#888CC7
accent
#56DB4D
background
#FDFCF7
surface
#FAF8EE
border
#D3D1C9
text
#141309
muted
#83827B

Preview Lab

Preview with #B9B13B

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

Preview Lab → · Contrast checker → · Palette generator →

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