#C7CA8A#C7CA8A

#C7CA8A is a very light, moderate yellow. Relative luminance 0.562; OKLCH L 82.1% C 0.084 H 110.4°. Best body text is #000000 at 12.24:1 contrast (WCAG AA passes).

Color values

HEX#C7CA8A
RGBrgb(199, 202, 138)
HSLhsl(63, 38%, 67%)
HSVhsv(63, 32%, 79%)
CMYKcmyk(1.5%, 0%, 31.7%, 20.8%)
CIE-LABlab(79.74, -11.03, 31.69)
CIE-LCHlch(79.74, 33.55, 109.20°)
OKLaboklab(82.14% -0.0292 0.0787)
OKLCHoklch(82.14% 0.084 110.4)
XYZxyz(49.2614, 56.2189, 32.2961)
Luminance0.5622 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7CA8A #8D8ACA
analogous
#CAAD8A #C7CA8A #A7CA8A
triadic
#C7CA8A #8AC7CA #CA8AC7
tetradic
#C7CA8A #8ACAAD #8D8ACA #CA8AA7
square
#C7CA8A #8ACAAD #8D8ACA #CA8AA7
split-complementary
#C7CA8A #8AA7CA #AD8ACA
monochromatic
#929644 #B3B760 #C7CA8A #DBDDB4 #EFF0DE

Accessibility & contrast

On white

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

On black

12.24
#C7CA8A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7CA8A
12.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7CA8A#FFFFFF#000000##000000
##C7CA8A1.001.7212.2412.24
#FFFFFF1.721.0021.0021.00
#00000012.2421.001.001.00
##00000012.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4C486
Deuteranopia (green-blind)
#D4C78D
Tritanopia (blue-blind)
#CFC2BA
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #c7ca8a;
/* rgb */ color: rgb(199, 202, 138);
/* oklch */ color: oklch(82.1% 0.084 110.4);
Tailwind
colors: {
  custom: {
    50: '#d9daac',
    500: '#c7ca8a',
    950: '#000000',
  },
}
SCSS
$custom: #c7ca8a;
$custom-light: #d9daac;
$custom-dark: #000000;
JSON
{
  "hex": "#c7ca8a",
  "rgb": {
    "r": 199,
    "g": 202,
    "b": 138
  },
  "hsl": {
    "h": 62.813,
    "s": 37.647,
    "l": 66.667
  },
  "oklch": {
    "l": 0.82144,
    "c": 0.084,
    "h": 110.4
  },
  "luminance": 0.56218
}

Semantic roles & 50–950 ramp

primary
#C7CA8A
secondary
#5E5B9D
accent
#35B13B
background
#FEFEFD
surface
#FBFBF7
border
#D4D4D0
text
#151410
muted
#848381

Preview Lab

Preview with #C7CA8A

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

Preview Lab → · Contrast checker → · Palette generator →

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