#C2CD57#C2CD57

#C2CD57 is a light, vivid yellow. Relative luminance 0.558; OKLCH L 81.7% C 0.142 H 114.0°. Best body text is #000000 at 12.16:1 contrast (WCAG AA passes).

Color values

HEX#C2CD57
RGBrgb(194, 205, 87)
HSLhsl(66, 54%, 57%)
HSVhsv(66, 58%, 80%)
CMYKcmyk(5.4%, 0%, 57.6%, 19.6%)
CIE-LABlab(79.51, -19.69, 56.19)
CIE-LCHlch(79.51, 59.54, 109.31°)
OKLaboklab(81.66% -0.0579 0.1299)
OKLCHoklch(81.66% 0.142 114)
XYZxyz(45.8007, 55.8209, 17.3768)
Luminance0.5582 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2CD57 #6257CD
analogous
#CD9D57 #C2CD57 #87CD57
triadic
#C2CD57 #57C2CD #CD57C2
tetradic
#C2CD57 #57CD9D #6257CD #CD5787
square
#C2CD57 #57CD9D #6257CD #CD5787
split-complementary
#C2CD57 #5787CD #9D57CD
monochromatic
#7A8327 #A6B235 #C2CD57 #D3DB86 #E4E9B5

Accessibility & contrast

On white

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

On black

12.16
#C2CD57 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2CD57
12.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2CD57#FFFFFF#000000##000000
##C2CD571.001.7312.1612.16
#FFFFFF1.731.0021.0021.00
#00000012.1621.001.001.00
##00000012.1621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c2cd57;
/* rgb */ color: rgb(194, 205, 87);
/* oklch */ color: oklch(81.7% 0.142 114.0);
Tailwind
colors: {
  custom: {
    50: '#d7dc8b',
    500: '#c2cd57',
    950: '#000000',
  },
}
SCSS
$custom: #c2cd57;
$custom-light: #d7dc8b;
$custom-dark: #000000;
JSON
{
  "hex": "#c2cd57",
  "rgb": {
    "r": 194,
    "g": 205,
    "b": 87
  },
  "hsl": {
    "h": 65.593,
    "s": 54.128,
    "l": 57.255
  },
  "oklch": {
    "l": 0.81657,
    "c": 0.14224,
    "h": 114
  },
  "luminance": 0.5582
}

Semantic roles & 50–950 ramp

primary
#C2CD57
secondary
#453E8A
accent
#4ADD58
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15150C
muted
#84847F

Preview Lab

Preview with #C2CD57

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

Preview Lab → · Contrast checker → · Palette generator →

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