#B8A85F#B8A85F

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

Color values

HEX#B8A85F
RGBrgb(184, 168, 95)
HSLhsl(49, 39%, 55%)
HSVhsv(49, 48%, 72%)
CMYKcmyk(0%, 8.7%, 48.4%, 27.8%)
CIE-LABlab(68.77, -4.17, 39.59)
CIE-LCHlch(68.77, 39.81, 96.01°)
OKLaboklab(72.93% -0.0121 0.0948)
OKLCHoklch(72.93% 0.096 97.3)
XYZxyz(35.8364, 39.0232, 16.4688)
Luminance0.3902 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8A85F #5F6FB8
analogous
#B87B5F #B8A85F #9CB85F
triadic
#B8A85F #5FB8A8 #A85FB8
tetradic
#B8A85F #5FB87B #5F6FB8 #B85F9C
square
#B8A85F #5FB87B #5F6FB8 #B85F9C
split-complementary
#B8A85F #5F9CB8 #7B5FB8
monochromatic
#6C6230 #978843 #B8A85F #CBBF89 #DED6B4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B8A85F#FFFFFF#000000##000000
##B8A85F1.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)
#B5A559
Deuteranopia (green-blind)
#B9AA62
Tritanopia (blue-blind)
#C49E97
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #b8a85f;
/* rgb */ color: rgb(184, 168, 95);
/* oklch */ color: oklch(72.9% 0.096 97.3);
Tailwind
colors: {
  custom: {
    50: '#cfc18e',
    500: '#b8a85f',
    950: '#000000',
  },
}
SCSS
$custom: #b8a85f;
$custom-light: #cfc18e;
$custom-dark: #000000;
JSON
{
  "hex": "#b8a85f",
  "rgb": {
    "r": 184,
    "g": 168,
    "b": 95
  },
  "hsl": {
    "h": 49.213,
    "s": 38.528,
    "l": 54.706
  },
  "oklch": {
    "l": 0.72934,
    "c": 0.09559,
    "h": 97.3
  },
  "luminance": 0.39022
}

Semantic roles & 50–950 ramp

primary
#B8A85F
secondary
#A7ADCC
accent
#6ECE59
background
#FCFBF8
surface
#F9F7F0
border
#D2D0CB
text
#14120C
muted
#82817D

Preview Lab

Preview with #B8A85F

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

Preview Lab → · Contrast checker → · Palette generator →

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