#C7CC4B#C7CC4B

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

Color values

HEX#C7CC4B
RGBrgb(199, 204, 75)
HSLhsl(62, 56%, 55%)
HSVhsv(62, 63%, 80%)
CMYKcmyk(2.5%, 0%, 63.2%, 20%)
CIE-LABlab(79.52, -17.98, 61.43)
CIE-LCHlch(79.52, 64.00, 106.32°)
OKLaboklab(81.73% -0.0546 0.1393)
OKLCHoklch(81.73% 0.15 111.4)
XYZxyz(46.4174, 55.8369, 14.9877)
Luminance0.5584 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7CC4B #504BCC
analogous
#CC914B #C7CC4B #86CC4B
triadic
#C7CC4B #4BC7CC #CC4BC7
tetradic
#C7CC4B #4BCC91 #504BCC #CC4B86
square
#C7CC4B #4BCC91 #504BCC #CC4B86
split-complementary
#C7CC4B #4B86CC #914BCC
monochromatic
#777A23 #A5AA30 #C7CC4B #D6DA7B #E5E7AA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C7CC4B#FFFFFF#000000##000000
##C7CC4B1.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)
#DBC33A
Deuteranopia (green-blind)
#DCC753
Tritanopia (blue-blind)
#D4C0B1
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #c7cc4b;
/* rgb */ color: rgb(199, 204, 75);
/* oklch */ color: oklch(81.7% 0.150 111.4);
Tailwind
colors: {
  custom: {
    50: '#dbdb83',
    500: '#c7cc4b',
    950: '#000000',
  },
}
SCSS
$custom: #c7cc4b;
$custom-light: #dbdb83;
$custom-dark: #000000;
JSON
{
  "hex": "#c7cc4b",
  "rgb": {
    "r": 199,
    "g": 204,
    "b": 75
  },
  "hsl": {
    "h": 62.326,
    "s": 55.844,
    "l": 54.706
  },
  "oklch": {
    "l": 0.81726,
    "c": 0.14965,
    "h": 111.4
  },
  "luminance": 0.55836
}

Semantic roles & 50–950 ramp

primary
#C7CC4B
secondary
#3C3982
accent
#49DF4E
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140B
muted
#84837E

Preview Lab

Preview with #C7CC4B

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

Preview Lab → · Contrast checker → · Palette generator →

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