#C1CD42#C1CD42

#C1CD42 is a light, vivid yellow. Relative luminance 0.554; OKLCH L 81.4% C 0.159 H 114.2°. Best body text is #000000 at 12.08:1 contrast (WCAG AA passes).

Color values

HEX#C1CD42
RGBrgb(193, 205, 66)
HSLhsl(65, 58%, 53%)
HSVhsv(65, 68%, 80%)
CMYKcmyk(5.9%, 0%, 67.8%, 19.6%)
CIE-LABlab(79.27, -21.49, 64.56)
CIE-LCHlch(79.27, 68.05, 108.41°)
OKLaboklab(81.39% -0.065 0.1447)
OKLCHoklch(81.39% 0.159 114.2)
XYZxyz(44.8082, 55.3943, 13.4849)
Luminance0.5539 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C1CD42 #4E42CD
analogous
#CD9342 #C1CD42 #7BCD42
triadic
#C1CD42 #42C1CD #CD42C1
tetradic
#C1CD42 #42CD93 #4E42CD #CD427B
square
#C1CD42 #42CD93 #4E42CD #CD427B
split-complementary
#C1CD42 #427BCD #9342CD
monochromatic
#6E761F #9BA62C #C1CD42 #D1DA72 #E1E7A3

Accessibility & contrast

On white

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

On black

12.08
#C1CD42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C1CD42
12.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C1CD42#FFFFFF#000000##000000
##C1CD421.001.7412.0812.08
#FFFFFF1.741.0021.0021.00
#00000012.0821.001.001.00
##00000012.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC32D
Deuteranopia (green-blind)
#DBC64C
Tritanopia (blue-blind)
#CDC1B1
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #c1cd42;
/* rgb */ color: rgb(193, 205, 66);
/* oklch */ color: oklch(81.4% 0.159 114.2);
Tailwind
colors: {
  custom: {
    50: '#d7dc7e',
    500: '#c1cd42',
    950: '#000000',
  },
}
SCSS
$custom: #c1cd42;
$custom-light: #d7dc7e;
$custom-dark: #000000;
JSON
{
  "hex": "#c1cd42",
  "rgb": {
    "r": 193,
    "g": 205,
    "b": 66
  },
  "hsl": {
    "h": 65.18,
    "s": 58.159,
    "l": 53.137
  },
  "oklch": {
    "l": 0.81389,
    "c": 0.15865,
    "h": 114.2
  },
  "luminance": 0.55393
}

Semantic roles & 50–950 ramp

primary
#C1CD42
secondary
#3B357E
accent
#46E154
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15150A
muted
#84847D

Preview Lab

Preview with #C1CD42

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

Preview Lab → · Contrast checker → · Palette generator →

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