#C7D442#C7D442

#C7D442 is a very light, vivid yellow. Relative luminance 0.596; OKLCH L 83.4% C 0.165 H 114.4°. Best body text is #000000 at 12.92:1 contrast (WCAG AA passes).

Color values

HEX#C7D442
RGBrgb(199, 212, 66)
HSLhsl(65, 63%, 55%)
HSVhsv(65, 69%, 83%)
CMYKcmyk(6.1%, 0%, 68.9%, 16.9%)
CIE-LABlab(81.63, -22.43, 67.08)
CIE-LCHlch(81.63, 70.73, 108.49°)
OKLaboklab(83.4% -0.068 0.1499)
OKLCHoklch(83.4% 0.165 114.4)
XYZxyz(48.0813, 59.6233, 14.1288)
Luminance0.5962 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7D442 #4F42D4
analogous
#D49842 #C7D442 #7ED442
triadic
#C7D442 #42C7D4 #D442C7
tetradic
#C7D442 #42D498 #4F42D4 #D4427E
square
#C7D442 #42D498 #4F42D4 #D4427E
split-complementary
#C7D442 #427ED4 #9842D4
monochromatic
#767F1D #A4B128 #C7D442 #D6DF74 #E5EBA6

Accessibility & contrast

On white

1.62
#C7D442 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.92
#C7D442 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7D442
12.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7D442#FFFFFF#000000##000000
##C7D4421.001.6212.9212.92
#FFFFFF1.621.0021.0021.00
#00000012.9221.001.001.00
##00000012.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3CA2A
Deuteranopia (green-blind)
#E2CC4D
Tritanopia (blue-blind)
#D4C8B7
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #c7d442;
/* rgb */ color: rgb(199, 212, 66);
/* oklch */ color: oklch(83.4% 0.165 114.4);
Tailwind
colors: {
  custom: {
    50: '#dbe17f',
    500: '#c7d442',
    950: '#000000',
  },
}
SCSS
$custom: #c7d442;
$custom-light: #dbe17f;
$custom-dark: #000000;
JSON
{
  "hex": "#c7d442",
  "rgb": {
    "r": 199,
    "g": 212,
    "b": 66
  },
  "hsl": {
    "h": 65.342,
    "s": 62.931,
    "l": 54.51
  },
  "oklch": {
    "l": 0.83396,
    "c": 0.16455,
    "h": 114.4
  },
  "luminance": 0.59622
}

Semantic roles & 50–950 ramp

primary
#C7D442
secondary
#3B3486
accent
#42E650
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#15150B
muted
#84847E

Preview Lab

Preview with #C7D442

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

Preview Lab → · Contrast checker → · Palette generator →

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