#B9B13E#B9B13E

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

Color values

HEX#B9B13E
RGBrgb(185, 177, 62)
HSLhsl(56, 50%, 48%)
HSVhsv(56, 66%, 73%)
CMYKcmyk(0%, 4.3%, 66.5%, 27.5%)
CIE-LABlab(70.95, -11.00, 57.45)
CIE-LCHlch(70.95, 58.49, 100.84°)
OKLaboklab(74.58% -0.0355 0.1293)
OKLCHoklch(74.58% 0.134 105.3)
XYZxyz(36.6006, 42.1077, 10.7561)
Luminance0.4211 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9B13E #3E46B9
analogous
#B9733E #B9B13E #83B93E
triadic
#B9B13E #3EB9B1 #B13EB9
tetradic
#B9B13E #3EB973 #3E46B9 #B93E83
square
#B9B13E #3EB973 #3E46B9 #B93E83
split-complementary
#B9B13E #3E83B9 #733EB9
monochromatic
#5D591F #8B852F #B9B13E #CCC668 #DCD796

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B9B13E#FFFFFF#000000##000000
##B9B13E1.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)
#C0AB2E
Deuteranopia (green-blind)
#C3B045
Tritanopia (blue-blind)
#C6A59A
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #b9b13e;
/* rgb */ color: rgb(185, 177, 62);
/* oklch */ color: oklch(74.6% 0.134 105.3);
Tailwind
colors: {
  custom: {
    50: '#d1c879',
    500: '#b9b13e',
    950: '#000000',
  },
}
SCSS
$custom: #b9b13e;
$custom-light: #d1c879;
$custom-dark: #000000;
JSON
{
  "hex": "#b9b13e",
  "rgb": {
    "r": 185,
    "g": 177,
    "b": 62
  },
  "hsl": {
    "h": 56.098,
    "s": 49.798,
    "l": 48.431
  },
  "oklch": {
    "l": 0.74575,
    "c": 0.1341,
    "h": 105.3
  },
  "luminance": 0.42106
}

Semantic roles & 50–950 ramp

primary
#B9B13E
secondary
#8C8FC7
accent
#58D94E
background
#FDFCF7
surface
#FAF8EE
border
#D3D1C9
text
#141309
muted
#83827B

Preview Lab

Preview with #B9B13E

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

Preview Lab → · Contrast checker → · Palette generator →

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