#C4CD45#C4CD45

#C4CD45 is a light, vivid yellow. Relative luminance 0.558; OKLCH L 81.7% C 0.156 H 113.0°. Best body text is #000000 at 12.17:1 contrast (WCAG AA passes).

Color values

HEX#C4CD45
RGBrgb(196, 205, 69)
HSLhsl(64, 58%, 54%)
HSVhsv(64, 66%, 80%)
CMYKcmyk(4.4%, 0%, 66.3%, 19.6%)
CIE-LABlab(79.52, -20.08, 63.74)
CIE-LCHlch(79.52, 66.83, 107.49°)
OKLaboklab(81.65% -0.0609 0.1434)
OKLCHoklch(81.65% 0.156 113)
XYZxyz(45.6717, 55.8290, 13.9992)
Luminance0.5583 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C4CD45 #4E45CD
analogous
#CD9245 #C4CD45 #80CD45
triadic
#C4CD45 #45C4CD #CD45C4
tetradic
#C4CD45 #45CD92 #4E45CD #CD4580
square
#C4CD45 #45CD92 #4E45CD #CD4580
split-complementary
#C4CD45 #4580CD #9245CD
monochromatic
#727720 #A0A82D #C4CD45 #D3DA75 #E3E7A5

Accessibility & contrast

On white

1.73
#C4CD45 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.17
#C4CD45 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C4CD45
12.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C4CD45#FFFFFF#000000##000000
##C4CD451.001.7312.1712.17
#FFFFFF1.731.0021.0021.00
#00000012.1721.001.001.00
##00000012.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC431
Deuteranopia (green-blind)
#DCC74F
Tritanopia (blue-blind)
#D1C1B2
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #c4cd45;
/* rgb */ color: rgb(196, 205, 69);
/* oklch */ color: oklch(81.7% 0.156 113.0);
Tailwind
colors: {
  custom: {
    50: '#d9dc80',
    500: '#c4cd45',
    950: '#000000',
  },
}
SCSS
$custom: #c4cd45;
$custom-light: #d9dc80;
$custom-dark: #000000;
JSON
{
  "hex": "#c4cd45",
  "rgb": {
    "r": 196,
    "g": 205,
    "b": 69
  },
  "hsl": {
    "h": 63.971,
    "s": 57.627,
    "l": 53.725
  },
  "oklch": {
    "l": 0.81651,
    "c": 0.15579,
    "h": 113
  },
  "luminance": 0.55828
}

Semantic roles & 50–950 ramp

primary
#C4CD45
secondary
#3B3680
accent
#47E151
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15150B
muted
#84847E

Preview Lab

Preview with #C4CD45

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

Preview Lab → · Contrast checker → · Palette generator →

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