#C7CC3F#C7CC3F

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

Color values

HEX#C7CC3F
RGBrgb(199, 204, 63)
HSLhsl(62, 58%, 52%)
HSVhsv(62, 69%, 80%)
CMYKcmyk(2.5%, 0%, 69.1%, 20%)
CIE-LABlab(79.44, -18.67, 66.00)
CIE-LCHlch(79.44, 68.59, 105.80°)
OKLaboklab(81.63% -0.0577 0.1471)
OKLCHoklch(81.63% 0.158 111.4)
XYZxyz(46.0447, 55.6879, 13.0250)
Luminance0.5569 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7CC3F #443FCC
analogous
#CC8B3F #C7CC3F #80CC3F
triadic
#C7CC3F #3FC7CC #CC3FC7
tetradic
#C7CC3F #3FCC8B #443FCC #CC3F80
square
#C7CC3F #3FCC8B #443FCC #CC3F80
split-complementary
#C7CC3F #3F80CC #8B3FCC
monochromatic
#6F721E #9EA32B #C7CC3F #D5D96F #E3E6A0

Accessibility & contrast

On white

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

On black

12.14
#C7CC3F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7CC3F
12.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7CC3F#FFFFFF#000000##000000
##C7CC3F1.001.7312.1412.14
#FFFFFF1.731.0021.0021.00
#00000012.1421.001.001.00
##00000012.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC328
Deuteranopia (green-blind)
#DCC749
Tritanopia (blue-blind)
#D4C0B0
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #c7cc3f;
/* rgb */ color: rgb(199, 204, 63);
/* oklch */ color: oklch(81.6% 0.158 111.4);
Tailwind
colors: {
  custom: {
    50: '#dbdb7d',
    500: '#c7cc3f',
    950: '#000000',
  },
}
SCSS
$custom: #c7cc3f;
$custom-light: #dbdb7d;
$custom-dark: #000000;
JSON
{
  "hex": "#c7cc3f",
  "rgb": {
    "r": 199,
    "g": 204,
    "b": 63
  },
  "hsl": {
    "h": 62.128,
    "s": 58.025,
    "l": 52.353
  },
  "oklch": {
    "l": 0.81631,
    "c": 0.15801,
    "h": 111.4
  },
  "luminance": 0.55687
}

Semantic roles & 50–950 ramp

primary
#C7CC3F
secondary
#37347B
accent
#47E14C
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140A
muted
#84837D

Preview Lab

Preview with #C7CC3F

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

Preview Lab → · Contrast checker → · Palette generator →

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