#C7CC4D#C7CC4D

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

Color values

HEX#C7CC4D
RGBrgb(199, 204, 77)
HSLhsl(62, 55%, 55%)
HSVhsv(62, 62%, 80%)
CMYKcmyk(2.5%, 0%, 62.3%, 20%)
CIE-LABlab(79.54, -17.85, 60.62)
CIE-LCHlch(79.54, 63.19, 106.41°)
OKLaboklab(81.74% -0.054 0.1379)
OKLCHoklch(81.74% 0.148 111.4)
XYZxyz(46.4869, 55.8648, 15.3539)
Luminance0.5586 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7CC4D #524DCC
analogous
#CC914D #C7CC4D #88CC4D
triadic
#C7CC4D #4DC7CC #CC4DC7
tetradic
#C7CC4D #4DCC91 #524DCC #CC4D88
square
#C7CC4D #4DCC91 #524DCC #CC4D88
split-complementary
#C7CC4D #4D88CC #914DCC
monochromatic
#787B23 #A6AB31 #C7CC4D #D6DA7D #E5E7AC

Accessibility & contrast

On white

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

On black

12.17
#C7CC4D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7CC4D
12.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7CC4D#FFFFFF#000000##000000
##C7CC4D1.001.7312.1712.17
#FFFFFF1.731.0021.0021.00
#00000012.1721.001.001.00
##00000012.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC33D
Deuteranopia (green-blind)
#DCC755
Tritanopia (blue-blind)
#D4C0B2
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #c7cc4d;
/* rgb */ color: rgb(199, 204, 77);
/* oklch */ color: oklch(81.7% 0.148 111.4);
Tailwind
colors: {
  custom: {
    50: '#dbdb85',
    500: '#c7cc4d',
    950: '#000000',
  },
}
SCSS
$custom: #c7cc4d;
$custom-light: #dbdb85;
$custom-dark: #000000;
JSON
{
  "hex": "#c7cc4d",
  "rgb": {
    "r": 199,
    "g": 204,
    "b": 77
  },
  "hsl": {
    "h": 62.362,
    "s": 55.459,
    "l": 55.098
  },
  "oklch": {
    "l": 0.81744,
    "c": 0.14812,
    "h": 111.4
  },
  "luminance": 0.55864
}

Semantic roles & 50–950 ramp

primary
#C7CC4D
secondary
#3D3A83
accent
#49DF4F
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140B
muted
#84837E

Preview Lab

Preview with #C7CC4D

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

Preview Lab → · Contrast checker → · Palette generator →

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