#C5CC48#C5CC48

#C5CC48 is a light, vivid yellow. Relative luminance 0.555; OKLCH L 81.5% C 0.152 H 112.2°. Best body text is #000000 at 12.10:1 contrast (WCAG AA passes).

Color values

HEX#C5CC48
RGBrgb(197, 204, 72)
HSLhsl(63, 56%, 54%)
HSVhsv(63, 65%, 80%)
CMYKcmyk(3.4%, 0%, 64.7%, 20%)
CIE-LABlab(79.34, -19.00, 62.40)
CIE-LCHlch(79.34, 65.23, 106.93°)
OKLaboklab(81.54% -0.0577 0.141)
OKLCHoklch(81.54% 0.152 112.2)
XYZxyz(45.7898, 55.5249, 14.4349)
Luminance0.5552 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5CC48 #4F48CC
analogous
#CC9148 #C5CC48 #83CC48
triadic
#C5CC48 #48C5CC #CC48C5
tetradic
#C5CC48 #48CC91 #4F48CC #CC4883
square
#C5CC48 #48CC91 #4F48CC #CC4883
split-complementary
#C5CC48 #4883CC #9148CC
monochromatic
#747821 #A2A82F #C5CC48 #D4D978 #E3E7A8

Accessibility & contrast

On white

1.73
#C5CC48 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.10
#C5CC48 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5CC48
12.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5CC48#FFFFFF#000000##000000
##C5CC481.001.7312.1012.10
#FFFFFF1.731.0021.0021.00
#00000012.1021.001.001.00
##00000012.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC336
Deuteranopia (green-blind)
#DBC651
Tritanopia (blue-blind)
#D2C0B1
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #c5cc48;
/* rgb */ color: rgb(197, 204, 72);
/* oklch */ color: oklch(81.5% 0.152 112.2);
Tailwind
colors: {
  custom: {
    50: '#dadb82',
    500: '#c5cc48',
    950: '#000000',
  },
}
SCSS
$custom: #c5cc48;
$custom-light: #dadb82;
$custom-dark: #000000;
JSON
{
  "hex": "#c5cc48",
  "rgb": {
    "r": 197,
    "g": 204,
    "b": 72
  },
  "hsl": {
    "h": 63.182,
    "s": 56.41,
    "l": 54.118
  },
  "oklch": {
    "l": 0.81538,
    "c": 0.15232,
    "h": 112.2
  },
  "luminance": 0.55524
}

Semantic roles & 50–950 ramp

primary
#C5CC48
secondary
#3C3880
accent
#48E050
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140B
muted
#84837E

Preview Lab

Preview with #C5CC48

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

Preview Lab → · Contrast checker → · Palette generator →

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