#C5CE51#C5CE51

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

Color values

HEX#C5CE51
RGBrgb(197, 206, 81)
HSLhsl(64, 56%, 56%)
HSVhsv(64, 61%, 81%)
CMYKcmyk(4.4%, 0%, 60.7%, 19.2%)
CIE-LABlab(79.96, -19.40, 59.35)
CIE-LCHlch(79.96, 62.44, 108.10°)
OKLaboklab(82.05% -0.0579 0.1358)
OKLCHoklch(82.05% 0.148 113.1)
XYZxyz(46.5836, 56.6079, 16.2555)
Luminance0.5661 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5CE51 #5A51CE
analogous
#CE9951 #C5CE51 #87CE51
triadic
#C5CE51 #51C5CE #CE51C5
tetradic
#C5CE51 #51CE99 #5A51CE #CE5187
square
#C5CE51 #51CE99 #5A51CE #CE5187
split-complementary
#C5CE51 #5187CE #9951CE
monochromatic
#7A8024 #A7B032 #C5CE51 #D5DB81 #E5E9B1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C5CE51#FFFFFF#000000##000000
##C5CE511.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)
#DCC542
Deuteranopia (green-blind)
#DCC859
Tritanopia (blue-blind)
#D1C3B4
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #c5ce51;
/* rgb */ color: rgb(197, 206, 81);
/* oklch */ color: oklch(82.1% 0.148 113.1);
Tailwind
colors: {
  custom: {
    50: '#d9dc87',
    500: '#c5ce51',
    950: '#000000',
  },
}
SCSS
$custom: #c5ce51;
$custom-light: #d9dc87;
$custom-dark: #000000;
JSON
{
  "hex": "#c5ce51",
  "rgb": {
    "r": 197,
    "g": 206,
    "b": 81
  },
  "hsl": {
    "h": 64.32,
    "s": 56.054,
    "l": 56.275
  },
  "oklch": {
    "l": 0.82053,
    "c": 0.14763,
    "h": 113.1
  },
  "luminance": 0.56607
}

Semantic roles & 50–950 ramp

primary
#C5CE51
secondary
#413B88
accent
#48DF53
background
#FEFEFC
surface
#FCFCF3
border
#D5D5CD
text
#15150C
muted
#84847F

Preview Lab

Preview with #C5CE51

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

Preview Lab → · Contrast checker → · Palette generator →

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