#C2CD7B#C2CD7B

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

Color values

HEX#C2CD7B
RGBrgb(194, 205, 123)
HSLhsl(68, 45%, 64%)
HSVhsv(68, 40%, 80%)
CMYKcmyk(5.4%, 0%, 40%, 19.6%)
CIE-LABlab(79.93, -16.29, 39.53)
CIE-LCHlch(79.93, 42.75, 112.39°)
OKLaboklab(82.13% -0.045 0.0963)
OKLCHoklch(82.13% 0.106 115)
XYZxyz(47.6550, 56.5626, 27.1423)
Luminance0.5656 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2CD7B #867BCD
analogous
#CDAF7B #C2CD7B #99CD7B
triadic
#C2CD7B #7BC2CD #CD7BC2
tetradic
#C2CD7B #7BCDAF #867BCD #CD7B99
square
#C2CD7B #7BCDAF #867BCD #CD7B99
split-complementary
#C2CD7B #7B99CD #AF7BCD
monochromatic
#899538 #ADBC4F #C2CD7B #D7DEA7 #EBEFD4

Accessibility & contrast

On white

1.71
#C2CD7B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.31
#C2CD7B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2CD7B
12.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2CD7B#FFFFFF#000000##000000
##C2CD7B1.001.7112.3112.31
#FFFFFF1.711.0021.0021.00
#00000012.3121.001.001.00
##00000012.3121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c2cd7b;
/* rgb */ color: rgb(194, 205, 123);
/* oklch */ color: oklch(82.1% 0.106 115.0);
Tailwind
colors: {
  custom: {
    50: '#d5dca2',
    500: '#c2cd7b',
    950: '#000000',
  },
}
SCSS
$custom: #c2cd7b;
$custom-light: #d5dca2;
$custom-dark: #000000;
JSON
{
  "hex": "#c2cd7b",
  "rgb": {
    "r": 194,
    "g": 205,
    "b": 123
  },
  "hsl": {
    "h": 68.049,
    "s": 45.055,
    "l": 64.314
  },
  "oklch": {
    "l": 0.8213,
    "c": 0.10628,
    "h": 115
  },
  "luminance": 0.56562
}

Semantic roles & 50–950 ramp

primary
#C2CD7B
secondary
#5B519B
accent
#2DB840
background
#FEFEFC
surface
#FBFCF5
border
#D4D5CF
text
#14150F
muted
#838480

Preview Lab

Preview with #C2CD7B

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

Preview Lab → · Contrast checker → · Palette generator →

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