#C4CD2A#C4CD2A

#C4CD2A is a light, vivid yellow. Relative luminance 0.556; OKLCH L 81.5% C 0.171 H 113.0°. Best body text is #000000 at 12.11:1 contrast (WCAG AA passes).

Color values

HEX#C4CD2A
RGBrgb(196, 205, 42)
HSLhsl(63, 66%, 48%)
HSVhsv(63, 80%, 80%)
CMYKcmyk(4.4%, 0%, 79.5%, 19.6%)
CIE-LABlab(79.37, -21.32, 72.58)
CIE-LCHlch(79.37, 75.65, 106.37°)
OKLaboklab(81.48% -0.0667 0.1575)
OKLCHoklch(81.48% 0.171 113)
XYZxyz(45.0157, 55.5666, 10.5441)
Luminance0.5557 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C4CD2A #332ACD
analogous
#CD842A #C4CD2A #72CD2A
triadic
#C4CD2A #2AC4CD #CD2AC4
tetradic
#C4CD2A #2ACD84 #332ACD #CD2A72
square
#C4CD2A #2ACD84 #332ACD #CD2A72
split-complementary
#C4CD2A #2A72CD #842ACD
monochromatic
#636715 #939A20 #C4CD2A #D5DD58 #E2E78A

Accessibility & contrast

On white

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

On black

12.11
#C4CD2A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C4CD2A
12.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C4CD2A#FFFFFF#000000##000000
##C4CD2A1.001.7312.1112.11
#FFFFFF1.731.0021.0021.00
#00000012.1121.001.001.00
##00000012.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC300
Deuteranopia (green-blind)
#DDC63A
Tritanopia (blue-blind)
#D2C0B0
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #c4cd2a;
/* rgb */ color: rgb(196, 205, 42);
/* oklch */ color: oklch(81.5% 0.171 113.0);
Tailwind
colors: {
  custom: {
    50: '#dadc73',
    500: '#c4cd2a',
    950: '#000000',
  },
}
SCSS
$custom: #c4cd2a;
$custom-light: #dadc73;
$custom-dark: #000000;
JSON
{
  "hex": "#c4cd2a",
  "rgb": {
    "r": 196,
    "g": 205,
    "b": 42
  },
  "hsl": {
    "h": 63.313,
    "s": 65.992,
    "l": 48.431
  },
  "oklch": {
    "l": 0.81483,
    "c": 0.17106,
    "h": 113
  },
  "luminance": 0.55566
}

Semantic roles & 50–950 ramp

primary
#C4CD2A
secondary
#2E2A71
accent
#3FE948
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#151509
muted
#84847D

Preview Lab

Preview with #C4CD2A

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

Preview Lab → · Contrast checker → · Palette generator →

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