#B9A239#B9A239

#B9A239 is a light, vivid yellow. Relative luminance 0.364; OKLCH L 71.3% C 0.125 H 96.6°. Best body text is #000000 at 8.29:1 contrast (WCAG AA passes).

Color values

HEX#B9A239
RGBrgb(185, 162, 57)
HSLhsl(49, 53%, 47%)
HSVhsv(49, 69%, 73%)
CMYKcmyk(0%, 12.4%, 69.2%, 27.5%)
CIE-LABlab(66.86, -3.39, 55.32)
CIE-LCHlch(66.86, 55.43, 93.51°)
OKLaboklab(71.32% -0.0144 0.124)
OKLCHoklch(71.32% 0.125 96.6)
XYZxyz(33.6681, 36.4521, 9.1327)
Luminance0.3645 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9A239 #3950B9
analogous
#B96239 #B9A239 #90B939
triadic
#B9A239 #39B9A2 #A239B9
tetradic
#B9A239 #39B962 #3950B9 #B93990
square
#B9A239 #39B962 #3950B9 #B93990
split-complementary
#B9A239 #3990B9 #6239B9
monochromatic
#5B501C #8A792B #B9A239 #CEBB61 #DDCF90

Accessibility & contrast

On white

2.53
#B9A239 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.29
#B9A239 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B9A239
8.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9A239#FFFFFF#000000##000000
##B9A2391.002.538.298.29
#FFFFFF2.531.0021.0021.00
#0000008.2921.001.001.00
##0000008.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B29E2B
Deuteranopia (green-blind)
#B8A63F
Tritanopia (blue-blind)
#C7968D
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #b9a239;
/* rgb */ color: rgb(185, 162, 57);
/* oklch */ color: oklch(71.3% 0.125 96.6);
Tailwind
colors: {
  custom: {
    50: '#d2bd75',
    500: '#b9a239',
    950: '#000000',
  },
}
SCSS
$custom: #b9a239;
$custom-light: #d2bd75;
$custom-dark: #000000;
JSON
{
  "hex": "#b9a239",
  "rgb": {
    "r": 185,
    "g": 162,
    "b": 57
  },
  "hsl": {
    "h": 49.219,
    "s": 52.893,
    "l": 47.451
  },
  "oklch": {
    "l": 0.71323,
    "c": 0.12482,
    "h": 96.6
  },
  "luminance": 0.3645
}

Semantic roles & 50–950 ramp

primary
#B9A239
secondary
#8692C8
accent
#66DC4B
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#151209
muted
#83817B

Preview Lab

Preview with #B9A239

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

Preview Lab → · Contrast checker → · Palette generator →

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