#C2CD40#C2CD40

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

Color values

HEX#C2CD40
RGBrgb(194, 205, 64)
HSLhsl(65, 59%, 53%)
HSVhsv(65, 69%, 80%)
CMYKcmyk(5.4%, 0%, 68.8%, 19.6%)
CIE-LABlab(79.33, -21.19, 65.40)
CIE-LCHlch(79.33, 68.75, 107.95°)
OKLaboklab(81.45% -0.0644 0.1461)
OKLCHoklch(81.45% 0.16 113.8)
XYZxyz(45.0061, 55.5030, 13.1918)
Luminance0.5550 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2CD40 #4B40CD
analogous
#CD9240 #C2CD40 #7BCD40
triadic
#C2CD40 #40C2CD #CD40C2
tetradic
#C2CD40 #40CD92 #4B40CD #CD407B
square
#C2CD40 #40CD92 #4B40CD #CD407B
split-complementary
#C2CD40 #407BCD #9240CD
monochromatic
#6D741E #9BA52B #C2CD40 #D1DA71 #E1E6A1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C2CD40#FFFFFF#000000##000000
##C2CD401.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)
#DCC329
Deuteranopia (green-blind)
#DBC64B
Tritanopia (blue-blind)
#CFC1B1
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #c2cd40;
/* rgb */ color: rgb(194, 205, 64);
/* oklch */ color: oklch(81.5% 0.160 113.8);
Tailwind
colors: {
  custom: {
    50: '#d8dc7d',
    500: '#c2cd40',
    950: '#000000',
  },
}
SCSS
$custom: #c2cd40;
$custom-light: #d8dc7d;
$custom-dark: #000000;
JSON
{
  "hex": "#c2cd40",
  "rgb": {
    "r": 194,
    "g": 205,
    "b": 64
  },
  "hsl": {
    "h": 64.681,
    "s": 58.506,
    "l": 52.745
  },
  "oklch": {
    "l": 0.81453,
    "c": 0.1597,
    "h": 113.8
  },
  "luminance": 0.55502
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C2CD40

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

Preview Lab → · Contrast checker → · Palette generator →

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