#C5CE3C#C5CE3C

#C5CE3C is a light, vivid yellow. Relative luminance 0.563; OKLCH L 81.9% C 0.162 H 113.0°. Best body text is #000000 at 12.27:1 contrast (WCAG AA passes).

Color values

HEX#C5CE3C
RGBrgb(197, 206, 60)
HSLhsl(64, 60%, 52%)
HSVhsv(64, 71%, 81%)
CMYKcmyk(4.4%, 0%, 70.9%, 19.2%)
CIE-LABlab(79.81, -20.64, 67.39)
CIE-LCHlch(79.81, 70.48, 107.03°)
OKLaboklab(81.88% -0.0634 0.1496)
OKLCHoklch(81.88% 0.162 113)
XYZxyz(45.9143, 56.3402, 12.7302)
Luminance0.5634 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5CE3C #453CCE
analogous
#CE8E3C #C5CE3C #7CCE3C
triadic
#C5CE3C #3CC5CE #CE3CC5
tetradic
#C5CE3C #3CCE8E #453CCE #CE3C7C
square
#C5CE3C #3CCE8E #453CCE #CE3C7C
split-complementary
#C5CE3C #3C7CCE #8E3CCE
monochromatic
#6D731D #9CA429 #C5CE3C #D4DA6D #E2E79E

Accessibility & contrast

On white

1.71
#C5CE3C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.27
#C5CE3C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5CE3C
12.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5CE3C#FFFFFF#000000##000000
##C5CE3C1.001.7112.2712.27
#FFFFFF1.711.0021.0021.00
#00000012.2721.001.001.00
##00000012.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC422
Deuteranopia (green-blind)
#DDC747
Tritanopia (blue-blind)
#D2C2B2
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #c5ce3c;
/* rgb */ color: rgb(197, 206, 60);
/* oklch */ color: oklch(81.9% 0.162 113.0);
Tailwind
colors: {
  custom: {
    50: '#dadc7b',
    500: '#c5ce3c',
    950: '#000000',
  },
}
SCSS
$custom: #c5ce3c;
$custom-light: #dadc7b;
$custom-dark: #000000;
JSON
{
  "hex": "#c5ce3c",
  "rgb": {
    "r": 197,
    "g": 206,
    "b": 60
  },
  "hsl": {
    "h": 63.699,
    "s": 59.836,
    "l": 52.157
  },
  "oklch": {
    "l": 0.81884,
    "c": 0.16246,
    "h": 113
  },
  "luminance": 0.56339
}

Semantic roles & 50–950 ramp

primary
#C5CE3C
secondary
#37337C
accent
#45E34F
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#15150A
muted
#84847D

Preview Lab

Preview with #C5CE3C

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

Preview Lab → · Contrast checker → · Palette generator →

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