#C2CD5D#C2CD5D

#C2CD5D is a light, vivid yellow. Relative luminance 0.559; OKLCH L 81.7% C 0.137 H 114.1°. Best body text is #000000 at 12.18:1 contrast (WCAG AA passes).

Color values

HEX#C2CD5D
RGBrgb(194, 205, 93)
HSLhsl(66, 53%, 58%)
HSVhsv(66, 55%, 80%)
CMYKcmyk(5.4%, 0%, 54.6%, 19.6%)
CIE-LABlab(79.57, -19.22, 53.56)
CIE-LCHlch(79.57, 56.90, 109.74°)
OKLaboklab(81.72% -0.0559 0.125)
OKLCHoklch(81.72% 0.137 114.1)
XYZxyz(46.0561, 55.9230, 18.7218)
Luminance0.5592 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2CD5D #685DCD
analogous
#CDA05D #C2CD5D #8ACD5D
triadic
#C2CD5D #5DC2CD #CD5DC2
tetradic
#C2CD5D #5DCDA0 #685DCD #CD5D8A
square
#C2CD5D #5DCDA0 #685DCD #CD5D8A
split-complementary
#C2CD5D #5D8ACD #A05DCD
monochromatic
#7D8629 #A9B538 #C2CD5D #D4DB8C #E5EABB

Accessibility & contrast

On white

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

On black

12.18
#C2CD5D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2CD5D
12.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2CD5D#FFFFFF#000000##000000
##C2CD5D1.001.7212.1812.18
#FFFFFF1.721.0021.0021.00
#00000012.1821.001.001.00
##00000012.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC452
Deuteranopia (green-blind)
#DAC663
Tritanopia (blue-blind)
#CDC2B4
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #c2cd5d;
/* rgb */ color: rgb(194, 205, 93);
/* oklch */ color: oklch(81.7% 0.137 114.1);
Tailwind
colors: {
  custom: {
    50: '#d7dc8e',
    500: '#c2cd5d',
    950: '#000000',
  },
}
SCSS
$custom: #c2cd5d;
$custom-light: #d7dc8e;
$custom-dark: #000000;
JSON
{
  "hex": "#c2cd5d",
  "rgb": {
    "r": 194,
    "g": 205,
    "b": 93
  },
  "hsl": {
    "h": 65.893,
    "s": 52.83,
    "l": 58.431
  },
  "oklch": {
    "l": 0.81722,
    "c": 0.13692,
    "h": 114.1
  },
  "luminance": 0.55922
}

Semantic roles & 50–950 ramp

primary
#C2CD5D
secondary
#48418D
accent
#4CDC5A
background
#FEFEFC
surface
#FBFBF4
border
#D4D4CE
text
#15150D
muted
#84847F

Preview Lab

Preview with #C2CD5D

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

Preview Lab → · Contrast checker → · Palette generator →

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