#C1CD40#C1CD40

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

Color values

HEX#C1CD40
RGBrgb(193, 205, 64)
HSLhsl(65, 59%, 53%)
HSVhsv(65, 69%, 80%)
CMYKcmyk(5.9%, 0%, 68.8%, 19.6%)
CIE-LABlab(79.25, -21.60, 65.30)
CIE-LCHlch(79.25, 68.78, 108.31°)
OKLaboklab(81.37% -0.0655 0.146)
OKLCHoklch(81.37% 0.16 114.2)
XYZxyz(44.7503, 55.3711, 13.1798)
Luminance0.5537 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C1CD40 #4C40CD
analogous
#CD9240 #C1CD40 #7BCD40
triadic
#C1CD40 #40C1CD #CD40C1
tetradic
#C1CD40 #40CD92 #4C40CD #CD407B
square
#C1CD40 #40CD92 #4C40CD #CD407B
split-complementary
#C1CD40 #407BCD #9240CD
monochromatic
#6D741E #9AA52B #C1CD40 #D1DA71 #E0E6A1

Accessibility & contrast

On white

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

On black

12.07
#C1CD40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C1CD40
12.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C1CD40#FFFFFF#000000##000000
##C1CD401.001.7412.0712.07
#FFFFFF1.741.0021.0021.00
#00000012.0721.001.001.00
##00000012.0721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c1cd40;
/* rgb */ color: rgb(193, 205, 64);
/* oklch */ color: oklch(81.4% 0.160 114.2);
Tailwind
colors: {
  custom: {
    50: '#d7dc7d',
    500: '#c1cd40',
    950: '#000000',
  },
}
SCSS
$custom: #c1cd40;
$custom-light: #d7dc7d;
$custom-dark: #000000;
JSON
{
  "hex": "#c1cd40",
  "rgb": {
    "r": 193,
    "g": 205,
    "b": 64
  },
  "hsl": {
    "h": 65.106,
    "s": 58.506,
    "l": 52.745
  },
  "oklch": {
    "l": 0.81374,
    "c": 0.15998,
    "h": 114.2
  },
  "luminance": 0.5537
}

Semantic roles & 50–950 ramp

primary
#C1CD40
secondary
#3A347D
accent
#46E253
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15150A
muted
#84847D

Preview Lab

Preview with #C1CD40

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

Preview Lab → · Contrast checker → · Palette generator →

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