#B9B73E#B9B73E

#B9B73E is a light, vivid yellow. Relative luminance 0.445; OKLCH L 75.9% C 0.140 H 108.4°. Best body text is #000000 at 9.91:1 contrast (WCAG AA passes).

Color values

HEX#B9B73E
RGBrgb(185, 183, 62)
HSLhsl(59, 50%, 48%)
HSVhsv(59, 66%, 73%)
CMYKcmyk(0%, 1.1%, 66.5%, 27.5%)
CIE-LABlab(72.58, -14.08, 59.13)
CIE-LCHlch(72.58, 60.78, 103.40°)
OKLaboklab(75.88% -0.0442 0.1329)
OKLCHoklch(75.88% 0.14 108.4)
XYZxyz(37.8119, 44.5302, 11.1599)
Luminance0.4453 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9B73E #3E40B9
analogous
#B9793E #B9B73E #7DB93E
triadic
#B9B73E #3EB9B7 #B73EB9
tetradic
#B9B73E #3EB979 #3E40B9 #B93E7D
square
#B9B73E #3EB979 #3E40B9 #B93E7D
split-complementary
#B9B73E #3E7DB9 #793EB9
monochromatic
#5D5C1F #8B8A2F #B9B73E #CCCB68 #DCDB96

Accessibility & contrast

On white

2.12
#B9B73E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.91
#B9B73E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B9B73E
9.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9B73E#FFFFFF#000000##000000
##B9B73E1.002.129.919.91
#FFFFFF2.121.0021.0021.00
#0000009.9121.001.001.00
##0000009.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6B02D
Deuteranopia (green-blind)
#C8B446
Tritanopia (blue-blind)
#C6AB9F
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #b9b73e;
/* rgb */ color: rgb(185, 183, 62);
/* oklch */ color: oklch(75.9% 0.140 108.4);
Tailwind
colors: {
  custom: {
    50: '#d1cc7a',
    500: '#b9b73e',
    950: '#000000',
  },
}
SCSS
$custom: #b9b73e;
$custom-light: #d1cc7a;
$custom-dark: #000000;
JSON
{
  "hex": "#b9b73e",
  "rgb": {
    "r": 185,
    "g": 183,
    "b": 62
  },
  "hsl": {
    "h": 59.024,
    "s": 49.798,
    "l": 48.431
  },
  "oklch": {
    "l": 0.75879,
    "c": 0.14001,
    "h": 108.4
  },
  "luminance": 0.44529
}

Semantic roles & 50–950 ramp

primary
#B9B73E
secondary
#8C8DC7
accent
#51D94E
background
#FDFCF7
surface
#FAF8EE
border
#D3D1C9
text
#14130A
muted
#83827C

Preview Lab

Preview with #B9B73E

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

Preview Lab → · Contrast checker → · Palette generator →

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