#C7CD7A#C7CD7A

#C7CD7A is a very light, moderate yellow. Relative luminance 0.572; OKLCH L 82.5% C 0.106 H 112.1°. Best body text is #000000 at 12.44:1 contrast (WCAG AA passes).

Color values

HEX#C7CD7A
RGBrgb(199, 205, 122)
HSLhsl(64, 45%, 64%)
HSVhsv(64, 40%, 80%)
CMYKcmyk(2.9%, 0%, 40.5%, 19.6%)
CIE-LABlab(80.30, -14.44, 40.57)
CIE-LCHlch(80.30, 43.07, 109.59°)
OKLaboklab(82.51% -0.04 0.0986)
OKLCHoklch(82.51% 0.106 112.1)
XYZxyz(48.8979, 57.2107, 26.8754)
Luminance0.5721 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7CD7A #807ACD
analogous
#CDAA7A #C7CD7A #9ECD7A
triadic
#C7CD7A #7AC7CD #CD7AC7
tetradic
#C7CD7A #7ACDAA #807ACD #CD7A9E
square
#C7CD7A #7ACDAA #807ACD #CD7A9E
split-complementary
#C7CD7A #7A9ECD #AA7ACD
monochromatic
#8E9538 #B4BC4E #C7CD7A #DADEA6 #ECEED3

Accessibility & contrast

On white

1.69
#C7CD7A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.44
#C7CD7A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7CD7A
12.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7CD7A#FFFFFF#000000##000000
##C7CD7A1.001.6912.4412.44
#FFFFFF1.691.0021.0021.00
#00000012.4421.001.001.00
##00000012.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C674
Deuteranopia (green-blind)
#D9C87E
Tritanopia (blue-blind)
#D1C4B9
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #c7cd7a;
/* rgb */ color: rgb(199, 205, 122);
/* oklch */ color: oklch(82.5% 0.106 112.1);
Tailwind
colors: {
  custom: {
    50: '#d9dca2',
    500: '#c7cd7a',
    950: '#000000',
  },
}
SCSS
$custom: #c7cd7a;
$custom-light: #d9dca2;
$custom-dark: #000000;
JSON
{
  "hex": "#c7cd7a",
  "rgb": {
    "r": 199,
    "g": 205,
    "b": 122
  },
  "hsl": {
    "h": 64.337,
    "s": 45.355,
    "l": 64.118
  },
  "oklch": {
    "l": 0.8251,
    "c": 0.10637,
    "h": 112.1
  },
  "luminance": 0.5721
}

Semantic roles & 50–950 ramp

primary
#C7CD7A
secondary
#56509B
accent
#2DB937
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15150F
muted
#848480

Preview Lab

Preview with #C7CD7A

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

Preview Lab → · Contrast checker → · Palette generator →

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