#C7CD3A#C7CD3A

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

Color values

HEX#C7CD3A
RGBrgb(199, 205, 58)
HSLhsl(62, 60%, 52%)
HSVhsv(62, 72%, 80%)
CMYKcmyk(2.9%, 0%, 71.7%, 19.6%)
CIE-LABlab(79.68, -19.41, 68.01)
CIE-LCHlch(79.68, 70.73, 105.93°)
OKLaboklab(81.81% -0.0603 0.1505)
OKLCHoklch(81.81% 0.162 111.8)
XYZxyz(46.1497, 56.1114, 12.4017)
Luminance0.5611 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7CD3A #403ACD
analogous
#CD8A3A #C7CD3A #7ECD3A
triadic
#C7CD3A #3AC7CD #CD3AC7
tetradic
#C7CD3A #3ACD8A #403ACD #CD3A7E
square
#C7CD3A #3ACD8A #403ACD #CD3A7E
split-complementary
#C7CD3A #3A7ECD #8A3ACD
monochromatic
#6D701C #9CA129 #C7CD3A #D5D96B #E3E69C

Accessibility & contrast

On white

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

On black

12.22
#C7CD3A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7CD3A
12.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7CD3A#FFFFFF#000000##000000
##C7CD3A1.001.7212.2212.22
#FFFFFF1.721.0021.0021.00
#00000012.2221.001.001.00
##00000012.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC41E
Deuteranopia (green-blind)
#DDC746
Tritanopia (blue-blind)
#D5C0B1
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #c7cd3a;
/* rgb */ color: rgb(199, 205, 58);
/* oklch */ color: oklch(81.8% 0.162 111.8);
Tailwind
colors: {
  custom: {
    50: '#dcdc7a',
    500: '#c7cd3a',
    950: '#000000',
  },
}
SCSS
$custom: #c7cd3a;
$custom-light: #dcdc7a;
$custom-dark: #000000;
JSON
{
  "hex": "#c7cd3a",
  "rgb": {
    "r": 199,
    "g": 205,
    "b": 58
  },
  "hsl": {
    "h": 62.449,
    "s": 59.514,
    "l": 51.569
  },
  "oklch": {
    "l": 0.81814,
    "c": 0.16212,
    "h": 111.8
  },
  "luminance": 0.5611
}

Semantic roles & 50–950 ramp

primary
#C7CD3A
secondary
#353279
accent
#45E34C
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15150A
muted
#84847D

Preview Lab

Preview with #C7CD3A

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

Preview Lab → · Contrast checker → · Palette generator →

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