#C7CC46#C7CC46

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

Color values

HEX#C7CC46
RGBrgb(199, 204, 70)
HSLhsl(62, 57%, 54%)
HSVhsv(62, 66%, 80%)
CMYKcmyk(2.5%, 0%, 65.7%, 20%)
CIE-LABlab(79.48, -18.29, 63.39)
CIE-LCHlch(79.48, 65.97, 106.09°)
OKLaboklab(81.68% -0.056 0.1427)
OKLCHoklch(81.68% 0.153 111.4)
XYZxyz(46.2529, 55.7712, 14.1216)
Luminance0.5577 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7CC46 #4B46CC
analogous
#CC8E46 #C7CC46 #84CC46
triadic
#C7CC46 #46C7CC #CC46C7
tetradic
#C7CC46 #46CC8E #4B46CC #CC4684
square
#C7CC46 #46CC8E #4B46CC #CC4684
split-complementary
#C7CC46 #4684CC #8E46CC
monochromatic
#747721 #A2A72E #C7CC46 #D6D976 #E4E6A6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C7CC46#FFFFFF#000000##000000
##C7CC461.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)
#DBC333
Deuteranopia (green-blind)
#DCC74F
Tritanopia (blue-blind)
#D4C0B1
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #c7cc46;
/* rgb */ color: rgb(199, 204, 70);
/* oklch */ color: oklch(81.7% 0.153 111.4);
Tailwind
colors: {
  custom: {
    50: '#dbdb81',
    500: '#c7cc46',
    950: '#000000',
  },
}
SCSS
$custom: #c7cc46;
$custom-light: #dbdb81;
$custom-dark: #000000;
JSON
{
  "hex": "#c7cc46",
  "rgb": {
    "r": 199,
    "g": 204,
    "b": 70
  },
  "hsl": {
    "h": 62.239,
    "s": 56.78,
    "l": 53.725
  },
  "oklch": {
    "l": 0.81684,
    "c": 0.1533,
    "h": 111.4
  },
  "luminance": 0.5577
}

Semantic roles & 50–950 ramp

primary
#C7CC46
secondary
#3A377F
accent
#48E04D
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140B
muted
#84837E

Preview Lab

Preview with #C7CC46

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

Preview Lab → · Contrast checker → · Palette generator →

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