#C5CA8A#C5CA8A

#C5CA8A is a light, moderate yellow. Relative luminance 0.559; OKLCH L 82.0% C 0.084 H 111.9°. Best body text is #000000 at 12.19:1 contrast (WCAG AA passes).

Color values

HEX#C5CA8A
RGBrgb(197, 202, 138)
HSLhsl(65, 38%, 67%)
HSVhsv(65, 32%, 79%)
CMYKcmyk(2.5%, 0%, 31.7%, 20.8%)
CIE-LABlab(79.58, -11.81, 31.45)
CIE-LCHlch(79.58, 33.60, 110.58°)
OKLaboklab(81.98% -0.0314 0.0782)
OKLCHoklch(81.98% 0.084 111.9)
XYZxyz(48.7341, 55.9470, 32.2714)
Luminance0.5595 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5CA8A #8F8ACA
analogous
#CAAF8A #C5CA8A #A5CA8A
triadic
#C5CA8A #8AC5CA #CA8AC5
tetradic
#C5CA8A #8ACAAF #8F8ACA #CA8AA5
square
#C5CA8A #8ACAAF #8F8ACA #CA8AA5
split-complementary
#C5CA8A #8AA5CA #AF8ACA
monochromatic
#8F9644 #B0B760 #C5CA8A #DADDB4 #EFF0DE

Accessibility & contrast

On white

1.72
#C5CA8A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.19
#C5CA8A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5CA8A
12.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5CA8A#FFFFFF#000000##000000
##C5CA8A1.001.7212.1912.19
#FFFFFF1.721.0021.0021.00
#00000012.1921.001.001.00
##00000012.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3C486
Deuteranopia (green-blind)
#D4C68D
Tritanopia (blue-blind)
#CDC3BA
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #c5ca8a;
/* rgb */ color: rgb(197, 202, 138);
/* oklch */ color: oklch(82.0% 0.084 111.9);
Tailwind
colors: {
  custom: {
    50: '#d7daac',
    500: '#c5ca8a',
    950: '#000000',
  },
}
SCSS
$custom: #c5ca8a;
$custom-light: #d7daac;
$custom-dark: #000000;
JSON
{
  "hex": "#c5ca8a",
  "rgb": {
    "r": 197,
    "g": 202,
    "b": 138
  },
  "hsl": {
    "h": 64.687,
    "s": 37.647,
    "l": 66.667
  },
  "oklch": {
    "l": 0.81983,
    "c": 0.08427,
    "h": 111.9
  },
  "luminance": 0.55946
}

Semantic roles & 50–950 ramp

primary
#C5CA8A
secondary
#615B9D
accent
#35B13F
background
#FEFEFD
surface
#FBFBF7
border
#D4D4D0
text
#141410
muted
#838381

Preview Lab

Preview with #C5CA8A

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

Preview Lab → · Contrast checker → · Palette generator →

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