#C2CD72#C2CD72

#C2CD72 is a light, moderate yellow. Relative luminance 0.563; OKLCH L 82.0% C 0.116 H 114.7°. Best body text is #000000 at 12.27:1 contrast (WCAG AA passes).

Color values

HEX#C2CD72
RGBrgb(194, 205, 114)
HSLhsl(67, 48%, 63%)
HSVhsv(67, 44%, 80%)
CMYKcmyk(5.4%, 0%, 44.4%, 19.6%)
CIE-LABlab(79.81, -17.26, 43.86)
CIE-LCHlch(79.81, 47.14, 111.48°)
OKLaboklab(81.99% -0.0484 0.1055)
OKLCHoklch(81.99% 0.116 114.7)
XYZxyz(47.1173, 56.3475, 24.3104)
Luminance0.5635 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2CD72 #7D72CD
analogous
#CDAB72 #C2CD72 #94CD72
triadic
#C2CD72 #72C2CD #CD72C2
tetradic
#C2CD72 #72CDAB #7D72CD #CD7294
square
#C2CD72 #72CDAB #7D72CD #CD7294
split-complementary
#C2CD72 #7294CD #AB72CD
monochromatic
#869133 #AEBD45 #C2CD72 #D6DD9F #E9EDCC

Accessibility & contrast

On white

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

On black

12.27
#C2CD72 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2CD72
12.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2CD72#FFFFFF#000000##000000
##C2CD721.001.7112.2712.27
#FFFFFF1.711.0021.0021.00
#00000012.2721.001.001.00
##00000012.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C56A
Deuteranopia (green-blind)
#D8C777
Tritanopia (blue-blind)
#CBC4B7
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #c2cd72;
/* rgb */ color: rgb(194, 205, 114);
/* oklch */ color: oklch(82.0% 0.116 114.7);
Tailwind
colors: {
  custom: {
    50: '#d6dc9c',
    500: '#c2cd72',
    950: '#000000',
  },
}
SCSS
$custom: #c2cd72;
$custom-light: #d6dc9c;
$custom-dark: #000000;
JSON
{
  "hex": "#c2cd72",
  "rgb": {
    "r": 194,
    "g": 205,
    "b": 114
  },
  "hsl": {
    "h": 67.253,
    "s": 47.644,
    "l": 62.549
  },
  "oklch": {
    "l": 0.81993,
    "c": 0.1161,
    "h": 114.7
  },
  "luminance": 0.56347
}

Semantic roles & 50–950 ramp

primary
#C2CD72
secondary
#554C97
accent
#2BBB3C
background
#FEFEFC
surface
#FBFBF5
border
#D4D4CF
text
#14150E
muted
#83847F

Preview Lab

Preview with #C2CD72

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

Preview Lab → · Contrast checker → · Palette generator →

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