#B8A239#B8A239

#B8A239 is a light, vivid yellow. Relative luminance 0.363; OKLCH L 71.2% C 0.125 H 97.2°. Best body text is #000000 at 8.27:1 contrast (WCAG AA passes).

Color values

HEX#B8A239
RGBrgb(184, 162, 57)
HSLhsl(50, 53%, 47%)
HSVhsv(50, 69%, 72%)
CMYKcmyk(0%, 12%, 69%, 27.8%)
CIE-LABlab(66.77, -3.83, 55.20)
CIE-LCHlch(66.77, 55.33, 93.97°)
OKLaboklab(71.23% -0.0156 0.1237)
OKLCHoklch(71.23% 0.125 97.2)
XYZxyz(33.4276, 36.3281, 9.1214)
Luminance0.3633 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8A239 #394FB8
analogous
#B86239 #B8A239 #8FB839
triadic
#B8A239 #39B8A2 #A239B8
tetradic
#B8A239 #39B862 #394FB8 #B8398F
square
#B8A239 #39B862 #394FB8 #B8398F
split-complementary
#B8A239 #398FB8 #6239B8
monochromatic
#5B501C #89792B #B8A239 #CEBB60 #DCCF8F

Accessibility & contrast

On white

2.54
#B8A239 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.27
#B8A239 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8A239
8.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8A239#FFFFFF#000000##000000
##B8A2391.002.548.278.27
#FFFFFF2.541.0021.0021.00
#0000008.2721.001.001.00
##0000008.2721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b8a239;
/* rgb */ color: rgb(184, 162, 57);
/* oklch */ color: oklch(71.2% 0.125 97.2);
Tailwind
colors: {
  custom: {
    50: '#d1bd75',
    500: '#b8a239',
    950: '#000000',
  },
}
SCSS
$custom: #b8a239;
$custom-light: #d1bd75;
$custom-dark: #000000;
JSON
{
  "hex": "#b8a239",
  "rgb": {
    "r": 184,
    "g": 162,
    "b": 57
  },
  "hsl": {
    "h": 49.606,
    "s": 52.697,
    "l": 47.255
  },
  "oklch": {
    "l": 0.71226,
    "c": 0.12472,
    "h": 97.2
  },
  "luminance": 0.36326
}

Semantic roles & 50–950 ramp

primary
#B8A239
secondary
#8691C7
accent
#65DC4C
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#141209
muted
#83817B

Preview Lab

Preview with #B8A239

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

Preview Lab → · Contrast checker → · Palette generator →

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