#B8A259#B8A259

#B8A259 is a light, moderate yellow. Relative luminance 0.368; OKLCH L 71.6% C 0.097 H 93.0°. Best body text is #000000 at 8.35:1 contrast (WCAG AA passes).

Color values

HEX#B8A259
RGBrgb(184, 162, 89)
HSLhsl(46, 40%, 54%)
HSVhsv(46, 52%, 72%)
CMYKcmyk(0%, 12%, 51.6%, 27.8%)
CIE-LABlab(67.09, -1.52, 40.60)
CIE-LCHlch(67.09, 40.63, 92.14°)
OKLaboklab(71.58% -0.0051 0.0966)
OKLCHoklch(71.58% 0.097 93)
XYZxyz(34.4919, 36.7538, 14.7266)
Luminance0.3675 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8A259 #596FB8
analogous
#B87259 #B8A259 #9EB859
triadic
#B8A259 #59B8A2 #A259B8
tetradic
#B8A259 #59B872 #596FB8 #B8599E
square
#B8A259 #59B872 #596FB8 #B8599E
split-complementary
#B8A259 #599EB8 #7259B8
monochromatic
#695C2D #94813F #B8A259 #CABA84 #DDD2AF

Accessibility & contrast

On white

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

On black

8.35
#B8A259 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8A259
8.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8A259#FFFFFF#000000##000000
##B8A2591.002.518.358.35
#FFFFFF2.511.0021.0021.00
#0000008.3521.001.001.00
##0000008.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09F53
Deuteranopia (green-blind)
#B5A65C
Tritanopia (blue-blind)
#C59891
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #b8a259;
/* rgb */ color: rgb(184, 162, 89);
/* oklch */ color: oklch(71.6% 0.097 93.0);
Tailwind
colors: {
  custom: {
    50: '#cfbd89',
    500: '#b8a259',
    950: '#000000',
  },
}
SCSS
$custom: #b8a259;
$custom-light: #cfbd89;
$custom-dark: #000000;
JSON
{
  "hex": "#b8a259",
  "rgb": {
    "r": 184,
    "g": 162,
    "b": 89
  },
  "hsl": {
    "h": 46.105,
    "s": 40.084,
    "l": 53.529
  },
  "oklch": {
    "l": 0.71584,
    "c": 0.0967,
    "h": 93
  },
  "luminance": 0.36752
}

Semantic roles & 50–950 ramp

primary
#B8A259
secondary
#A2ABCB
accent
#74D058
background
#FDFBF8
surface
#FAF6F0
border
#D3D0CB
text
#14120C
muted
#83817D

Preview Lab

Preview with #B8A259

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

Preview Lab → · Contrast checker → · Palette generator →

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