#C1CD2A#C1CD2A

#C1CD2A is a light, vivid yellow. Relative luminance 0.552; OKLCH L 81.2% C 0.172 H 114.0°. Best body text is #000000 at 12.03:1 contrast (WCAG AA passes).

Color values

HEX#C1CD2A
RGBrgb(193, 205, 42)
HSLhsl(64, 66%, 48%)
HSVhsv(64, 80%, 80%)
CMYKcmyk(5.9%, 0%, 79.5%, 19.6%)
CIE-LABlab(79.14, -22.58, 72.29)
CIE-LCHlch(79.14, 75.74, 107.34°)
OKLaboklab(81.24% -0.0701 0.157)
OKLCHoklch(81.24% 0.172 114)
XYZxyz(44.2430, 55.1682, 10.5079)
Luminance0.5517 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C1CD2A #362ACD
analogous
#CD872A #C1CD2A #6FCD2A
triadic
#C1CD2A #2AC1CD #CD2AC1
tetradic
#C1CD2A #2ACD87 #362ACD #CD2A6F
square
#C1CD2A #2ACD87 #362ACD #CD2A6F
split-complementary
#C1CD2A #2A6FCD #872ACD
monochromatic
#616715 #919A20 #C1CD2A #D3DD58 #E0E78A

Accessibility & contrast

On white

1.75
#C1CD2A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.03
#C1CD2A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C1CD2A
12.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C1CD2A#FFFFFF#000000##000000
##C1CD2A1.001.7512.0312.03
#FFFFFF1.751.0021.0021.00
#00000012.0321.001.001.00
##00000012.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC300
Deuteranopia (green-blind)
#DCC53A
Tritanopia (blue-blind)
#CEC0B0
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #c1cd2a;
/* rgb */ color: rgb(193, 205, 42);
/* oklch */ color: oklch(81.2% 0.172 114.0);
Tailwind
colors: {
  custom: {
    50: '#d8dc73',
    500: '#c1cd2a',
    950: '#000000',
  },
}
SCSS
$custom: #c1cd2a;
$custom-light: #d8dc73;
$custom-dark: #000000;
JSON
{
  "hex": "#c1cd2a",
  "rgb": {
    "r": 193,
    "g": 205,
    "b": 42
  },
  "hsl": {
    "h": 64.417,
    "s": 65.992,
    "l": 48.431
  },
  "oklch": {
    "l": 0.81243,
    "c": 0.17193,
    "h": 114
  },
  "luminance": 0.55167
}

Semantic roles & 50–950 ramp

primary
#C1CD2A
secondary
#2F2A71
accent
#3FE94B
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#151509
muted
#84847D

Preview Lab

Preview with #C1CD2A

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

Preview Lab → · Contrast checker → · Palette generator →

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