#B5B37C#B5B37C

#B5B37C is a light, moderate yellow. Relative luminance 0.435; OKLCH L 75.5% C 0.074 H 106.3°. Best body text is #000000 at 9.70:1 contrast (WCAG AA passes).

Color values

HEX#B5B37C
RGBrgb(181, 179, 124)
HSLhsl(58, 28%, 60%)
HSVhsv(58, 31%, 71%)
CMYKcmyk(0%, 1.1%, 31.5%, 29%)
CIE-LABlab(71.91, -7.95, 28.41)
CIE-LCHlch(71.91, 29.50, 105.64°)
OKLaboklab(75.5% -0.0206 0.0707)
OKLCHoklch(75.5% 0.074 106.3)
XYZxyz(38.8145, 43.5199, 25.4204)
Luminance0.4352 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5B37C #7C7EB5
analogous
#B5977C #B5B37C #9AB57C
triadic
#B5B37C #7CB5B3 #B37CB5
tetradic
#B5B37C #7CB597 #7C7EB5 #B57C9A
square
#B5B37C #7CB597 #7C7EB5 #B57C9A
split-complementary
#B5B37C #7C9AB5 #977CB5
monochromatic
#757342 #9C9958 #B5B37C #CBCAA3 #E1E0CA

Accessibility & contrast

On white

2.16
#B5B37C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.70
#B5B37C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B5B37C
9.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5B37C#FFFFFF#000000##000000
##B5B37C1.002.169.709.70
#FFFFFF2.161.0021.0021.00
#0000009.7021.001.001.00
##0000009.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCAF78
Deuteranopia (green-blind)
#BDB17E
Tritanopia (blue-blind)
#BDACA5
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #b5b37c;
/* rgb */ color: rgb(181, 179, 124);
/* oklch */ color: oklch(75.5% 0.074 106.3);
Tailwind
colors: {
  custom: {
    50: '#ccc9a2',
    500: '#b5b37c',
    950: '#000000',
  },
}
SCSS
$custom: #b5b37c;
$custom-light: #ccc9a2;
$custom-dark: #000000;
JSON
{
  "hex": "#b5b37c",
  "rgb": {
    "r": 181,
    "g": 179,
    "b": 124
  },
  "hsl": {
    "h": 57.895,
    "s": 27.805,
    "l": 59.804
  },
  "oklch": {
    "l": 0.75502,
    "c": 0.07368,
    "h": 106.3
  },
  "luminance": 0.43519
}

Semantic roles & 50–950 ramp

primary
#B5B37C
secondary
#BBBCD1
accent
#67C464
background
#FCFCFA
surface
#F9F8F3
border
#D2D1CD
text
#13130F
muted
#82827F

Preview Lab

Preview with #B5B37C

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

Preview Lab → · Contrast checker → · Palette generator →

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