#C4CD4F#C4CD4F

#C4CD4F is a light, vivid yellow. Relative luminance 0.560; OKLCH L 81.7% C 0.148 H 113.1°. Best body text is #000000 at 12.19:1 contrast (WCAG AA passes).

Color values

HEX#C4CD4F
RGBrgb(196, 205, 79)
HSLhsl(64, 56%, 56%)
HSVhsv(64, 61%, 80%)
CMYKcmyk(4.4%, 0%, 61.5%, 19.6%)
CIE-LABlab(79.59, -19.45, 59.77)
CIE-LCHlch(79.59, 62.86, 108.03°)
OKLaboklab(81.74% -0.0582 0.1365)
OKLCHoklch(81.74% 0.148 113.1)
XYZxyz(46.0087, 55.9638, 15.7741)
Luminance0.5596 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C4CD4F #584FCD
analogous
#CD974F #C4CD4F #85CD4F
triadic
#C4CD4F #4FC4CD #CD4FC4
tetradic
#C4CD4F #4FCD97 #584FCD #CD4F85
square
#C4CD4F #4FCD97 #584FCD #CD4F85
split-complementary
#C4CD4F #4F85CD #974FCD
monochromatic
#777E24 #A5AE31 #C4CD4F #D4DB7F #E4E8AE

Accessibility & contrast

On white

1.72
#C4CD4F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.19
#C4CD4F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C4CD4F
12.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C4CD4F#FFFFFF#000000##000000
##C4CD4F1.001.7212.1912.19
#FFFFFF1.721.0021.0021.00
#00000012.1921.001.001.00
##00000012.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC440
Deuteranopia (green-blind)
#DBC757
Tritanopia (blue-blind)
#D0C2B3
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #c4cd4f;
/* rgb */ color: rgb(196, 205, 79);
/* oklch */ color: oklch(81.7% 0.148 113.1);
Tailwind
colors: {
  custom: {
    50: '#d9dc86',
    500: '#c4cd4f',
    950: '#000000',
  },
}
SCSS
$custom: #c4cd4f;
$custom-light: #d9dc86;
$custom-dark: #000000;
JSON
{
  "hex": "#c4cd4f",
  "rgb": {
    "r": 196,
    "g": 205,
    "b": 79
  },
  "hsl": {
    "h": 64.286,
    "s": 55.752,
    "l": 55.686
  },
  "oklch": {
    "l": 0.81737,
    "c": 0.14835,
    "h": 113.1
  },
  "luminance": 0.55963
}

Semantic roles & 50–950 ramp

primary
#C4CD4F
secondary
#403B86
accent
#49DF53
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15150B
muted
#84847E

Preview Lab

Preview with #C4CD4F

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

Preview Lab → · Contrast checker → · Palette generator →

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