#C5CC38#C5CC38

#C5CC38 is a light, vivid yellow. Relative luminance 0.553; OKLCH L 81.4% C 0.163 H 112.2°. Best body text is #000000 at 12.07:1 contrast (WCAG AA passes).

Color values

HEX#C5CC38
RGBrgb(197, 204, 56)
HSLhsl(63, 59%, 51%)
HSVhsv(63, 73%, 80%)
CMYKcmyk(3.4%, 0%, 72.5%, 20%)
CIE-LABlab(79.24, -19.85, 68.22)
CIE-LCHlch(79.24, 71.05, 106.22°)
OKLaboklab(81.42% -0.0616 0.1507)
OKLCHoklch(81.42% 0.163 112.2)
XYZxyz(45.3341, 55.3427, 12.0347)
Luminance0.5534 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5CC38 #3F38CC
analogous
#CC8938 #C5CC38 #7BCC38
triadic
#C5CC38 #38C5CC #CC38C5
tetradic
#C5CC38 #38CC89 #3F38CC #CC387B
square
#C5CC38 #38CC89 #3F38CC #CC387B
split-complementary
#C5CC38 #387BCC #8938CC
monochromatic
#6A6E1C #999E29 #C5CC38 #D3D869 #E1E599

Accessibility & contrast

On white

1.74
#C5CC38 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.07
#C5CC38 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5CC38
12.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5CC38#FFFFFF#000000##000000
##C5CC381.001.7412.0712.07
#FFFFFF1.741.0021.0021.00
#00000012.0721.001.001.00
##00000012.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC31A
Deuteranopia (green-blind)
#DCC644
Tritanopia (blue-blind)
#D2C0B0
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #c5cc38;
/* rgb */ color: rgb(197, 204, 56);
/* oklch */ color: oklch(81.4% 0.163 112.2);
Tailwind
colors: {
  custom: {
    50: '#dadb79',
    500: '#c5cc38',
    950: '#000000',
  },
}
SCSS
$custom: #c5cc38;
$custom-light: #dadb79;
$custom-dark: #000000;
JSON
{
  "hex": "#c5cc38",
  "rgb": {
    "r": 197,
    "g": 204,
    "b": 56
  },
  "hsl": {
    "h": 62.838,
    "s": 59.2,
    "l": 50.98
  },
  "oklch": {
    "l": 0.81421,
    "c": 0.16275,
    "h": 112.2
  },
  "luminance": 0.55342
}

Semantic roles & 50–950 ramp

primary
#C5CC38
secondary
#353177
accent
#45E24D
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140A
muted
#84837D

Preview Lab

Preview with #C5CC38

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

Preview Lab → · Contrast checker → · Palette generator →

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