#B9A839#B9A839

#B9A839 is a light, vivid yellow. Relative luminance 0.386; OKLCH L 72.6% C 0.130 H 100.4°. Best body text is #000000 at 8.72:1 contrast (WCAG AA passes).

Color values

HEX#B9A839
RGBrgb(185, 168, 57)
HSLhsl(52, 53%, 47%)
HSVhsv(52, 69%, 73%)
CMYKcmyk(0%, 9.2%, 69.2%, 27.5%)
CIE-LABlab(68.47, -6.58, 56.96)
CIE-LCHlch(68.47, 57.34, 96.59°)
OKLaboklab(72.6% -0.0235 0.1274)
OKLCHoklch(72.6% 0.13 100.4)
XYZxyz(34.7503, 38.6165, 9.4934)
Luminance0.3861 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9A839 #394AB9
analogous
#B96839 #B9A839 #8AB939
triadic
#B9A839 #39B9A8 #A839B9
tetradic
#B9A839 #39B968 #394AB9 #B9398A
square
#B9A839 #39B968 #394AB9 #B9398A
split-complementary
#B9A839 #398AB9 #6839B9
monochromatic
#5B531C #8A7E2B #B9A839 #CEC061 #DDD290

Accessibility & contrast

On white

2.41
#B9A839 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.72
#B9A839 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B9A839
8.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9A839#FFFFFF#000000##000000
##B9A8391.002.418.728.72
#FFFFFF2.411.0021.0021.00
#0000008.7221.001.001.00
##0000008.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A329
Deuteranopia (green-blind)
#BDAA40
Tritanopia (blue-blind)
#C79C92
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #b9a839;
/* rgb */ color: rgb(185, 168, 57);
/* oklch */ color: oklch(72.6% 0.130 100.4);
Tailwind
colors: {
  custom: {
    50: '#d1c176',
    500: '#b9a839',
    950: '#000000',
  },
}
SCSS
$custom: #b9a839;
$custom-light: #d1c176;
$custom-dark: #000000;
JSON
{
  "hex": "#b9a839",
  "rgb": {
    "r": 185,
    "g": 168,
    "b": 57
  },
  "hsl": {
    "h": 52.031,
    "s": 52.893,
    "l": 47.451
  },
  "oklch": {
    "l": 0.72598,
    "c": 0.12958,
    "h": 100.4
  },
  "luminance": 0.38615
}

Semantic roles & 50–950 ramp

primary
#B9A839
secondary
#868FC8
accent
#5FDC4B
background
#FDFBF7
surface
#FAF7ED
border
#D3D0C8
text
#141209
muted
#83817B

Preview Lab

Preview with #B9A839

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

Preview Lab → · Contrast checker → · Palette generator →

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