#C2CD5A#C2CD5A

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

Color values

HEX#C2CD5A
RGBrgb(194, 205, 90)
HSLhsl(66, 53%, 58%)
HSVhsv(66, 56%, 80%)
CMYKcmyk(5.4%, 0%, 56.1%, 19.6%)
CIE-LABlab(79.54, -19.46, 54.89)
CIE-LCHlch(79.54, 58.23, 109.52°)
OKLaboklab(81.69% -0.0569 0.1275)
OKLCHoklch(81.69% 0.14 114.1)
XYZxyz(45.9259, 55.8709, 18.0357)
Luminance0.5587 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2CD5A #655ACD
analogous
#CD9E5A #C2CD5A #88CD5A
triadic
#C2CD5A #5AC2CD #CD5AC2
tetradic
#C2CD5A #5ACD9E #655ACD #CD5A88
square
#C2CD5A #5ACD9E #655ACD #CD5A88
split-complementary
#C2CD5A #5A88CD #9E5ACD
monochromatic
#7C8428 #A7B336 #C2CD5A #D3DB89 #E5E9B8

Accessibility & contrast

On white

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

On black

12.17
#C2CD5A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2CD5A
12.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2CD5A#FFFFFF#000000##000000
##C2CD5A1.001.7212.1712.17
#FFFFFF1.721.0021.0021.00
#00000012.1721.001.001.00
##00000012.1721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c2cd5a;
/* rgb */ color: rgb(194, 205, 90);
/* oklch */ color: oklch(81.7% 0.140 114.1);
Tailwind
colors: {
  custom: {
    50: '#d7dc8c',
    500: '#c2cd5a',
    950: '#000000',
  },
}
SCSS
$custom: #c2cd5a;
$custom-light: #d7dc8c;
$custom-dark: #000000;
JSON
{
  "hex": "#c2cd5a",
  "rgb": {
    "r": 194,
    "g": 205,
    "b": 90
  },
  "hsl": {
    "h": 65.739,
    "s": 53.488,
    "l": 57.843
  },
  "oklch": {
    "l": 0.81689,
    "c": 0.13962,
    "h": 114.1
  },
  "luminance": 0.5587
}

Semantic roles & 50–950 ramp

primary
#C2CD5A
secondary
#47408C
accent
#4BDD59
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15150C
muted
#84847F

Preview Lab

Preview with #C2CD5A

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

Preview Lab → · Contrast checker → · Palette generator →

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