#C5CD3E#C5CD3E

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

Color values

HEX#C5CD3E
RGBrgb(197, 205, 62)
HSLhsl(63, 59%, 52%)
HSVhsv(63, 70%, 80%)
CMYKcmyk(3.9%, 0%, 69.8%, 19.6%)
CIE-LABlab(79.55, -20.05, 66.42)
CIE-LCHlch(79.55, 69.38, 106.80°)
OKLaboklab(81.68% -0.0616 0.1479)
OKLCHoklch(81.68% 0.16 112.6)
XYZxyz(45.7282, 55.8818, 12.9339)
Luminance0.5588 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5CD3E #463ECD
analogous
#CD8E3E #C5CD3E #7DCD3E
triadic
#C5CD3E #3EC5CD #CD3EC5
tetradic
#C5CD3E #3ECD8E #463ECD #CD3E7D
square
#C5CD3E #3ECD8E #463ECD #CD3E7D
split-complementary
#C5CD3E #3E7DCD #8E3ECD
monochromatic
#6E731E #9DA32A #C5CD3E #D4DA6F #E2E69F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C5CD3E#FFFFFF#000000##000000
##C5CD3E1.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)
#DCC326
Deuteranopia (green-blind)
#DDC749
Tritanopia (blue-blind)
#D2C1B1
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #c5cd3e;
/* rgb */ color: rgb(197, 205, 62);
/* oklch */ color: oklch(81.7% 0.160 112.6);
Tailwind
colors: {
  custom: {
    50: '#dadc7c',
    500: '#c5cd3e',
    950: '#000000',
  },
}
SCSS
$custom: #c5cd3e;
$custom-light: #dadc7c;
$custom-dark: #000000;
JSON
{
  "hex": "#c5cd3e",
  "rgb": {
    "r": 197,
    "g": 205,
    "b": 62
  },
  "hsl": {
    "h": 63.357,
    "s": 58.848,
    "l": 52.353
  },
  "oklch": {
    "l": 0.81679,
    "c": 0.16018,
    "h": 112.6
  },
  "luminance": 0.55881
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C5CD3E

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

Preview Lab → · Contrast checker → · Palette generator →

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