#C5CE31#C5CE31

#C5CE31 is a light, vivid yellow. Relative luminance 0.562; OKLCH L 81.8% C 0.169 H 113.0°. Best body text is #000000 at 12.25:1 contrast (WCAG AA passes).

Color values

HEX#C5CE31
RGBrgb(197, 206, 49)
HSLhsl(63, 62%, 50%)
HSVhsv(63, 76%, 81%)
CMYKcmyk(4.4%, 0%, 76.2%, 19.2%)
CIE-LABlab(79.75, -21.13, 70.94)
CIE-LCHlch(79.75, 74.02, 106.59°)
OKLaboklab(81.82% -0.0657 0.1552)
OKLCHoklch(81.82% 0.169 113)
XYZxyz(45.6531, 56.2357, 11.3548)
Luminance0.5624 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5CE31 #3A31CE
analogous
#CE8831 #C5CE31 #77CE31
triadic
#C5CE31 #31C5CE #CE31C5
tetradic
#C5CE31 #31CE88 #3A31CE #CE3177
square
#C5CE31 #31CE88 #3A31CE #CE3177
split-complementary
#C5CE31 #3177CE #8831CE
monochromatic
#666B19 #969D25 #C5CE31 #D3DA62 #E1E694

Accessibility & contrast

On white

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

On black

12.25
#C5CE31 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5CE31
12.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5CE31#FFFFFF#000000##000000
##C5CE311.001.7112.2512.25
#FFFFFF1.711.0021.0021.00
#00000012.2521.001.001.00
##00000012.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#DEC401
Deuteranopia (green-blind)
#DEC73F
Tritanopia (blue-blind)
#D3C1B1
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #c5ce31;
/* rgb */ color: rgb(197, 206, 49);
/* oklch */ color: oklch(81.8% 0.169 113.0);
Tailwind
colors: {
  custom: {
    50: '#dadc76',
    500: '#c5ce31',
    950: '#000000',
  },
}
SCSS
$custom: #c5ce31;
$custom-light: #dadc76;
$custom-dark: #000000;
JSON
{
  "hex": "#c5ce31",
  "rgb": {
    "r": 197,
    "g": 206,
    "b": 49
  },
  "hsl": {
    "h": 63.439,
    "s": 61.569,
    "l": 50
  },
  "oklch": {
    "l": 0.81817,
    "c": 0.16854,
    "h": 113
  },
  "luminance": 0.56235
}

Semantic roles & 50–950 ramp

primary
#C5CE31
secondary
#322E75
accent
#43E54C
background
#FEFEFB
surface
#FCFCF1
border
#D5D5CB
text
#151509
muted
#84847D

Preview Lab

Preview with #C5CE31

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

Preview Lab → · Contrast checker → · Palette generator →

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