#C7CD3E#C7CD3E

#C7CD3E is a light, vivid yellow. Relative luminance 0.562; 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#C7CD3E
RGBrgb(199, 205, 62)
HSLhsl(63, 59%, 52%)
HSVhsv(63, 70%, 80%)
CMYKcmyk(2.9%, 0%, 69.8%, 19.6%)
CIE-LABlab(79.70, -19.22, 66.62)
CIE-LCHlch(79.70, 69.34, 106.09°)
OKLaboklab(81.84% -0.0594 0.1482)
OKLCHoklch(81.84% 0.16 111.8)
XYZxyz(46.2555, 56.1537, 12.9586)
Luminance0.5615 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7CD3E #443ECD
analogous
#CD8B3E #C7CD3E #80CD3E
triadic
#C7CD3E #3EC7CD #CD3EC7
tetradic
#C7CD3E #3ECD8B #443ECD #CD3E80
square
#C7CD3E #3ECD8B #443ECD #CD3E80
split-complementary
#C7CD3E #3E80CD #8B3ECD
monochromatic
#6F731E #9EA32A #C7CD3E #D5DA6F #E3E69F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C7CD3E#FFFFFF#000000##000000
##C7CD3E1.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)
#DDC426
Deuteranopia (green-blind)
#DDC749
Tritanopia (blue-blind)
#D4C1B1
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #c7cd3e;
/* rgb */ color: rgb(199, 205, 62);
/* oklch */ color: oklch(81.8% 0.160 111.8);
Tailwind
colors: {
  custom: {
    50: '#dbdc7c',
    500: '#c7cd3e',
    950: '#000000',
  },
}
SCSS
$custom: #c7cd3e;
$custom-light: #dbdc7c;
$custom-dark: #000000;
JSON
{
  "hex": "#c7cd3e",
  "rgb": {
    "r": 199,
    "g": 205,
    "b": 62
  },
  "hsl": {
    "h": 62.517,
    "s": 58.848,
    "l": 52.353
  },
  "oklch": {
    "l": 0.81841,
    "c": 0.15969,
    "h": 111.8
  },
  "luminance": 0.56153
}

Semantic roles & 50–950 ramp

primary
#C7CD3E
secondary
#37347C
accent
#46E24C
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15150A
muted
#84847D

Preview Lab

Preview with #C7CD3E

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

Preview Lab → · Contrast checker → · Palette generator →

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