#C7DC4A#C7DC4A

#C7DC4A is a very light, vivid yellow. Relative luminance 0.638; OKLCH L 85.2% C 0.168 H 117.2°. Best body text is #000000 at 13.76:1 contrast (WCAG AA passes).

Color values

HEX#C7DC4A
RGBrgb(199, 220, 74)
HSLhsl(69, 68%, 58%)
HSVhsv(69, 66%, 86%)
CMYKcmyk(9.5%, 0%, 66.4%, 13.7%)
CIE-LABlab(83.87, -25.83, 66.34)
CIE-LCHlch(83.87, 71.20, 111.28°)
OKLaboklab(85.21% -0.0767 0.1495)
OKLCHoklch(85.21% 0.168 117.2)
XYZxyz(50.3835, 63.8235, 16.1422)
Luminance0.6382 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7DC4A #5F4ADC
analogous
#DCA84A #C7DC4A #7EDC4A
triadic
#C7DC4A #4AC7DC #DC4AC7
tetradic
#C7DC4A #4ADCA8 #5F4ADC #DC4A7E
square
#C7DC4A #4ADCA8 #5F4ADC #DC4A7E
split-complementary
#C7DC4A #4A7EDC #A84ADC
monochromatic
#7F901C #ACC326 #C7DC4A #D7E67D #E7F0B1

Accessibility & contrast

On white

1.53
#C7DC4A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.76
#C7DC4A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7DC4A
13.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7DC4A#FFFFFF#000000##000000
##C7DC4A1.001.5313.7613.76
#FFFFFF1.531.0021.0021.00
#00000013.7621.001.001.00
##00000013.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#EAD135
Deuteranopia (green-blind)
#E8D255
Tritanopia (blue-blind)
#D3D0BF
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #c7dc4a;
/* rgb */ color: rgb(199, 220, 74);
/* oklch */ color: oklch(85.2% 0.168 117.2);
Tailwind
colors: {
  custom: {
    50: '#dbe684',
    500: '#c7dc4a',
    950: '#000000',
  },
}
SCSS
$custom: #c7dc4a;
$custom-light: #dbe684;
$custom-dark: #000000;
JSON
{
  "hex": "#c7dc4a",
  "rgb": {
    "r": 199,
    "g": 220,
    "b": 74
  },
  "hsl": {
    "h": 68.63,
    "s": 67.593,
    "l": 57.647
  },
  "oklch": {
    "l": 0.85211,
    "c": 0.16806,
    "h": 117.2
  },
  "luminance": 0.63823
}

Semantic roles & 50–950 ramp

primary
#C7DC4A
secondary
#433595
accent
#3DEA56
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#15160B
muted
#84847E

Preview Lab

Preview with #C7DC4A

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

Preview Lab → · Contrast checker → · Palette generator →

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