#C2CD7C#C2CD7C

#C2CD7C is a very light, moderate yellow. Relative luminance 0.566; OKLCH L 82.1% C 0.105 H 115.1°. Best body text is #000000 at 12.32:1 contrast (WCAG AA passes).

Color values

HEX#C2CD7C
RGBrgb(194, 205, 124)
HSLhsl(68, 45%, 65%)
HSVhsv(68, 40%, 80%)
CMYKcmyk(5.4%, 0%, 39.5%, 19.6%)
CIE-LABlab(79.95, -16.17, 39.05)
CIE-LCHlch(79.95, 42.26, 112.50°)
OKLaboklab(82.15% -0.0446 0.0952)
OKLCHoklch(82.15% 0.105 115.1)
XYZxyz(47.7179, 56.5877, 27.4736)
Luminance0.5659 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2CD7C #877CCD
analogous
#CDB07C #C2CD7C #9ACD7C
triadic
#C2CD7C #7CC2CD #CD7CC2
tetradic
#C2CD7C #7CCDB0 #877CCD #CD7C9A
square
#C2CD7C #7CCDB0 #877CCD #CD7C9A
split-complementary
#C2CD7C #7C9ACD #B07CCD
monochromatic
#899639 #ADBC50 #C2CD7C #D7DEA8 #EBEFD5

Accessibility & contrast

On white

1.70
#C2CD7C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.32
#C2CD7C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2CD7C
12.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2CD7C#FFFFFF#000000##000000
##C2CD7C1.001.7012.3212.32
#FFFFFF1.701.0021.0021.00
#00000012.3221.001.001.00
##00000012.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C676
Deuteranopia (green-blind)
#D7C780
Tritanopia (blue-blind)
#CBC5B9
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #c2cd7c;
/* rgb */ color: rgb(194, 205, 124);
/* oklch */ color: oklch(82.1% 0.105 115.1);
Tailwind
colors: {
  custom: {
    50: '#d5dca3',
    500: '#c2cd7c',
    950: '#000000',
  },
}
SCSS
$custom: #c2cd7c;
$custom-light: #d5dca3;
$custom-dark: #000000;
JSON
{
  "hex": "#c2cd7c",
  "rgb": {
    "r": 194,
    "g": 205,
    "b": 124
  },
  "hsl": {
    "h": 68.148,
    "s": 44.751,
    "l": 64.51
  },
  "oklch": {
    "l": 0.82146,
    "c": 0.10515,
    "h": 115.1
  },
  "luminance": 0.56587
}

Semantic roles & 50–950 ramp

primary
#C2CD7C
secondary
#5C519C
accent
#2EB840
background
#FEFEFC
surface
#FBFCF5
border
#D4D5CF
text
#14150F
muted
#838480

Preview Lab

Preview with #C2CD7C

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

Preview Lab → · Contrast checker → · Palette generator →

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