#C7CA88#C7CA88

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

Color values

HEX#C7CA88
RGBrgb(199, 202, 136)
HSLhsl(63, 38%, 66%)
HSVhsv(63, 33%, 79%)
CMYKcmyk(1.5%, 0%, 32.7%, 20.8%)
CIE-LABlab(79.71, -11.28, 32.68)
CIE-LCHlch(79.71, 34.57, 109.05°)
OKLaboklab(82.11% -0.0301 0.081)
OKLCHoklch(82.11% 0.086 110.4)
XYZxyz(49.1179, 56.1615, 31.5405)
Luminance0.5616 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7CA88 #8B88CA
analogous
#CAAC88 #C7CA88 #A6CA88
triadic
#C7CA88 #88C7CA #CA88C7
tetradic
#C7CA88 #88CAAC #8B88CA #CA88A6
square
#C7CA88 #88CAAC #8B88CA #CA88A6
split-complementary
#C7CA88 #88A6CA #AC88CA
monochromatic
#919542 #B3B75E #C7CA88 #DBDDB2 #EFF0DD

Accessibility & contrast

On white

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

On black

12.23
#C7CA88 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7CA88
12.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7CA88#FFFFFF#000000##000000
##C7CA881.001.7212.2312.23
#FFFFFF1.721.0021.0021.00
#00000012.2321.001.001.00
##00000012.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4C483
Deuteranopia (green-blind)
#D5C78B
Tritanopia (blue-blind)
#D0C2B9
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #c7ca88;
/* rgb */ color: rgb(199, 202, 136);
/* oklch */ color: oklch(82.1% 0.086 110.4);
Tailwind
colors: {
  custom: {
    50: '#d9daab',
    500: '#c7ca88',
    950: '#000000',
  },
}
SCSS
$custom: #c7ca88;
$custom-light: #d9daab;
$custom-dark: #000000;
JSON
{
  "hex": "#c7ca88",
  "rgb": {
    "r": 199,
    "g": 202,
    "b": 136
  },
  "hsl": {
    "h": 62.727,
    "s": 38.372,
    "l": 66.275
  },
  "oklch": {
    "l": 0.82107,
    "c": 0.0864,
    "h": 110.4
  },
  "luminance": 0.56161
}

Semantic roles & 50–950 ramp

primary
#C7CA88
secondary
#5D5A9C
accent
#34B13A
background
#FEFEFD
surface
#FBFBF7
border
#D4D4D0
text
#151410
muted
#848381

Preview Lab

Preview with #C7CA88

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

Preview Lab → · Contrast checker → · Palette generator →

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