#C7CD4A#C7CD4A

#C7CD4A is a light, vivid yellow. Relative luminance 0.563; OKLCH L 81.9% C 0.151 H 111.8°. Best body text is #000000 at 12.26:1 contrast (WCAG AA passes).

Color values

HEX#C7CD4A
RGBrgb(199, 205, 74)
HSLhsl(63, 57%, 55%)
HSVhsv(63, 64%, 80%)
CMYKcmyk(2.9%, 0%, 63.9%, 19.6%)
CIE-LABlab(79.78, -18.54, 62.11)
CIE-LCHlch(79.78, 64.82, 106.62°)
OKLaboklab(81.93% -0.0563 0.1406)
OKLCHoklch(81.93% 0.151 111.8)
XYZxyz(46.6219, 56.3002, 14.8883)
Luminance0.5630 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7CD4A #504ACD
analogous
#CD924A #C7CD4A #86CD4A
triadic
#C7CD4A #4AC7CD #CD4AC7
tetradic
#C7CD4A #4ACD92 #504ACD #CD4A86
square
#C7CD4A #4ACD92 #504ACD #CD4A86
split-complementary
#C7CD4A #4A86CD #924ACD
monochromatic
#777B22 #A5AB2F #C7CD4A #D6DA7A #E5E7AA

Accessibility & contrast

On white

1.71
#C7CD4A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.26
#C7CD4A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7CD4A
12.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7CD4A#FFFFFF#000000##000000
##C7CD4A1.001.7112.2612.26
#FFFFFF1.711.0021.0021.00
#00000012.2621.001.001.00
##00000012.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC439
Deuteranopia (green-blind)
#DDC753
Tritanopia (blue-blind)
#D4C1B2
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #c7cd4a;
/* rgb */ color: rgb(199, 205, 74);
/* oklch */ color: oklch(81.9% 0.151 111.8);
Tailwind
colors: {
  custom: {
    50: '#dbdc83',
    500: '#c7cd4a',
    950: '#000000',
  },
}
SCSS
$custom: #c7cd4a;
$custom-light: #dbdc83;
$custom-dark: #000000;
JSON
{
  "hex": "#c7cd4a",
  "rgb": {
    "r": 199,
    "g": 205,
    "b": 74
  },
  "hsl": {
    "h": 62.748,
    "s": 56.71,
    "l": 54.706
  },
  "oklch": {
    "l": 0.81934,
    "c": 0.15147,
    "h": 111.8
  },
  "luminance": 0.56299
}

Semantic roles & 50–950 ramp

primary
#C7CD4A
secondary
#3C3883
accent
#48E04F
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15150B
muted
#84847E

Preview Lab

Preview with #C7CD4A

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

Preview Lab → · Contrast checker → · Palette generator →

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