#C4CD54#C4CD54

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

Color values

HEX#C4CD54
RGBrgb(196, 205, 84)
HSLhsl(64, 55%, 57%)
HSVhsv(64, 59%, 80%)
CMYKcmyk(4.4%, 0%, 59%, 19.6%)
CIE-LABlab(79.64, -19.10, 57.69)
CIE-LCHlch(79.64, 60.77, 108.32°)
OKLaboklab(81.79% -0.0567 0.1327)
OKLCHoklch(81.79% 0.144 113.1)
XYZxyz(46.1976, 56.0394, 16.7688)
Luminance0.5604 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C4CD54 #5D54CD
analogous
#CD9A54 #C4CD54 #88CD54
triadic
#C4CD54 #54C4CD #CD54C4
tetradic
#C4CD54 #54CD9A #5D54CD #CD5488
square
#C4CD54 #54CD9A #5D54CD #CD5488
split-complementary
#C4CD54 #5488CD #9A54CD
monochromatic
#7A8126 #A7B034 #C4CD54 #D4DB83 #E5E9B3

Accessibility & contrast

On white

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

On black

12.21
#C4CD54 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C4CD54
12.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C4CD54#FFFFFF#000000##000000
##C4CD541.001.7212.2112.21
#FFFFFF1.721.0021.0021.00
#00000012.2121.001.001.00
##00000012.2121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c4cd54;
/* rgb */ color: rgb(196, 205, 84);
/* oklch */ color: oklch(81.8% 0.144 113.1);
Tailwind
colors: {
  custom: {
    50: '#d8dc89',
    500: '#c4cd54',
    950: '#000000',
  },
}
SCSS
$custom: #c4cd54;
$custom-light: #d8dc89;
$custom-dark: #000000;
JSON
{
  "hex": "#c4cd54",
  "rgb": {
    "r": 196,
    "g": 205,
    "b": 84
  },
  "hsl": {
    "h": 64.463,
    "s": 54.751,
    "l": 56.667
  },
  "oklch": {
    "l": 0.81785,
    "c": 0.14429,
    "h": 113.1
  },
  "luminance": 0.56038
}

Semantic roles & 50–950 ramp

primary
#C4CD54
secondary
#423D88
accent
#4ADE55
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15150C
muted
#84847F

Preview Lab

Preview with #C4CD54

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

Preview Lab → · Contrast checker → · Palette generator →

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