#C0CD72#C0CD72

#C0CD72 is a light, moderate yellow. Relative luminance 0.561; OKLCH L 81.8% C 0.117 H 115.7°. Best body text is #000000 at 12.22:1 contrast (WCAG AA passes).

Color values

HEX#C0CD72
RGBrgb(192, 205, 114)
HSLhsl(69, 48%, 63%)
HSVhsv(69, 44%, 80%)
CMYKcmyk(6.3%, 0%, 44.4%, 19.6%)
CIE-LABlab(79.66, -18.05, 43.64)
CIE-LCHlch(79.66, 47.23, 112.47°)
OKLaboklab(81.84% -0.0506 0.1051)
OKLCHoklch(81.84% 0.117 115.7)
XYZxyz(46.6073, 56.0845, 24.2864)
Luminance0.5608 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C0CD72 #7F72CD
analogous
#CDAC72 #C0CD72 #93CD72
triadic
#C0CD72 #72C0CD #CD72C0
tetradic
#C0CD72 #72CDAC #7F72CD #CD7293
square
#C0CD72 #72CDAC #7F72CD #CD7293
split-complementary
#C0CD72 #7293CD #AC72CD
monochromatic
#849133 #ACBD45 #C0CD72 #D4DD9F #E8EDCC

Accessibility & contrast

On white

1.72
#C0CD72 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.22
#C0CD72 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C0CD72
12.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C0CD72#FFFFFF#000000##000000
##C0CD721.001.7212.2212.22
#FFFFFF1.721.0021.0021.00
#00000012.2221.001.001.00
##00000012.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C56B
Deuteranopia (green-blind)
#D7C677
Tritanopia (blue-blind)
#C9C4B7
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #c0cd72;
/* rgb */ color: rgb(192, 205, 114);
/* oklch */ color: oklch(81.8% 0.117 115.7);
Tailwind
colors: {
  custom: {
    50: '#d4dc9c',
    500: '#c0cd72',
    950: '#000000',
  },
}
SCSS
$custom: #c0cd72;
$custom-light: #d4dc9c;
$custom-dark: #000000;
JSON
{
  "hex": "#c0cd72",
  "rgb": {
    "r": 192,
    "g": 205,
    "b": 114
  },
  "hsl": {
    "h": 68.571,
    "s": 47.644,
    "l": 62.549
  },
  "oklch": {
    "l": 0.81837,
    "c": 0.1166,
    "h": 115.7
  },
  "luminance": 0.56084
}

Semantic roles & 50–950 ramp

primary
#C0CD72
secondary
#574C97
accent
#2BBB3F
background
#FEFEFC
surface
#FBFCF5
border
#D4D5CF
text
#14150E
muted
#83847F

Preview Lab

Preview with #C0CD72

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

Preview Lab → · Contrast checker → · Palette generator →

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