#C4CE52#C4CE52

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

Color values

HEX#C4CE52
RGBrgb(196, 206, 82)
HSLhsl(65, 56%, 56%)
HSVhsv(65, 60%, 81%)
CMYKcmyk(4.9%, 0%, 60.2%, 19.2%)
CIE-LABlab(79.89, -19.74, 58.83)
CIE-LCHlch(79.89, 62.05, 108.55°)
OKLaboklab(81.98% -0.0587 0.1349)
OKLCHoklch(81.98% 0.147 113.5)
XYZxyz(46.3604, 56.4884, 16.4422)
Luminance0.5649 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C4CE52 #5C52CE
analogous
#CE9A52 #C4CE52 #86CE52
triadic
#C4CE52 #52C4CE #CE52C4
tetradic
#C4CE52 #52CE9A #5C52CE #CE5286
square
#C4CE52 #52CE9A #5C52CE #CE5286
split-complementary
#C4CE52 #5286CE #9A52CE
monochromatic
#7A8125 #A7B132 #C4CE52 #D4DC82 #E5E9B1

Accessibility & contrast

On white

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

On black

12.30
#C4CE52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C4CE52
12.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C4CE52#FFFFFF#000000##000000
##C4CE521.001.7112.3012.30
#FFFFFF1.711.0021.0021.00
#00000012.3021.001.001.00
##00000012.3021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c4ce52;
/* rgb */ color: rgb(196, 206, 82);
/* oklch */ color: oklch(82.0% 0.147 113.5);
Tailwind
colors: {
  custom: {
    50: '#d9dc88',
    500: '#c4ce52',
    950: '#000000',
  },
}
SCSS
$custom: #c4ce52;
$custom-light: #d9dc88;
$custom-dark: #000000;
JSON
{
  "hex": "#c4ce52",
  "rgb": {
    "r": 196,
    "g": 206,
    "b": 82
  },
  "hsl": {
    "h": 64.839,
    "s": 55.856,
    "l": 56.471
  },
  "oklch": {
    "l": 0.81983,
    "c": 0.14707,
    "h": 113.5
  },
  "luminance": 0.56488
}

Semantic roles & 50–950 ramp

primary
#C4CE52
secondary
#423C88
accent
#49DF55
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#15150C
muted
#84847F

Preview Lab

Preview with #C4CE52

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

Preview Lab → · Contrast checker → · Palette generator →

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