#C4CD39#C4CD39

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

Color values

HEX#C4CD39
RGBrgb(196, 205, 57)
HSLhsl(64, 60%, 51%)
HSVhsv(64, 72%, 80%)
CMYKcmyk(4.4%, 0%, 72.2%, 19.6%)
CIE-LABlab(79.44, -20.71, 68.05)
CIE-LCHlch(79.44, 71.13, 106.93°)
OKLaboklab(81.57% -0.0638 0.1505)
OKLCHoklch(81.57% 0.163 113)
XYZxyz(45.3362, 55.6948, 12.2321)
Luminance0.5569 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C4CD39 #4239CD
analogous
#CD8C39 #C4CD39 #7ACD39
triadic
#C4CD39 #39C4CD #CD39C4
tetradic
#C4CD39 #39CD8C #4239CD #CD397A
square
#C4CD39 #39CD8C #4239CD #CD397A
split-complementary
#C4CD39 #397ACD #8C39CD
monochromatic
#6A6F1C #99A028 #C4CD39 #D3D96A #E1E69B

Accessibility & contrast

On white

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

On black

12.14
#C4CD39 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C4CD39
12.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C4CD39#FFFFFF#000000##000000
##C4CD391.001.7312.1412.14
#FFFFFF1.731.0021.0021.00
#00000012.1421.001.001.00
##00000012.1421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c4cd39;
/* rgb */ color: rgb(196, 205, 57);
/* oklch */ color: oklch(81.6% 0.163 113.0);
Tailwind
colors: {
  custom: {
    50: '#d9dc7a',
    500: '#c4cd39',
    950: '#000000',
  },
}
SCSS
$custom: #c4cd39;
$custom-light: #d9dc7a;
$custom-dark: #000000;
JSON
{
  "hex": "#c4cd39",
  "rgb": {
    "r": 196,
    "g": 205,
    "b": 57
  },
  "hsl": {
    "h": 63.649,
    "s": 59.677,
    "l": 51.373
  },
  "oklch": {
    "l": 0.81565,
    "c": 0.16346,
    "h": 113
  },
  "luminance": 0.55694
}

Semantic roles & 50–950 ramp

primary
#C4CD39
secondary
#363279
accent
#45E34F
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15150A
muted
#84847D

Preview Lab

Preview with #C4CD39

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

Preview Lab → · Contrast checker → · Palette generator →

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