#C7CD3F#C7CD3F

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

Color values

HEX#C7CD3F
RGBrgb(199, 205, 63)
HSLhsl(63, 59%, 53%)
HSVhsv(63, 69%, 80%)
CMYKcmyk(2.9%, 0%, 69.3%, 19.6%)
CIE-LABlab(79.71, -19.16, 66.27)
CIE-LCHlch(79.71, 68.98, 106.13°)
OKLaboklab(81.85% -0.0591 0.1477)
OKLCHoklch(81.85% 0.159 111.8)
XYZxyz(46.2832, 56.1648, 13.1045)
Luminance0.5616 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7CD3F #453FCD
analogous
#CD8C3F #C7CD3F #80CD3F
triadic
#C7CD3F #3FC7CD #CD3FC7
tetradic
#C7CD3F #3FCD8C #453FCD #CD3F80
square
#C7CD3F #3FCD8C #453FCD #CD3F80
split-complementary
#C7CD3F #3F80CD #8C3FCD
monochromatic
#70741E #9FA42B #C7CD3F #D5DA70 #E3E6A0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C7CD3F#FFFFFF#000000##000000
##C7CD3F1.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)
#DDC427
Deuteranopia (green-blind)
#DDC74A
Tritanopia (blue-blind)
#D4C1B1
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #c7cd3f;
/* rgb */ color: rgb(199, 205, 63);
/* oklch */ color: oklch(81.8% 0.159 111.8);
Tailwind
colors: {
  custom: {
    50: '#dbdc7d',
    500: '#c7cd3f',
    950: '#000000',
  },
}
SCSS
$custom: #c7cd3f;
$custom-light: #dbdc7d;
$custom-dark: #000000;
JSON
{
  "hex": "#c7cd3f",
  "rgb": {
    "r": 199,
    "g": 205,
    "b": 63
  },
  "hsl": {
    "h": 62.535,
    "s": 58.678,
    "l": 52.549
  },
  "oklch": {
    "l": 0.81848,
    "c": 0.15905,
    "h": 111.8
  },
  "luminance": 0.56164
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C7CD3F

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

Preview Lab → · Contrast checker → · Palette generator →

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