#C7CC3D#C7CC3D

#C7CC3D is a light, vivid yellow. Relative luminance 0.557; OKLCH L 81.6% C 0.159 H 111.4°. Best body text is #000000 at 12.13:1 contrast (WCAG AA passes).

Color values

HEX#C7CC3D
RGBrgb(199, 204, 61)
HSLhsl(62, 58%, 52%)
HSVhsv(62, 70%, 80%)
CMYKcmyk(2.5%, 0%, 70.1%, 20%)
CIE-LABlab(79.42, -18.77, 66.71)
CIE-LCHlch(79.42, 69.30, 105.72°)
OKLaboklab(81.62% -0.0582 0.1483)
OKLCHoklch(81.62% 0.159 111.4)
XYZxyz(45.9898, 55.6659, 12.7359)
Luminance0.5566 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7CC3D #423DCC
analogous
#CC8A3D #C7CC3D #80CC3D
triadic
#C7CC3D #3DC7CC #CC3DC7
tetradic
#C7CC3D #3DCC8A #423DCC #CC3D80
square
#C7CC3D #3DCC8A #423DCC #CC3D80
split-complementary
#C7CC3D #3D80CC #8A3DCC
monochromatic
#6E711E #9DA12A #C7CC3D #D5D96D #E3E59E

Accessibility & contrast

On white

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

On black

12.13
#C7CC3D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7CC3D
12.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7CC3D#FFFFFF#000000##000000
##C7CC3D1.001.7312.1312.13
#FFFFFF1.731.0021.0021.00
#00000012.1321.001.001.00
##00000012.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC324
Deuteranopia (green-blind)
#DCC748
Tritanopia (blue-blind)
#D5C0B0
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #c7cc3d;
/* rgb */ color: rgb(199, 204, 61);
/* oklch */ color: oklch(81.6% 0.159 111.4);
Tailwind
colors: {
  custom: {
    50: '#dbdb7c',
    500: '#c7cc3d',
    950: '#000000',
  },
}
SCSS
$custom: #c7cc3d;
$custom-light: #dbdb7c;
$custom-dark: #000000;
JSON
{
  "hex": "#c7cc3d",
  "rgb": {
    "r": 199,
    "g": 204,
    "b": 61
  },
  "hsl": {
    "h": 62.098,
    "s": 58.367,
    "l": 51.961
  },
  "oklch": {
    "l": 0.81617,
    "c": 0.15927,
    "h": 111.4
  },
  "luminance": 0.55665
}

Semantic roles & 50–950 ramp

primary
#C7CC3D
secondary
#36337A
accent
#46E24C
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140A
muted
#84837D

Preview Lab

Preview with #C7CC3D

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

Preview Lab → · Contrast checker → · Palette generator →

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