#C5CE3A#C5CE3A

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

Color values

HEX#C5CE3A
RGBrgb(197, 206, 58)
HSLhsl(64, 60%, 52%)
HSVhsv(64, 72%, 81%)
CMYKcmyk(4.4%, 0%, 71.8%, 19.2%)
CIE-LABlab(79.80, -20.74, 68.07)
CIE-LCHlch(79.80, 71.16, 106.94°)
OKLaboklab(81.87% -0.0639 0.1507)
OKLCHoklch(81.87% 0.164 113)
XYZxyz(45.8624, 56.3194, 12.4570)
Luminance0.5632 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5CE3A #433ACE
analogous
#CE8D3A #C5CE3A #7BCE3A
triadic
#C5CE3A #3AC5CE #CE3AC5
tetradic
#C5CE3A #3ACE8D #433ACE #CE3A7B
square
#C5CE3A #3ACE8D #433ACE #CE3A7B
split-complementary
#C5CE3A #3A7BCE #8D3ACE
monochromatic
#6C711C #9BA228 #C5CE3A #D3DA6B #E2E69C

Accessibility & contrast

On white

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

On black

12.26
#C5CE3A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5CE3A
12.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5CE3A#FFFFFF#000000##000000
##C5CE3A1.001.7112.2612.26
#FFFFFF1.711.0021.0021.00
#00000012.2621.001.001.00
##00000012.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC41E
Deuteranopia (green-blind)
#DDC746
Tritanopia (blue-blind)
#D2C2B1
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #c5ce3a;
/* rgb */ color: rgb(197, 206, 58);
/* oklch */ color: oklch(81.9% 0.164 113.0);
Tailwind
colors: {
  custom: {
    50: '#dadc7a',
    500: '#c5ce3a',
    950: '#000000',
  },
}
SCSS
$custom: #c5ce3a;
$custom-light: #dadc7a;
$custom-dark: #000000;
JSON
{
  "hex": "#c5ce3a",
  "rgb": {
    "r": 197,
    "g": 206,
    "b": 58
  },
  "hsl": {
    "h": 63.649,
    "s": 60.163,
    "l": 51.765
  },
  "oklch": {
    "l": 0.8187,
    "c": 0.16366,
    "h": 113
  },
  "luminance": 0.56318
}

Semantic roles & 50–950 ramp

primary
#C5CE3A
secondary
#36327A
accent
#44E34E
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#15150A
muted
#84847D

Preview Lab

Preview with #C5CE3A

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

Preview Lab → · Contrast checker → · Palette generator →

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