#C4CE51#C4CE51

#C4CE51 is a light, vivid yellow. Relative luminance 0.565; OKLCH L 82.0% C 0.148 H 113.5°. Best body text is #000000 at 12.29:1 contrast (WCAG AA passes).

Color values

HEX#C4CE51
RGBrgb(196, 206, 81)
HSLhsl(65, 56%, 56%)
HSVhsv(65, 61%, 81%)
CMYKcmyk(4.9%, 0%, 60.7%, 19.2%)
CIE-LABlab(79.88, -19.81, 59.24)
CIE-LCHlch(79.88, 62.47, 108.49°)
OKLaboklab(81.97% -0.059 0.1356)
OKLCHoklch(81.97% 0.148 113.5)
XYZxyz(46.3226, 56.4733, 16.2432)
Luminance0.5647 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C4CE51 #5B51CE
analogous
#CE9A51 #C4CE51 #86CE51
triadic
#C4CE51 #51C4CE #CE51C4
tetradic
#C4CE51 #51CE9A #5B51CE #CE5186
square
#C4CE51 #51CE9A #5B51CE #CE5186
split-complementary
#C4CE51 #5186CE #9A51CE
monochromatic
#798024 #A6B032 #C4CE51 #D4DB81 #E4E9B1

Accessibility & contrast

On white

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

On black

12.29
#C4CE51 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C4CE51
12.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C4CE51#FFFFFF#000000##000000
##C4CE511.001.7112.2912.29
#FFFFFF1.711.0021.0021.00
#00000012.2921.001.001.00
##00000012.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC542
Deuteranopia (green-blind)
#DCC759
Tritanopia (blue-blind)
#D0C3B4
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #c4ce51;
/* rgb */ color: rgb(196, 206, 81);
/* oklch */ color: oklch(82.0% 0.148 113.5);
Tailwind
colors: {
  custom: {
    50: '#d9dc87',
    500: '#c4ce51',
    950: '#000000',
  },
}
SCSS
$custom: #c4ce51;
$custom-light: #d9dc87;
$custom-dark: #000000;
JSON
{
  "hex": "#c4ce51",
  "rgb": {
    "r": 196,
    "g": 206,
    "b": 81
  },
  "hsl": {
    "h": 64.8,
    "s": 56.054,
    "l": 56.275
  },
  "oklch": {
    "l": 0.81974,
    "c": 0.14787,
    "h": 113.5
  },
  "luminance": 0.56472
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C4CE51

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

Preview Lab → · Contrast checker → · Palette generator →

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