#C2CD4F#C2CD4F

#C2CD4F is a light, vivid yellow. Relative luminance 0.557; OKLCH L 81.6% C 0.149 H 113.9°. Best body text is #000000 at 12.14:1 contrast (WCAG AA passes).

Color values

HEX#C2CD4F
RGBrgb(194, 205, 79)
HSLhsl(65, 56%, 56%)
HSVhsv(65, 61%, 80%)
CMYKcmyk(5.4%, 0%, 61.5%, 19.6%)
CIE-LABlab(79.44, -20.27, 59.57)
CIE-LCHlch(79.44, 62.92, 108.79°)
OKLaboklab(81.58% -0.0604 0.1361)
OKLCHoklch(81.58% 0.149 113.9)
XYZxyz(45.4918, 55.6973, 15.7498)
Luminance0.5570 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2CD4F #5A4FCD
analogous
#CD994F #C2CD4F #83CD4F
triadic
#C2CD4F #4FC2CD #CD4FC2
tetradic
#C2CD4F #4FCD99 #5A4FCD #CD4F83
square
#C2CD4F #4FCD99 #5A4FCD #CD4F83
split-complementary
#C2CD4F #4F83CD #994FCD
monochromatic
#767E24 #A3AE31 #C2CD4F #D3DB7F #E3E8AE

Accessibility & contrast

On white

1.73
#C2CD4F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.14
#C2CD4F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2CD4F
12.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2CD4F#FFFFFF#000000##000000
##C2CD4F1.001.7312.1412.14
#FFFFFF1.731.0021.0021.00
#00000012.1421.001.001.00
##00000012.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC440
Deuteranopia (green-blind)
#DBC657
Tritanopia (blue-blind)
#CEC2B3
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #c2cd4f;
/* rgb */ color: rgb(194, 205, 79);
/* oklch */ color: oklch(81.6% 0.149 113.9);
Tailwind
colors: {
  custom: {
    50: '#d7dc86',
    500: '#c2cd4f',
    950: '#000000',
  },
}
SCSS
$custom: #c2cd4f;
$custom-light: #d7dc86;
$custom-dark: #000000;
JSON
{
  "hex": "#c2cd4f",
  "rgb": {
    "r": 194,
    "g": 205,
    "b": 79
  },
  "hsl": {
    "h": 65.238,
    "s": 55.752,
    "l": 55.686
  },
  "oklch": {
    "l": 0.81578,
    "c": 0.14887,
    "h": 113.9
  },
  "luminance": 0.55696
}

Semantic roles & 50–950 ramp

primary
#C2CD4F
secondary
#413B86
accent
#49DF56
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15150B
muted
#84847E

Preview Lab

Preview with #C2CD4F

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

Preview Lab → · Contrast checker → · Palette generator →

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