#C5CD49#C5CD49

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

Color values

HEX#C5CD49
RGBrgb(197, 205, 73)
HSLhsl(64, 57%, 55%)
HSVhsv(64, 64%, 80%)
CMYKcmyk(3.9%, 0%, 64.4%, 19.6%)
CIE-LABlab(79.62, -19.43, 62.29)
CIE-LCHlch(79.62, 65.25, 107.32°)
OKLaboklab(81.76% -0.0588 0.1409)
OKLCHoklch(81.76% 0.153 112.6)
XYZxyz(46.0612, 56.0150, 14.6876)
Luminance0.5601 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5CD49 #5149CD
analogous
#CD9349 #C5CD49 #83CD49
triadic
#C5CD49 #49C5CD #CD49C5
tetradic
#C5CD49 #49CD93 #5149CD #CD4983
square
#C5CD49 #49CD93 #5149CD #CD4983
split-complementary
#C5CD49 #4983CD #9349CD
monochromatic
#757A22 #A3AA2F #C5CD49 #D4DA79 #E4E7A9

Accessibility & contrast

On white

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

On black

12.20
#C5CD49 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5CD49
12.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5CD49#FFFFFF#000000##000000
##C5CD491.001.7212.2012.20
#FFFFFF1.721.0021.0021.00
#00000012.2021.001.001.00
##00000012.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC437
Deuteranopia (green-blind)
#DCC752
Tritanopia (blue-blind)
#D2C1B2
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #c5cd49;
/* rgb */ color: rgb(197, 205, 73);
/* oklch */ color: oklch(81.8% 0.153 112.6);
Tailwind
colors: {
  custom: {
    50: '#dadc82',
    500: '#c5cd49',
    950: '#000000',
  },
}
SCSS
$custom: #c5cd49;
$custom-light: #dadc82;
$custom-dark: #000000;
JSON
{
  "hex": "#c5cd49",
  "rgb": {
    "r": 197,
    "g": 205,
    "b": 73
  },
  "hsl": {
    "h": 63.636,
    "s": 56.897,
    "l": 54.51
  },
  "oklch": {
    "l": 0.81764,
    "c": 0.15267,
    "h": 112.6
  },
  "luminance": 0.56014
}

Semantic roles & 50–950 ramp

primary
#C5CD49
secondary
#3D3882
accent
#48E051
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15150B
muted
#84847E

Preview Lab

Preview with #C5CD49

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

Preview Lab → · Contrast checker → · Palette generator →

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