#C2CD5B#C2CD5B

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

Color values

HEX#C2CD5B
RGBrgb(194, 205, 91)
HSLhsl(66, 53%, 58%)
HSVhsv(66, 56%, 80%)
CMYKcmyk(5.4%, 0%, 55.6%, 19.6%)
CIE-LABlab(79.55, -19.38, 54.45)
CIE-LCHlch(79.55, 57.79, 109.59°)
OKLaboklab(81.7% -0.0566 0.1267)
OKLCHoklch(81.7% 0.139 114.1)
XYZxyz(45.9687, 55.8881, 18.2614)
Luminance0.5589 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2CD5B #665BCD
analogous
#CD9F5B #C2CD5B #89CD5B
triadic
#C2CD5B #5BC2CD #CD5BC2
tetradic
#C2CD5B #5BCD9F #665BCD #CD5B89
square
#C2CD5B #5BCD9F #665BCD #CD5B89
split-complementary
#C2CD5B #5B89CD #9F5BCD
monochromatic
#7C8529 #A8B437 #C2CD5B #D3DB8A #E5EAB9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C2CD5B#FFFFFF#000000##000000
##C2CD5B1.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)
#DAC44F
Deuteranopia (green-blind)
#DAC662
Tritanopia (blue-blind)
#CDC2B4
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #c2cd5b;
/* rgb */ color: rgb(194, 205, 91);
/* oklch */ color: oklch(81.7% 0.139 114.1);
Tailwind
colors: {
  custom: {
    50: '#d7dc8d',
    500: '#c2cd5b',
    950: '#000000',
  },
}
SCSS
$custom: #c2cd5b;
$custom-light: #d7dc8d;
$custom-dark: #000000;
JSON
{
  "hex": "#c2cd5b",
  "rgb": {
    "r": 194,
    "g": 205,
    "b": 91
  },
  "hsl": {
    "h": 65.789,
    "s": 53.271,
    "l": 58.039
  },
  "oklch": {
    "l": 0.817,
    "c": 0.13873,
    "h": 114.1
  },
  "luminance": 0.55887
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C2CD5B

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

Preview Lab → · Contrast checker → · Palette generator →

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