#C2CD3F#C2CD3F

#C2CD3F is a light, vivid yellow. Relative luminance 0.555; OKLCH L 81.4% C 0.160 H 113.8°. Best body text is #000000 at 12.10:1 contrast (WCAG AA passes).

Color values

HEX#C2CD3F
RGBrgb(194, 205, 63)
HSLhsl(65, 59%, 53%)
HSVhsv(65, 69%, 80%)
CMYKcmyk(5.4%, 0%, 69.3%, 19.6%)
CIE-LABlab(79.32, -21.24, 65.76)
CIE-LCHlch(79.32, 69.11, 107.90°)
OKLaboklab(81.45% -0.0647 0.1467)
OKLCHoklch(81.45% 0.16 113.8)
XYZxyz(44.9779, 55.4917, 13.0433)
Luminance0.5549 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2CD3F #4A3FCD
analogous
#CD913F #C2CD3F #7BCD3F
triadic
#C2CD3F #3FC2CD #CD3FC2
tetradic
#C2CD3F #3FCD91 #4A3FCD #CD3F7B
square
#C2CD3F #3FCD91 #4A3FCD #CD3F7B
split-complementary
#C2CD3F #3F7BCD #913FCD
monochromatic
#6D741E #9BA42B #C2CD3F #D1DA70 #E1E6A0

Accessibility & contrast

On white

1.74
#C2CD3F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.10
#C2CD3F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2CD3F
12.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2CD3F#FFFFFF#000000##000000
##C2CD3F1.001.7412.1012.10
#FFFFFF1.741.0021.0021.00
#00000012.1021.001.001.00
##00000012.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC328
Deuteranopia (green-blind)
#DCC64A
Tritanopia (blue-blind)
#CFC1B1
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #c2cd3f;
/* rgb */ color: rgb(194, 205, 63);
/* oklch */ color: oklch(81.4% 0.160 113.8);
Tailwind
colors: {
  custom: {
    50: '#d8dc7d',
    500: '#c2cd3f',
    950: '#000000',
  },
}
SCSS
$custom: #c2cd3f;
$custom-light: #d8dc7d;
$custom-dark: #000000;
JSON
{
  "hex": "#c2cd3f",
  "rgb": {
    "r": 194,
    "g": 205,
    "b": 63
  },
  "hsl": {
    "h": 64.648,
    "s": 58.678,
    "l": 52.549
  },
  "oklch": {
    "l": 0.81446,
    "c": 0.16035,
    "h": 113.8
  },
  "luminance": 0.55491
}

Semantic roles & 50–950 ramp

primary
#C2CD3F
secondary
#3A347C
accent
#46E252
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15150A
muted
#84847D

Preview Lab

Preview with #C2CD3F

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

Preview Lab → · Contrast checker → · Palette generator →

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