#C7CC4F#C7CC4F

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

Color values

HEX#C7CC4F
RGBrgb(199, 204, 79)
HSLhsl(62, 55%, 55%)
HSVhsv(62, 61%, 80%)
CMYKcmyk(2.5%, 0%, 61.3%, 20%)
CIE-LABlab(79.55, -17.72, 59.80)
CIE-LCHlch(79.55, 62.37, 106.51°)
OKLaboklab(81.76% -0.0535 0.1365)
OKLCHoklch(81.76% 0.147 111.4)
XYZxyz(46.5586, 55.8934, 15.7315)
Luminance0.5589 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7CC4F #544FCC
analogous
#CC924F #C7CC4F #88CC4F
triadic
#C7CC4F #4FC7CC #CC4FC7
tetradic
#C7CC4F #4FCC92 #544FCC #CC4F88
square
#C7CC4F #4FCC92 #544FCC #CC4F88
split-complementary
#C7CC4F #4F88CC #924FCC
monochromatic
#797D24 #A7AC32 #C7CC4F #D6DA7E #E5E7AE

Accessibility & contrast

On white

1.72
#C7CC4F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.18
#C7CC4F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7CC4F
12.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7CC4F#FFFFFF#000000##000000
##C7CC4F1.001.7212.1812.18
#FFFFFF1.721.0021.0021.00
#00000012.1821.001.001.00
##00000012.1821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c7cc4f;
/* rgb */ color: rgb(199, 204, 79);
/* oklch */ color: oklch(81.8% 0.147 111.4);
Tailwind
colors: {
  custom: {
    50: '#dbdb86',
    500: '#c7cc4f',
    950: '#000000',
  },
}
SCSS
$custom: #c7cc4f;
$custom-light: #dbdb86;
$custom-dark: #000000;
JSON
{
  "hex": "#c7cc4f",
  "rgb": {
    "r": 199,
    "g": 204,
    "b": 79
  },
  "hsl": {
    "h": 62.4,
    "s": 55.066,
    "l": 55.49
  },
  "oklch": {
    "l": 0.81762,
    "c": 0.14656,
    "h": 111.4
  },
  "luminance": 0.55892
}

Semantic roles & 50–950 ramp

primary
#C7CC4F
secondary
#3E3B84
accent
#49DE4F
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140B
muted
#84837E

Preview Lab

Preview with #C7CC4F

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

Preview Lab → · Contrast checker → · Palette generator →

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