#C7CC43#C7CC43

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

Color values

HEX#C7CC43
RGBrgb(199, 204, 67)
HSLhsl(62, 57%, 53%)
HSVhsv(62, 67%, 80%)
CMYKcmyk(2.5%, 0%, 67.2%, 20%)
CIE-LABlab(79.46, -18.46, 64.53)
CIE-LCHlch(79.46, 67.12, 105.96°)
OKLaboklab(81.66% -0.0568 0.1446)
OKLCHoklch(81.66% 0.155 111.4)
XYZxyz(46.1606, 55.7342, 13.6353)
Luminance0.5573 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7CC43 #4843CC
analogous
#CC8C43 #C7CC43 #82CC43
triadic
#C7CC43 #43C7CC #CC43C7
tetradic
#C7CC43 #43CC8C #4843CC #CC4382
square
#C7CC43 #43CC8C #4843CC #CC4382
split-complementary
#C7CC43 #4382CC #8C43CC
monochromatic
#727520 #A1A52D #C7CC43 #D5D973 #E4E6A3

Accessibility & contrast

On white

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

On black

12.15
#C7CC43 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7CC43
12.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7CC43#FFFFFF#000000##000000
##C7CC431.001.7312.1512.15
#FFFFFF1.731.0021.0021.00
#00000012.1521.001.001.00
##00000012.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC32E
Deuteranopia (green-blind)
#DCC74D
Tritanopia (blue-blind)
#D4C0B1
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #c7cc43;
/* rgb */ color: rgb(199, 204, 67);
/* oklch */ color: oklch(81.7% 0.155 111.4);
Tailwind
colors: {
  custom: {
    50: '#dbdb7f',
    500: '#c7cc43',
    950: '#000000',
  },
}
SCSS
$custom: #c7cc43;
$custom-light: #dbdb7f;
$custom-dark: #000000;
JSON
{
  "hex": "#c7cc43",
  "rgb": {
    "r": 199,
    "g": 204,
    "b": 67
  },
  "hsl": {
    "h": 62.19,
    "s": 57.322,
    "l": 53.137
  },
  "oklch": {
    "l": 0.8166,
    "c": 0.15538,
    "h": 111.4
  },
  "luminance": 0.55733
}

Semantic roles & 50–950 ramp

primary
#C7CC43
secondary
#38367E
accent
#47E14D
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140B
muted
#84837E

Preview Lab

Preview with #C7CC43

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

Preview Lab → · Contrast checker → · Palette generator →

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