#C0CD4F#C0CD4F

#C0CD4F is a light, vivid yellow. Relative luminance 0.554; OKLCH L 81.4% C 0.149 H 114.7°. Best body text is #000000 at 12.09:1 contrast (WCAG AA passes).

Color values

HEX#C0CD4F
RGBrgb(192, 205, 79)
HSLhsl(66, 56%, 56%)
HSVhsv(66, 61%, 80%)
CMYKcmyk(6.3%, 0%, 61.5%, 19.6%)
CIE-LABlab(79.29, -21.09, 59.36)
CIE-LCHlch(79.29, 63.00, 109.56°)
OKLaboklab(81.42% -0.0625 0.1357)
OKLCHoklch(81.42% 0.149 114.7)
XYZxyz(44.9819, 55.4344, 15.7259)
Luminance0.5543 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C0CD4F #5C4FCD
analogous
#CD9B4F #C0CD4F #81CD4F
triadic
#C0CD4F #4FC0CD #CD4FC0
tetradic
#C0CD4F #4FCD9B #5C4FCD #CD4F81
square
#C0CD4F #4FCD9B #5C4FCD #CD4F81
split-complementary
#C0CD4F #4F81CD #9B4FCD
monochromatic
#757E24 #A1AE31 #C0CD4F #D1DB7F #E2E8AE

Accessibility & contrast

On white

1.74
#C0CD4F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.09
#C0CD4F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C0CD4F
12.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C0CD4F#FFFFFF#000000##000000
##C0CD4F1.001.7412.0912.09
#FFFFFF1.741.0021.0021.00
#00000012.0921.001.001.00
##00000012.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC340
Deuteranopia (green-blind)
#DAC657
Tritanopia (blue-blind)
#CCC2B3
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #c0cd4f;
/* rgb */ color: rgb(192, 205, 79);
/* oklch */ color: oklch(81.4% 0.149 114.7);
Tailwind
colors: {
  custom: {
    50: '#d6dc86',
    500: '#c0cd4f',
    950: '#000000',
  },
}
SCSS
$custom: #c0cd4f;
$custom-light: #d6dc86;
$custom-dark: #000000;
JSON
{
  "hex": "#c0cd4f",
  "rgb": {
    "r": 192,
    "g": 205,
    "b": 79
  },
  "hsl": {
    "h": 66.19,
    "s": 55.752,
    "l": 55.686
  },
  "oklch": {
    "l": 0.8142,
    "c": 0.1494,
    "h": 114.7
  },
  "luminance": 0.55434
}

Semantic roles & 50–950 ramp

primary
#C0CD4F
secondary
#423B86
accent
#49DF58
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15150B
muted
#84847E

Preview Lab

Preview with #C0CD4F

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

Preview Lab → · Contrast checker → · Palette generator →

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