#B8A758#B8A758

#B8A758 is a light, moderate yellow. Relative luminance 0.385; OKLCH L 72.6% C 0.102 H 97.5°. Best body text is #000000 at 8.71:1 contrast (WCAG AA passes).

Color values

HEX#B8A758
RGBrgb(184, 167, 88)
HSLhsl(49, 40%, 53%)
HSVhsv(49, 52%, 72%)
CMYKcmyk(0%, 9.2%, 52.2%, 27.8%)
CIE-LABlab(68.41, -4.28, 42.69)
CIE-LCHlch(68.41, 42.90, 95.72°)
OKLaboklab(72.62% -0.0132 0.1011)
OKLCHoklch(72.62% 0.102 97.5)
XYZxyz(35.3485, 38.5338, 14.8064)
Luminance0.3853 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8A758 #5869B8
analogous
#B87758 #B8A758 #99B858
triadic
#B8A758 #58B8A7 #A758B8
tetradic
#B8A758 #58B877 #5869B8 #B85899
square
#B8A758 #58B877 #5869B8 #B85899
split-complementary
#B8A758 #5899B8 #7758B8
monochromatic
#695E2D #94853F #B8A758 #CABE83 #DDD4AE

Accessibility & contrast

On white

2.41
#B8A758 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.71
#B8A758 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8A758
8.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8A758#FFFFFF#000000##000000
##B8A7581.002.418.718.71
#FFFFFF2.411.0021.0021.00
#0000008.7121.001.001.00
##0000008.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A351
Deuteranopia (green-blind)
#B9A95B
Tritanopia (blue-blind)
#C49D95
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #b8a758;
/* rgb */ color: rgb(184, 167, 88);
/* oklch */ color: oklch(72.6% 0.102 97.5);
Tailwind
colors: {
  custom: {
    50: '#cfc089',
    500: '#b8a758',
    950: '#000000',
  },
}
SCSS
$custom: #b8a758;
$custom-light: #cfc089;
$custom-dark: #000000;
JSON
{
  "hex": "#b8a758",
  "rgb": {
    "r": 184,
    "g": 167,
    "b": 88
  },
  "hsl": {
    "h": 49.375,
    "s": 40.336,
    "l": 53.333
  },
  "oklch": {
    "l": 0.72624,
    "c": 0.10193,
    "h": 97.5
  },
  "luminance": 0.38532
}

Semantic roles & 50–950 ramp

primary
#B8A758
secondary
#A1A9CB
accent
#6DD058
background
#FDFBF8
surface
#FAF7F0
border
#D3D0CB
text
#14120C
muted
#83817D

Preview Lab

Preview with #B8A758

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

Preview Lab → · Contrast checker → · Palette generator →

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