#C4CD5A#C4CD5A

#C4CD5A is a light, vivid yellow. Relative luminance 0.561; OKLCH L 81.8% C 0.139 H 113.2°. Best body text is #000000 at 12.23:1 contrast (WCAG AA passes).

Color values

HEX#C4CD5A
RGBrgb(196, 205, 90)
HSLhsl(65, 53%, 58%)
HSVhsv(65, 56%, 80%)
CMYKcmyk(4.4%, 0%, 56.1%, 19.6%)
CIE-LABlab(79.69, -18.65, 55.10)
CIE-LCHlch(79.69, 58.17, 108.70°)
OKLaboklab(81.85% -0.0548 0.1279)
OKLCHoklch(81.85% 0.139 113.2)
XYZxyz(46.4428, 56.1374, 18.0599)
Luminance0.5614 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C4CD5A #635ACD
analogous
#CD9D5A #C4CD5A #8ACD5A
triadic
#C4CD5A #5AC4CD #CD5AC4
tetradic
#C4CD5A #5ACD9D #635ACD #CD5A8A
square
#C4CD5A #5ACD9D #635ACD #CD5A8A
split-complementary
#C4CD5A #5A8ACD #9D5ACD
monochromatic
#7D8428 #AAB336 #C4CD5A #D5DB89 #E6E9B8

Accessibility & contrast

On white

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

On black

12.23
#C4CD5A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C4CD5A
12.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C4CD5A#FFFFFF#000000##000000
##C4CD5A1.001.7212.2312.23
#FFFFFF1.721.0021.0021.00
#00000012.2321.001.001.00
##00000012.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC44E
Deuteranopia (green-blind)
#DBC761
Tritanopia (blue-blind)
#D0C2B4
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #c4cd5a;
/* rgb */ color: rgb(196, 205, 90);
/* oklch */ color: oklch(81.8% 0.139 113.2);
Tailwind
colors: {
  custom: {
    50: '#d8dc8c',
    500: '#c4cd5a',
    950: '#000000',
  },
}
SCSS
$custom: #c4cd5a;
$custom-light: #d8dc8c;
$custom-dark: #000000;
JSON
{
  "hex": "#c4cd5a",
  "rgb": {
    "r": 196,
    "g": 205,
    "b": 90
  },
  "hsl": {
    "h": 64.696,
    "s": 53.488,
    "l": 57.843
  },
  "oklch": {
    "l": 0.81848,
    "c": 0.13913,
    "h": 113.2
  },
  "luminance": 0.56137
}

Semantic roles & 50–950 ramp

primary
#C4CD5A
secondary
#46408C
accent
#4BDD56
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15150C
muted
#84847F

Preview Lab

Preview with #C4CD5A

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

Preview Lab → · Contrast checker → · Palette generator →

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