#C5CD48#C5CD48

#C5CD48 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#C5CD48
RGBrgb(197, 205, 72)
HSLhsl(64, 57%, 54%)
HSVhsv(64, 65%, 80%)
CMYKcmyk(3.9%, 0%, 64.9%, 19.6%)
CIE-LABlab(79.61, -19.49, 62.69)
CIE-LCHlch(79.61, 65.65, 107.27°)
OKLaboklab(81.76% -0.059 0.1416)
OKLCHoklch(81.76% 0.153 112.6)
XYZxyz(46.0283, 56.0018, 14.5144)
Luminance0.5600 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5CD48 #5048CD
analogous
#CD9348 #C5CD48 #83CD48
triadic
#C5CD48 #48C5CD #CD48C5
tetradic
#C5CD48 #48CD93 #5048CD #CD4883
square
#C5CD48 #48CD93 #5048CD #CD4883
split-complementary
#C5CD48 #4883CD #9348CD
monochromatic
#747921 #A2A92E #C5CD48 #D4DA78 #E3E7A8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C5CD48#FFFFFF#000000##000000
##C5CD481.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)
#DCC436
Deuteranopia (green-blind)
#DCC751
Tritanopia (blue-blind)
#D2C1B2
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #c5cd48;
/* rgb */ color: rgb(197, 205, 72);
/* oklch */ color: oklch(81.8% 0.153 112.6);
Tailwind
colors: {
  custom: {
    50: '#dadc82',
    500: '#c5cd48',
    950: '#000000',
  },
}
SCSS
$custom: #c5cd48;
$custom-light: #dadc82;
$custom-dark: #000000;
JSON
{
  "hex": "#c5cd48",
  "rgb": {
    "r": 197,
    "g": 205,
    "b": 72
  },
  "hsl": {
    "h": 63.609,
    "s": 57.082,
    "l": 54.314
  },
  "oklch": {
    "l": 0.81755,
    "c": 0.15341,
    "h": 112.6
  },
  "luminance": 0.56001
}

Semantic roles & 50–950 ramp

primary
#C5CD48
secondary
#3C3882
accent
#47E051
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15150B
muted
#84847E

Preview Lab

Preview with #C5CD48

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

Preview Lab → · Contrast checker → · Palette generator →

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