#C5CE52#C5CE52

#C5CE52 is a very light, vivid yellow. Relative luminance 0.566; OKLCH L 82.1% C 0.147 H 113.1°. Best body text is #000000 at 12.32:1 contrast (WCAG AA passes).

Color values

HEX#C5CE52
RGBrgb(197, 206, 82)
HSLhsl(64, 56%, 56%)
HSVhsv(64, 60%, 81%)
CMYKcmyk(4.4%, 0%, 60.2%, 19.2%)
CIE-LABlab(79.97, -19.33, 58.93)
CIE-LCHlch(79.97, 62.02, 108.16°)
OKLaboklab(82.06% -0.0576 0.1351)
OKLCHoklch(82.06% 0.147 113.1)
XYZxyz(46.6214, 56.6230, 16.4544)
Luminance0.5662 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5CE52 #5B52CE
analogous
#CE9952 #C5CE52 #87CE52
triadic
#C5CE52 #52C5CE #CE52C5
tetradic
#C5CE52 #52CE99 #5B52CE #CE5287
square
#C5CE52 #52CE99 #5B52CE #CE5287
split-complementary
#C5CE52 #5287CE #9952CE
monochromatic
#7A8125 #A8B132 #C5CE52 #D5DC82 #E5E9B1

Accessibility & contrast

On white

1.70
#C5CE52 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.32
#C5CE52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5CE52
12.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5CE52#FFFFFF#000000##000000
##C5CE521.001.7012.3212.32
#FFFFFF1.701.0021.0021.00
#00000012.3221.001.001.00
##00000012.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC543
Deuteranopia (green-blind)
#DCC85A
Tritanopia (blue-blind)
#D1C3B4
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #c5ce52;
/* rgb */ color: rgb(197, 206, 82);
/* oklch */ color: oklch(82.1% 0.147 113.1);
Tailwind
colors: {
  custom: {
    50: '#d9dc88',
    500: '#c5ce52',
    950: '#000000',
  },
}
SCSS
$custom: #c5ce52;
$custom-light: #d9dc88;
$custom-dark: #000000;
JSON
{
  "hex": "#c5ce52",
  "rgb": {
    "r": 197,
    "g": 206,
    "b": 82
  },
  "hsl": {
    "h": 64.355,
    "s": 55.856,
    "l": 56.471
  },
  "oklch": {
    "l": 0.82063,
    "c": 0.14682,
    "h": 113.1
  },
  "luminance": 0.56622
}

Semantic roles & 50–950 ramp

primary
#C5CE52
secondary
#413C88
accent
#49DF54
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#15150C
muted
#84847F

Preview Lab

Preview with #C5CE52

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

Preview Lab → · Contrast checker → · Palette generator →

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