#B9A339#B9A339

#B9A339 is a light, vivid yellow. Relative luminance 0.368; OKLCH L 71.5% C 0.126 H 97.3°. Best body text is #000000 at 8.36:1 contrast (WCAG AA passes).

Color values

HEX#B9A339
RGBrgb(185, 163, 57)
HSLhsl(50, 53%, 47%)
HSVhsv(50, 69%, 73%)
CMYKcmyk(0%, 11.9%, 69.2%, 27.5%)
CIE-LABlab(67.13, -3.93, 55.59)
CIE-LCHlch(67.13, 55.73, 94.04°)
OKLaboklab(71.53% -0.0159 0.1246)
OKLCHoklch(71.53% 0.126 97.3)
XYZxyz(33.8449, 36.8058, 9.1916)
Luminance0.3680 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9A339 #394FB9
analogous
#B96339 #B9A339 #8FB939
triadic
#B9A339 #39B9A3 #A339B9
tetradic
#B9A339 #39B963 #394FB9 #B9398F
square
#B9A339 #39B963 #394FB9 #B9398F
split-complementary
#B9A339 #398FB9 #6339B9
monochromatic
#5B511C #8A7A2B #B9A339 #CEBB61 #DDCF90

Accessibility & contrast

On white

2.51
#B9A339 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.36
#B9A339 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B9A339
8.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9A339#FFFFFF#000000##000000
##B9A3391.002.518.368.36
#FFFFFF2.511.0021.0021.00
#0000008.3621.001.001.00
##0000008.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B39F2A
Deuteranopia (green-blind)
#B9A73F
Tritanopia (blue-blind)
#C7978D
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #b9a339;
/* rgb */ color: rgb(185, 163, 57);
/* oklch */ color: oklch(71.5% 0.126 97.3);
Tailwind
colors: {
  custom: {
    50: '#d1bd75',
    500: '#b9a339',
    950: '#000000',
  },
}
SCSS
$custom: #b9a339;
$custom-light: #d1bd75;
$custom-dark: #000000;
JSON
{
  "hex": "#b9a339",
  "rgb": {
    "r": 185,
    "g": 163,
    "b": 57
  },
  "hsl": {
    "h": 49.688,
    "s": 52.893,
    "l": 47.451
  },
  "oklch": {
    "l": 0.71534,
    "c": 0.12557,
    "h": 97.3
  },
  "luminance": 0.36804
}

Semantic roles & 50–950 ramp

primary
#B9A339
secondary
#8691C8
accent
#64DC4B
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#151209
muted
#83817B

Preview Lab

Preview with #B9A339

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

Preview Lab → · Contrast checker → · Palette generator →

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