#C2CD5F#C2CD5F

#C2CD5F is a light, vivid yellow. Relative luminance 0.560; OKLCH L 81.7% C 0.135 H 114.2°. Best body text is #000000 at 12.19:1 contrast (WCAG AA passes).

Color values

HEX#C2CD5F
RGBrgb(194, 205, 95)
HSLhsl(66, 52%, 59%)
HSVhsv(66, 54%, 80%)
CMYKcmyk(5.4%, 0%, 53.7%, 19.6%)
CIE-LABlab(79.59, -19.05, 52.67)
CIE-LCHlch(79.59, 56.01, 109.88°)
OKLaboklab(81.75% -0.0553 0.1233)
OKLCHoklch(81.75% 0.135 114.2)
XYZxyz(46.1459, 55.9589, 19.1945)
Luminance0.5596 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2CD5F #6A5FCD
analogous
#CDA15F #C2CD5F #8BCD5F
triadic
#C2CD5F #5FC2CD #CD5FC2
tetradic
#C2CD5F #5FCDA1 #6A5FCD #CD5F8B
square
#C2CD5F #5FCDA1 #6A5FCD #CD5F8B
split-complementary
#C2CD5F #5F8BCD #A15FCD
monochromatic
#7E872A #A9B639 #C2CD5F #D4DC8E #E6EABC

Accessibility & contrast

On white

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

On black

12.19
#C2CD5F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2CD5F
12.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2CD5F#FFFFFF#000000##000000
##C2CD5F1.001.7212.1912.19
#FFFFFF1.721.0021.0021.00
#00000012.1921.001.001.00
##00000012.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC454
Deuteranopia (green-blind)
#DAC665
Tritanopia (blue-blind)
#CDC3B5
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #c2cd5f;
/* rgb */ color: rgb(194, 205, 95);
/* oklch */ color: oklch(81.7% 0.135 114.2);
Tailwind
colors: {
  custom: {
    50: '#d7dc90',
    500: '#c2cd5f',
    950: '#000000',
  },
}
SCSS
$custom: #c2cd5f;
$custom-light: #d7dc90;
$custom-dark: #000000;
JSON
{
  "hex": "#c2cd5f",
  "rgb": {
    "r": 194,
    "g": 205,
    "b": 95
  },
  "hsl": {
    "h": 66,
    "s": 52.381,
    "l": 58.824
  },
  "oklch": {
    "l": 0.81745,
    "c": 0.13508,
    "h": 114.2
  },
  "luminance": 0.55958
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C2CD5F

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

Preview Lab → · Contrast checker → · Palette generator →

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