#C5CD34#C5CD34

#C5CD34 is a light, vivid yellow. Relative luminance 0.558; OKLCH L 81.6% C 0.166 H 112.6°. Best body text is #000000 at 12.16:1 contrast (WCAG AA passes).

Color values

HEX#C5CD34
RGBrgb(197, 205, 52)
HSLhsl(63, 60%, 50%)
HSVhsv(63, 75%, 80%)
CMYKcmyk(3.9%, 0%, 74.6%, 19.6%)
CIE-LABlab(79.49, -20.52, 69.77)
CIE-LCHlch(79.49, 72.73, 106.39°)
OKLaboklab(81.62% -0.0638 0.1532)
OKLCHoklch(81.62% 0.166 112.6)
XYZxyz(45.4786, 55.7820, 11.6194)
Luminance0.5578 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5CD34 #3C34CD
analogous
#CD8834 #C5CD34 #79CD34
triadic
#C5CD34 #34C5CD #CD34C5
tetradic
#C5CD34 #34CD88 #3C34CD #CD3479
square
#C5CD34 #34CD88 #3C34CD #CD3479
split-complementary
#C5CD34 #3479CD #8834CD
monochromatic
#686C1B #979D27 #C5CD34 #D3D965 #E1E596

Accessibility & contrast

On white

1.73
#C5CD34 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.16
#C5CD34 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5CD34
12.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5CD34#FFFFFF#000000##000000
##C5CD341.001.7312.1612.16
#FFFFFF1.731.0021.0021.00
#00000012.1621.001.001.00
##00000012.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC30F
Deuteranopia (green-blind)
#DDC741
Tritanopia (blue-blind)
#D3C0B0
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #c5cd34;
/* rgb */ color: rgb(197, 205, 52);
/* oklch */ color: oklch(81.6% 0.166 112.6);
Tailwind
colors: {
  custom: {
    50: '#dadc77',
    500: '#c5cd34',
    950: '#000000',
  },
}
SCSS
$custom: #c5cd34;
$custom-light: #dadc77;
$custom-dark: #000000;
JSON
{
  "hex": "#c5cd34",
  "rgb": {
    "r": 197,
    "g": 205,
    "b": 52
  },
  "hsl": {
    "h": 63.137,
    "s": 60.474,
    "l": 50.392
  },
  "oklch": {
    "l": 0.81615,
    "c": 0.16597,
    "h": 112.6
  },
  "luminance": 0.55781
}

Semantic roles & 50–950 ramp

primary
#C5CD34
secondary
#333076
accent
#44E44D
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#15150A
muted
#84847D

Preview Lab

Preview with #C5CD34

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

Preview Lab → · Contrast checker → · Palette generator →

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