#C7CD45#C7CD45

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

Color values

HEX#C7CD45
RGBrgb(199, 205, 69)
HSLhsl(63, 58%, 54%)
HSVhsv(63, 66%, 80%)
CMYKcmyk(2.9%, 0%, 66.3%, 19.6%)
CIE-LABlab(79.75, -18.84, 64.05)
CIE-LCHlch(79.75, 66.76, 106.39°)
OKLaboklab(81.89% -0.0576 0.144)
OKLCHoklch(81.89% 0.155 111.8)
XYZxyz(46.4601, 56.2355, 14.0362)
Luminance0.5623 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7CD45 #4B45CD
analogous
#CD8F45 #C7CD45 #83CD45
triadic
#C7CD45 #45C7CD #CD45C7
tetradic
#C7CD45 #45CD8F #4B45CD #CD4583
square
#C7CD45 #45CD8F #4B45CD #CD4583
split-complementary
#C7CD45 #4583CD #8F45CD
monochromatic
#747720 #A2A82D #C7CD45 #D6DA75 #E4E7A5

Accessibility & contrast

On white

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

On black

12.25
#C7CD45 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7CD45
12.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7CD45#FFFFFF#000000##000000
##C7CD451.001.7112.2512.25
#FFFFFF1.711.0021.0021.00
#00000012.2521.001.001.00
##00000012.2521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c7cd45;
/* rgb */ color: rgb(199, 205, 69);
/* oklch */ color: oklch(81.9% 0.155 111.8);
Tailwind
colors: {
  custom: {
    50: '#dbdc80',
    500: '#c7cd45',
    950: '#000000',
  },
}
SCSS
$custom: #c7cd45;
$custom-light: #dbdc80;
$custom-dark: #000000;
JSON
{
  "hex": "#c7cd45",
  "rgb": {
    "r": 199,
    "g": 205,
    "b": 69
  },
  "hsl": {
    "h": 62.647,
    "s": 57.627,
    "l": 53.725
  },
  "oklch": {
    "l": 0.81893,
    "c": 0.15506,
    "h": 111.8
  },
  "luminance": 0.56234
}

Semantic roles & 50–950 ramp

primary
#C7CD45
secondary
#3A3680
accent
#47E14E
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15150B
muted
#84847E

Preview Lab

Preview with #C7CD45

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

Preview Lab → · Contrast checker → · Palette generator →

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