#C5CD38#C5CD38

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

Color values

HEX#C5CD38
RGBrgb(197, 205, 56)
HSLhsl(63, 60%, 51%)
HSVhsv(63, 73%, 80%)
CMYKcmyk(3.9%, 0%, 72.7%, 19.6%)
CIE-LABlab(79.51, -20.34, 68.48)
CIE-LCHlch(79.51, 71.44, 106.54°)
OKLaboklab(81.64% -0.063 0.1512)
OKLCHoklch(81.64% 0.164 112.6)
XYZxyz(45.5725, 55.8195, 12.1142)
Luminance0.5582 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5CD38 #4038CD
analogous
#CD8A38 #C5CD38 #7ACD38
triadic
#C5CD38 #38C5CD #CD38C5
tetradic
#C5CD38 #38CD8A #4038CD #CD387A
square
#C5CD38 #38CD8A #4038CD #CD387A
split-complementary
#C5CD38 #387ACD #8A38CD
monochromatic
#6A6F1C #99A028 #C5CD38 #D3D969 #E2E69A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C5CD38#FFFFFF#000000##000000
##C5CD381.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)
#DDC31A
Deuteranopia (green-blind)
#DDC744
Tritanopia (blue-blind)
#D2C1B0
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #c5cd38;
/* rgb */ color: rgb(197, 205, 56);
/* oklch */ color: oklch(81.6% 0.164 112.6);
Tailwind
colors: {
  custom: {
    50: '#dadc79',
    500: '#c5cd38',
    950: '#000000',
  },
}
SCSS
$custom: #c5cd38;
$custom-light: #dadc79;
$custom-dark: #000000;
JSON
{
  "hex": "#c5cd38",
  "rgb": {
    "r": 197,
    "g": 205,
    "b": 56
  },
  "hsl": {
    "h": 63.221,
    "s": 59.839,
    "l": 51.176
  },
  "oklch": {
    "l": 0.81639,
    "c": 0.16378,
    "h": 112.6
  },
  "luminance": 0.55818
}

Semantic roles & 50–950 ramp

primary
#C5CD38
secondary
#353178
accent
#45E34D
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15150A
muted
#84847D

Preview Lab

Preview with #C5CD38

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

Preview Lab → · Contrast checker → · Palette generator →

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