#C5BA7D#C5BA7D

#C5BA7D is a light, moderate yellow. Relative luminance 0.485; OKLCH L 78.4% C 0.081 H 99.2°. Best body text is #000000 at 10.69:1 contrast (WCAG AA passes).

Color values

HEX#C5BA7D
RGBrgb(197, 186, 125)
HSLhsl(51, 38%, 63%)
HSVhsv(51, 37%, 77%)
CMYKcmyk(0%, 5.6%, 36.5%, 22.7%)
CIE-LABlab(75.12, -5.13, 32.36)
CIE-LCHlch(75.12, 32.76, 99.01°)
OKLaboklab(78.38% -0.013 0.0799)
OKLCHoklch(78.38% 0.081 99.2)
XYZxyz(44.2872, 48.4700, 26.4208)
Luminance0.4847 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5BA7D #7D88C5
analogous
#C5967D #C5BA7D #ACC57D
triadic
#C5BA7D #7DC5BA #BA7DC5
tetradic
#C5BA7D #7DC596 #7D88C5 #C57DAC
square
#C5BA7D #7DC596 #7D88C5 #C57DAC
split-complementary
#C5BA7D #7DACC5 #967DC5
monochromatic
#8A7E3E #B2A453 #C5BA7D #D8D0A7 #EBE7D2

Accessibility & contrast

On white

1.96
#C5BA7D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.69
#C5BA7D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5BA7D
10.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5BA7D#FFFFFF#000000##000000
##C5BA7D1.001.9610.6910.69
#FFFFFF1.961.0021.0021.00
#00000010.6921.001.001.00
##00000010.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5B679
Deuteranopia (green-blind)
#C9BB7F
Tritanopia (blue-blind)
#CFB2AA
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #c5ba7d;
/* rgb */ color: rgb(197, 186, 125);
/* oklch */ color: oklch(78.4% 0.081 99.2);
Tailwind
colors: {
  custom: {
    50: '#d7cea3',
    500: '#c5ba7d',
    950: '#000000',
  },
}
SCSS
$custom: #c5ba7d;
$custom-light: #d7cea3;
$custom-dark: #000000;
JSON
{
  "hex": "#c5ba7d",
  "rgb": {
    "r": 197,
    "g": 186,
    "b": 125
  },
  "hsl": {
    "h": 50.833,
    "s": 38.298,
    "l": 63.137
  },
  "oklch": {
    "l": 0.78375,
    "c": 0.08095,
    "h": 99.2
  },
  "luminance": 0.48469
}

Semantic roles & 50–950 ramp

primary
#C5BA7D
secondary
#C2C6DC
accent
#47B134
background
#FDFCFA
surface
#FAF9F4
border
#D3D2CE
text
#14130F
muted
#83827F

Preview Lab

Preview with #C5BA7D

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

Preview Lab → · Contrast checker → · Palette generator →

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