#B8A258#B8A258

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

Color values

HEX#B8A258
RGBrgb(184, 162, 88)
HSLhsl(46, 40%, 53%)
HSVhsv(46, 52%, 72%)
CMYKcmyk(0%, 12%, 52.2%, 27.8%)
CIE-LABlab(67.08, -1.60, 41.09)
CIE-LCHlch(67.08, 41.12, 92.24°)
OKLaboklab(71.57% -0.0055 0.0976)
OKLCHoklch(71.57% 0.098 93.2)
XYZxyz(34.4502, 36.7371, 14.5070)
Luminance0.3674 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8A258 #586EB8
analogous
#B87258 #B8A258 #9EB858
triadic
#B8A258 #58B8A2 #A258B8
tetradic
#B8A258 #58B872 #586EB8 #B8589E
square
#B8A258 #58B872 #586EB8 #B8589E
split-complementary
#B8A258 #589EB8 #7258B8
monochromatic
#695B2D #94803F #B8A258 #CABA83 #DDD2AE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B8A258#FFFFFF#000000##000000
##B8A2581.002.528.358.35
#FFFFFF2.521.0021.0021.00
#0000008.3521.001.001.00
##0000008.3521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b8a258;
/* rgb */ color: rgb(184, 162, 88);
/* oklch */ color: oklch(71.6% 0.098 93.2);
Tailwind
colors: {
  custom: {
    50: '#cfbd89',
    500: '#b8a258',
    950: '#000000',
  },
}
SCSS
$custom: #b8a258;
$custom-light: #cfbd89;
$custom-dark: #000000;
JSON
{
  "hex": "#b8a258",
  "rgb": {
    "r": 184,
    "g": 162,
    "b": 88
  },
  "hsl": {
    "h": 46.25,
    "s": 40.336,
    "l": 53.333
  },
  "oklch": {
    "l": 0.7157,
    "c": 0.09771,
    "h": 93.2
  },
  "luminance": 0.36736
}

Semantic roles & 50–950 ramp

primary
#B8A258
secondary
#A1ABCB
accent
#73D058
background
#FDFBF8
surface
#FAF6F0
border
#D3D0CB
text
#14120B
muted
#83817C

Preview Lab

Preview with #B8A258

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

Preview Lab → · Contrast checker → · Palette generator →

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