#B8A85E#B8A85E

#B8A85E is a light, moderate yellow. Relative luminance 0.390; OKLCH L 72.9% C 0.097 H 97.4°. Best body text is #000000 at 8.80:1 contrast (WCAG AA passes).

Color values

HEX#B8A85E
RGBrgb(184, 168, 94)
HSLhsl(49, 39%, 55%)
HSVhsv(49, 49%, 72%)
CMYKcmyk(0%, 8.7%, 48.9%, 27.8%)
CIE-LABlab(68.75, -4.26, 40.08)
CIE-LCHlch(68.75, 40.31, 96.07°)
OKLaboklab(72.92% -0.0125 0.0958)
OKLCHoklch(72.92% 0.097 97.4)
XYZxyz(35.7912, 39.0051, 16.2309)
Luminance0.3900 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8A85E #5E6EB8
analogous
#B87B5E #B8A85E #9BB85E
triadic
#B8A85E #5EB8A8 #A85EB8
tetradic
#B8A85E #5EB87B #5E6EB8 #B85E9B
square
#B8A85E #5EB87B #5E6EB8 #B85E9B
split-complementary
#B8A85E #5E9BB8 #7B5EB8
monochromatic
#6C6130 #968842 #B8A85E #CBBF88 #DDD6B3

Accessibility & contrast

On white

2.39
#B8A85E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.80
#B8A85E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8A85E
8.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8A85E#FFFFFF#000000##000000
##B8A85E1.002.398.808.80
#FFFFFF2.391.0021.0021.00
#0000008.8021.001.001.00
##0000008.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A558
Deuteranopia (green-blind)
#B9AA61
Tritanopia (blue-blind)
#C49E96
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #b8a85e;
/* rgb */ color: rgb(184, 168, 94);
/* oklch */ color: oklch(72.9% 0.097 97.4);
Tailwind
colors: {
  custom: {
    50: '#cfc18d',
    500: '#b8a85e',
    950: '#000000',
  },
}
SCSS
$custom: #b8a85e;
$custom-light: #cfc18d;
$custom-dark: #000000;
JSON
{
  "hex": "#b8a85e",
  "rgb": {
    "r": 184,
    "g": 168,
    "b": 94
  },
  "hsl": {
    "h": 49.333,
    "s": 38.793,
    "l": 54.51
  },
  "oklch": {
    "l": 0.7292,
    "c": 0.09664,
    "h": 97.4
  },
  "luminance": 0.39004
}

Semantic roles & 50–950 ramp

primary
#B8A85E
secondary
#A6ADCC
accent
#6ECF59
background
#FCFBF8
surface
#F9F7F0
border
#D2D0CB
text
#14120C
muted
#82817D

Preview Lab

Preview with #B8A85E

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

Preview Lab → · Contrast checker → · Palette generator →

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