#C7CC48#C7CC48

#C7CC48 is a light, vivid yellow. Relative luminance 0.558; OKLCH L 81.7% C 0.152 H 111.4°. Best body text is #000000 at 12.16:1 contrast (WCAG AA passes).

Color values

HEX#C7CC48
RGBrgb(199, 204, 72)
HSLhsl(62, 56%, 54%)
HSVhsv(62, 65%, 80%)
CMYKcmyk(2.5%, 0%, 64.7%, 20%)
CIE-LABlab(79.50, -18.17, 62.61)
CIE-LCHlch(79.50, 65.20, 106.18°)
OKLaboklab(81.7% -0.0554 0.1414)
OKLCHoklch(81.7% 0.152 111.4)
XYZxyz(46.3171, 55.7968, 14.4596)
Luminance0.5580 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7CC48 #4D48CC
analogous
#CC8F48 #C7CC48 #85CC48
triadic
#C7CC48 #48C7CC #CC48C7
tetradic
#C7CC48 #48CC8F #4D48CC #CC4885
square
#C7CC48 #48CC8F #4D48CC #CC4885
split-complementary
#C7CC48 #4885CC #8F48CC
monochromatic
#757821 #A3A82F #C7CC48 #D6D978 #E4E7A8

Accessibility & contrast

On white

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

On black

12.16
#C7CC48 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7CC48
12.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7CC48#FFFFFF#000000##000000
##C7CC481.001.7312.1612.16
#FFFFFF1.731.0021.0021.00
#00000012.1621.001.001.00
##00000012.1621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c7cc48;
/* rgb */ color: rgb(199, 204, 72);
/* oklch */ color: oklch(81.7% 0.152 111.4);
Tailwind
colors: {
  custom: {
    50: '#dbdb82',
    500: '#c7cc48',
    950: '#000000',
  },
}
SCSS
$custom: #c7cc48;
$custom-light: #dbdb82;
$custom-dark: #000000;
JSON
{
  "hex": "#c7cc48",
  "rgb": {
    "r": 199,
    "g": 204,
    "b": 72
  },
  "hsl": {
    "h": 62.273,
    "s": 56.41,
    "l": 54.118
  },
  "oklch": {
    "l": 0.817,
    "c": 0.15187,
    "h": 111.4
  },
  "luminance": 0.55796
}

Semantic roles & 50–950 ramp

primary
#C7CC48
secondary
#3A3880
accent
#48E04E
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140B
muted
#84837E

Preview Lab

Preview with #C7CC48

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

Preview Lab → · Contrast checker → · Palette generator →

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