#B5B87F#B5B87F

#B5B87F is a light, moderate yellow. Relative luminance 0.456; OKLCH L 76.6% C 0.076 H 110.6°. Best body text is #000000 at 10.13:1 contrast (WCAG AA passes).

Color values

HEX#B5B87F
RGBrgb(181, 184, 127)
HSLhsl(63, 29%, 61%)
HSVhsv(63, 31%, 72%)
CMYKcmyk(1.6%, 0%, 31%, 27.8%)
CIE-LABlab(73.31, -10.18, 28.68)
CIE-LCHlch(73.31, 30.43, 109.53°)
OKLaboklab(76.63% -0.0269 0.0714)
OKLCHoklch(76.63% 0.076 110.6)
XYZxyz(40.0274, 45.6376, 26.7749)
Luminance0.4564 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5B87F #827FB8
analogous
#B89E7F #B5B87F #98B87F
triadic
#B5B87F #7FB5B8 #B87FB5
tetradic
#B5B87F #7FB89E #827FB8 #B87F98
square
#B5B87F #7FB89E #827FB8 #B87F98
split-complementary
#B5B87F #7F98B8 #9E7FB8
monochromatic
#767943 #9DA159 #B5B87F #CCCEA6 #E3E4CE

Accessibility & contrast

On white

2.07
#B5B87F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.13
#B5B87F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B5B87F
10.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5B87F#FFFFFF#000000##000000
##B5B87F1.002.0710.1310.13
#FFFFFF2.071.0021.0021.00
#00000010.1321.001.001.00
##00000010.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1B37B
Deuteranopia (green-blind)
#C1B581
Tritanopia (blue-blind)
#BCB1A9
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #b5b87f;
/* rgb */ color: rgb(181, 184, 127);
/* oklch */ color: oklch(76.6% 0.076 110.6);
Tailwind
colors: {
  custom: {
    50: '#cccda4',
    500: '#b5b87f',
    950: '#000000',
  },
}
SCSS
$custom: #b5b87f;
$custom-light: #cccda4;
$custom-dark: #000000;
JSON
{
  "hex": "#b5b87f",
  "rgb": {
    "r": 181,
    "g": 184,
    "b": 127
  },
  "hsl": {
    "h": 63.158,
    "s": 28.643,
    "l": 60.98
  },
  "oklch": {
    "l": 0.76632,
    "c": 0.07633,
    "h": 110.6
  },
  "luminance": 0.45637
}

Semantic roles & 50–950 ramp

primary
#B5B87F
secondary
#C0BFD4
accent
#3EA744
background
#FCFCFA
surface
#F9F9F4
border
#D2D2CE
text
#13130F
muted
#82827F

Preview Lab

Preview with #B5B87F

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

Preview Lab → · Contrast checker → · Palette generator →

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