#C4CD42#C4CD42

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

Color values

HEX#C4CD42
RGBrgb(196, 205, 66)
HSLhsl(64, 58%, 53%)
HSVhsv(64, 68%, 80%)
CMYKcmyk(4.4%, 0%, 67.8%, 19.6%)
CIE-LABlab(79.50, -20.25, 64.87)
CIE-LCHlch(79.50, 67.95, 107.34°)
OKLaboklab(81.63% -0.0617 0.1453)
OKLCHoklch(81.63% 0.158 113)
XYZxyz(45.5810, 55.7927, 13.5212)
Luminance0.5579 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C4CD42 #4B42CD
analogous
#CD9042 #C4CD42 #7ECD42
triadic
#C4CD42 #42C4CD #CD42C4
tetradic
#C4CD42 #42CD90 #4B42CD #CD427E
square
#C4CD42 #42CD90 #4B42CD #CD427E
split-complementary
#C4CD42 #427ECD #9042CD
monochromatic
#70761F #9EA62C #C4CD42 #D3DA72 #E2E7A3

Accessibility & contrast

On white

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

On black

12.16
#C4CD42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C4CD42
12.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C4CD42#FFFFFF#000000##000000
##C4CD421.001.7312.1612.16
#FFFFFF1.731.0021.0021.00
#00000012.1621.001.001.00
##00000012.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC32D
Deuteranopia (green-blind)
#DCC64C
Tritanopia (blue-blind)
#D1C1B1
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #c4cd42;
/* rgb */ color: rgb(196, 205, 66);
/* oklch */ color: oklch(81.6% 0.158 113.0);
Tailwind
colors: {
  custom: {
    50: '#d9dc7e',
    500: '#c4cd42',
    950: '#000000',
  },
}
SCSS
$custom: #c4cd42;
$custom-light: #d9dc7e;
$custom-dark: #000000;
JSON
{
  "hex": "#c4cd42",
  "rgb": {
    "r": 196,
    "g": 205,
    "b": 66
  },
  "hsl": {
    "h": 63.885,
    "s": 58.159,
    "l": 53.137
  },
  "oklch": {
    "l": 0.81628,
    "c": 0.15784,
    "h": 113
  },
  "luminance": 0.55792
}

Semantic roles & 50–950 ramp

primary
#C4CD42
secondary
#3A357E
accent
#46E150
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15150A
muted
#84847D

Preview Lab

Preview with #C4CD42

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

Preview Lab → · Contrast checker → · Palette generator →

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