#B9B83D#B9B83D

#B9B83D is a light, vivid yellow. Relative luminance 0.449; OKLCH L 76.1% C 0.142 H 108.9°. Best body text is #000000 at 9.99:1 contrast (WCAG AA passes).

Color values

HEX#B9B83D
RGBrgb(185, 184, 61)
HSLhsl(60, 50%, 48%)
HSVhsv(60, 67%, 73%)
CMYKcmyk(0%, 0.5%, 67%, 27.5%)
CIE-LABlab(72.85, -14.65, 59.80)
CIE-LCHlch(72.85, 61.57, 103.77°)
OKLaboklab(76.09% -0.0459 0.1341)
OKLCHoklch(76.09% 0.142 108.9)
XYZxyz(37.9917, 44.9333, 11.0857)
Luminance0.4493 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9B83D #3D3EB9
analogous
#B97A3D #B9B83D #7CB93D
triadic
#B9B83D #3DB9B8 #B83DB9
tetradic
#B9B83D #3DB97A #3D3EB9 #B93D7C
square
#B9B83D #3DB97A #3D3EB9 #B93D7C
split-complementary
#B9B83D #3D7CB9 #7A3DB9
monochromatic
#5D5C1F #8B8A2E #B9B83D #CDCC66 #DCDB95

Accessibility & contrast

On white

2.10
#B9B83D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.99
#B9B83D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B9B83D
9.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9B83D#FFFFFF#000000##000000
##B9B83D1.002.109.999.99
#FFFFFF2.101.0021.0021.00
#0000009.9921.001.001.00
##0000009.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B12B
Deuteranopia (green-blind)
#C8B545
Tritanopia (blue-blind)
#C6AC9F
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #b9b83d;
/* rgb */ color: rgb(185, 184, 61);
/* oklch */ color: oklch(76.1% 0.142 108.9);
Tailwind
colors: {
  custom: {
    50: '#d1cd7a',
    500: '#b9b83d',
    950: '#000000',
  },
}
SCSS
$custom: #b9b83d;
$custom-light: #d1cd7a;
$custom-dark: #000000;
JSON
{
  "hex": "#b9b83d",
  "rgb": {
    "r": 185,
    "g": 184,
    "b": 61
  },
  "hsl": {
    "h": 59.516,
    "s": 50.407,
    "l": 48.235
  },
  "oklch": {
    "l": 0.76089,
    "c": 0.14173,
    "h": 108.9
  },
  "luminance": 0.44932
}

Semantic roles & 50–950 ramp

primary
#B9B83D
secondary
#8B8BC7
accent
#4FDA4E
background
#FDFCF7
surface
#FAF8EE
border
#D3D1C9
text
#14130A
muted
#83827C

Preview Lab

Preview with #B9B83D

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

Preview Lab → · Contrast checker → · Palette generator →

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