#C5CD40#C5CD40

#C5CD40 is a light, vivid yellow. Relative luminance 0.559; OKLCH L 81.7% C 0.159 H 112.6°. Best body text is #000000 at 12.18:1 contrast (WCAG AA passes).

Color values

HEX#C5CD40
RGBrgb(197, 205, 64)
HSLhsl(63, 59%, 53%)
HSVhsv(63, 69%, 80%)
CMYKcmyk(3.9%, 0%, 68.8%, 19.6%)
CIE-LABlab(79.56, -19.94, 65.70)
CIE-LCHlch(79.56, 68.66, 106.89°)
OKLaboklab(81.69% -0.0611 0.1467)
OKLCHoklch(81.69% 0.159 112.6)
XYZxyz(45.7841, 55.9041, 13.2283)
Luminance0.5590 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5CD40 #4840CD
analogous
#CD8E40 #C5CD40 #7FCD40
triadic
#C5CD40 #40C5CD #CD40C5
tetradic
#C5CD40 #40CD8E #4840CD #CD407F
square
#C5CD40 #40CD8E #4840CD #CD407F
split-complementary
#C5CD40 #407FCD #8E40CD
monochromatic
#6F741E #9EA52B #C5CD40 #D4DA71 #E2E6A1

Accessibility & contrast

On white

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

On black

12.18
#C5CD40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5CD40
12.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5CD40#FFFFFF#000000##000000
##C5CD401.001.7212.1812.18
#FFFFFF1.721.0021.0021.00
#00000012.1821.001.001.00
##00000012.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC429
Deuteranopia (green-blind)
#DCC74A
Tritanopia (blue-blind)
#D2C1B1
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #c5cd40;
/* rgb */ color: rgb(197, 205, 64);
/* oklch */ color: oklch(81.7% 0.159 112.6);
Tailwind
colors: {
  custom: {
    50: '#dadc7d',
    500: '#c5cd40',
    950: '#000000',
  },
}
SCSS
$custom: #c5cd40;
$custom-light: #dadc7d;
$custom-dark: #000000;
JSON
{
  "hex": "#c5cd40",
  "rgb": {
    "r": 197,
    "g": 205,
    "b": 64
  },
  "hsl": {
    "h": 63.404,
    "s": 58.506,
    "l": 52.745
  },
  "oklch": {
    "l": 0.81693,
    "c": 0.1589,
    "h": 112.6
  },
  "luminance": 0.55903
}

Semantic roles & 50–950 ramp

primary
#C5CD40
secondary
#38347D
accent
#46E24F
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15150A
muted
#84847D

Preview Lab

Preview with #C5CD40

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

Preview Lab → · Contrast checker → · Palette generator →

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