#C7CD8A#C7CD8A

#C7CD8A is a very light, moderate yellow. Relative luminance 0.576; OKLCH L 82.8% C 0.088 H 112.5°. Best body text is #000000 at 12.53:1 contrast (WCAG AA passes).

Color values

HEX#C7CD8A
RGBrgb(199, 205, 138)
HSLhsl(65, 40%, 67%)
HSVhsv(65, 33%, 80%)
CMYKcmyk(2.9%, 0%, 32.7%, 19.6%)
CIE-LABlab(80.54, -12.56, 32.74)
CIE-LCHlch(80.54, 35.07, 110.99°)
OKLaboklab(82.78% -0.0336 0.0812)
OKLCHoklch(82.78% 0.088 112.5)
XYZxyz(49.9721, 57.6403, 32.5330)
Luminance0.5764 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7CD8A #908ACD
analogous
#CDB28A #C7CD8A #A6CD8A
triadic
#C7CD8A #8AC7CD #CD8AC7
tetradic
#C7CD8A #8ACDB2 #908ACD #CD8AA6
square
#C7CD8A #8ACDB2 #908ACD #CD8AA6
split-complementary
#C7CD8A #8AA6CD #B28ACD
monochromatic
#939B42 #B2BB5F #C7CD8A #DCDFB5 #F0F2E0

Accessibility & contrast

On white

1.68
#C7CD8A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.53
#C7CD8A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7CD8A
12.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7CD8A#FFFFFF#000000##000000
##C7CD8A1.001.6812.5312.53
#FFFFFF1.681.0021.0021.00
#00000012.5321.001.001.00
##00000012.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C785
Deuteranopia (green-blind)
#D7C98D
Tritanopia (blue-blind)
#CFC5BC
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #c7cd8a;
/* rgb */ color: rgb(199, 205, 138);
/* oklch */ color: oklch(82.8% 0.088 112.5);
Tailwind
colors: {
  custom: {
    50: '#d9dcad',
    500: '#c7cd8a',
    950: '#000000',
  },
}
SCSS
$custom: #c7cd8a;
$custom-light: #d9dcad;
$custom-dark: #000000;
JSON
{
  "hex": "#c7cd8a",
  "rgb": {
    "r": 199,
    "g": 205,
    "b": 138
  },
  "hsl": {
    "h": 65.373,
    "s": 40.12,
    "l": 67.255
  },
  "oklch": {
    "l": 0.8278,
    "c": 0.08789,
    "h": 112.5
  },
  "luminance": 0.5764
}

Semantic roles & 50–950 ramp

primary
#C7CD8A
secondary
#615AA1
accent
#32B33E
background
#FEFEFD
surface
#FBFBF7
border
#D4D4D0
text
#151510
muted
#848481

Preview Lab

Preview with #C7CD8A

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

Preview Lab → · Contrast checker → · Palette generator →

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