#C7CD3D#C7CD3D

#C7CD3D is a light, vivid yellow. Relative luminance 0.561; OKLCH L 81.8% C 0.160 H 111.8°. Best body text is #000000 at 12.23:1 contrast (WCAG AA passes).

Color values

HEX#C7CD3D
RGBrgb(199, 205, 61)
HSLhsl(63, 59%, 52%)
HSVhsv(63, 70%, 80%)
CMYKcmyk(2.9%, 0%, 70.2%, 19.6%)
CIE-LABlab(79.69, -19.27, 66.98)
CIE-LCHlch(79.69, 69.69, 106.05°)
OKLaboklab(81.83% -0.0596 0.1488)
OKLCHoklch(81.83% 0.16 111.8)
XYZxyz(46.2283, 56.1428, 12.8154)
Luminance0.5614 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7CD3D #433DCD
analogous
#CD8B3D #C7CD3D #7FCD3D
triadic
#C7CD3D #3DC7CD #CD3DC7
tetradic
#C7CD3D #3DCD8B #433DCD #CD3D7F
square
#C7CD3D #3DCD8B #433DCD #CD3D7F
split-complementary
#C7CD3D #3D7FCD #8B3DCD
monochromatic
#6F721D #9EA32A #C7CD3D #D5DA6E #E3E69E

Accessibility & contrast

On white

1.72
#C7CD3D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.23
#C7CD3D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7CD3D
12.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7CD3D#FFFFFF#000000##000000
##C7CD3D1.001.7212.2312.23
#FFFFFF1.721.0021.0021.00
#00000012.2321.001.001.00
##00000012.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC424
Deuteranopia (green-blind)
#DDC748
Tritanopia (blue-blind)
#D4C1B1
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #c7cd3d;
/* rgb */ color: rgb(199, 205, 61);
/* oklch */ color: oklch(81.8% 0.160 111.8);
Tailwind
colors: {
  custom: {
    50: '#dbdc7c',
    500: '#c7cd3d',
    950: '#000000',
  },
}
SCSS
$custom: #c7cd3d;
$custom-light: #dbdc7c;
$custom-dark: #000000;
JSON
{
  "hex": "#c7cd3d",
  "rgb": {
    "r": 199,
    "g": 205,
    "b": 61
  },
  "hsl": {
    "h": 62.5,
    "s": 59.016,
    "l": 52.157
  },
  "oklch": {
    "l": 0.81834,
    "c": 0.1603,
    "h": 111.8
  },
  "luminance": 0.56142
}

Semantic roles & 50–950 ramp

primary
#C7CD3D
secondary
#36337B
accent
#46E24C
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15150A
muted
#84847D

Preview Lab

Preview with #C7CD3D

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

Preview Lab → · Contrast checker → · Palette generator →

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