#B5A85F#B5A85F

#B5A85F is a light, moderate yellow. Relative luminance 0.387; OKLCH L 72.7% C 0.095 H 99.4°. Best body text is #000000 at 8.73:1 contrast (WCAG AA passes).

Color values

HEX#B5A85F
RGBrgb(181, 168, 95)
HSLhsl(51, 37%, 54%)
HSVhsv(51, 48%, 71%)
CMYKcmyk(0%, 7.2%, 47.5%, 29%)
CIE-LABlab(68.50, -5.42, 39.20)
CIE-LCHlch(68.50, 39.58, 97.87°)
OKLaboklab(72.66% -0.0156 0.094)
OKLCHoklch(72.66% 0.095 99.4)
XYZxyz(35.1252, 38.6565, 16.4354)
Luminance0.3866 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5A85F #5F6CB5
analogous
#B57D5F #B5A85F #97B55F
triadic
#B5A85F #5FB5A8 #A85FB5
tetradic
#B5A85F #5FB57D #5F6CB5 #B55F97
square
#B5A85F #5FB57D #5F6CB5 #B55F97
split-complementary
#B5A85F #5F97B5 #7D5FB5
monochromatic
#696031 #938744 #B5A85F #C8BF89 #DCD6B3

Accessibility & contrast

On white

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

On black

8.73
#B5A85F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B5A85F
8.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5A85F#FFFFFF#000000##000000
##B5A85F1.002.418.738.73
#FFFFFF2.411.0021.0021.00
#0000008.7321.001.001.00
##0000008.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B4A459
Deuteranopia (green-blind)
#B8A962
Tritanopia (blue-blind)
#C09F97
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #b5a85f;
/* rgb */ color: rgb(181, 168, 95);
/* oklch */ color: oklch(72.7% 0.095 99.4);
Tailwind
colors: {
  custom: {
    50: '#cdc18e',
    500: '#b5a85f',
    950: '#000000',
  },
}
SCSS
$custom: #b5a85f;
$custom-light: #cdc18e;
$custom-dark: #000000;
JSON
{
  "hex": "#b5a85f",
  "rgb": {
    "r": 181,
    "g": 168,
    "b": 95
  },
  "hsl": {
    "h": 50.93,
    "s": 36.752,
    "l": 54.118
  },
  "oklch": {
    "l": 0.7266,
    "c": 0.09529,
    "h": 99.4
  },
  "luminance": 0.38655
}

Semantic roles & 50–950 ramp

primary
#B5A85F
secondary
#A6ABCA
accent
#6CCD5B
background
#FCFBF8
surface
#F9F7F0
border
#D2D0CB
text
#14120C
muted
#82817D

Preview Lab

Preview with #B5A85F

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

Preview Lab → · Contrast checker → · Palette generator →

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