#B8A339#B8A339

#B8A339 is a light, vivid yellow. Relative luminance 0.367; OKLCH L 71.4% C 0.125 H 97.8°. Best body text is #000000 at 8.34:1 contrast (WCAG AA passes).

Color values

HEX#B8A339
RGBrgb(184, 163, 57)
HSLhsl(50, 53%, 47%)
HSVhsv(50, 69%, 72%)
CMYKcmyk(0%, 11.4%, 69%, 27.8%)
CIE-LABlab(67.04, -4.37, 55.47)
CIE-LCHlch(67.04, 55.64, 94.50°)
OKLaboklab(71.44% -0.0171 0.1243)
OKLCHoklch(71.44% 0.125 97.8)
XYZxyz(33.6044, 36.6818, 9.1803)
Luminance0.3668 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8A339 #394EB8
analogous
#B86439 #B8A339 #8DB839
triadic
#B8A339 #39B8A3 #A339B8
tetradic
#B8A339 #39B864 #394EB8 #B8398D
square
#B8A339 #39B864 #394EB8 #B8398D
split-complementary
#B8A339 #398DB8 #6439B8
monochromatic
#5B501C #897A2B #B8A339 #CEBC60 #DCD08F

Accessibility & contrast

On white

2.52
#B8A339 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.34
#B8A339 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8A339
8.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8A339#FFFFFF#000000##000000
##B8A3391.002.528.348.34
#FFFFFF2.521.0021.0021.00
#0000008.3421.001.001.00
##0000008.3421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b8a339;
/* rgb */ color: rgb(184, 163, 57);
/* oklch */ color: oklch(71.4% 0.125 97.8);
Tailwind
colors: {
  custom: {
    50: '#d1bd75',
    500: '#b8a339',
    950: '#000000',
  },
}
SCSS
$custom: #b8a339;
$custom-light: #d1bd75;
$custom-dark: #000000;
JSON
{
  "hex": "#b8a339",
  "rgb": {
    "r": 184,
    "g": 163,
    "b": 57
  },
  "hsl": {
    "h": 50.079,
    "s": 52.697,
    "l": 47.255
  },
  "oklch": {
    "l": 0.71438,
    "c": 0.12549,
    "h": 97.8
  },
  "luminance": 0.3668
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B8A339

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

Preview Lab → · Contrast checker → · Palette generator →

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