#C7D423#C7D423

#C7D423 is a very light, vivid yellow. Relative luminance 0.594; OKLCH L 83.2% C 0.180 H 114.2°. Best body text is #000000 at 12.87:1 contrast (WCAG AA passes).

Color values

HEX#C7D423
RGBrgb(199, 212, 35)
HSLhsl(64, 72%, 48%)
HSVhsv(64, 83%, 83%)
CMYKcmyk(6.1%, 0%, 83.5%, 16.9%)
CIE-LABlab(81.48, -23.68, 76.22)
CIE-LCHlch(81.48, 79.81, 107.26°)
OKLaboklab(83.23% -0.0738 0.1641)
OKLCHoklch(83.23% 0.18 114.2)
XYZxyz(47.4016, 59.3514, 10.5487)
Luminance0.5935 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7D423 #3023D4
analogous
#D48823 #C7D423 #6ED423
triadic
#C7D423 #23C7D4 #D423C7
tetradic
#C7D423 #23D488 #3023D4 #D4236E
square
#C7D423 #23D488 #3023D4 #D4236E
split-complementary
#C7D423 #236ED4 #8823D4
monochromatic
#646B12 #969F1A #C7D423 #D8E252 #E4EB86

Accessibility & contrast

On white

1.63
#C7D423 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.87
#C7D423 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7D423
12.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7D423#FFFFFF#000000##000000
##C7D4231.001.6312.8712.87
#FFFFFF1.631.0021.0021.00
#00000012.8721.001.001.00
##00000012.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#E4C900
Deuteranopia (green-blind)
#E4CC37
Tritanopia (blue-blind)
#D5C7B5
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #c7d423;
/* rgb */ color: rgb(199, 212, 35);
/* oklch */ color: oklch(83.2% 0.180 114.2);
Tailwind
colors: {
  custom: {
    50: '#dce171',
    500: '#c7d423',
    950: '#000000',
  },
}
SCSS
$custom: #c7d423;
$custom-light: #dce171;
$custom-dark: #000000;
JSON
{
  "hex": "#c7d423",
  "rgb": {
    "r": 199,
    "g": 212,
    "b": 35
  },
  "hsl": {
    "h": 64.407,
    "s": 71.66,
    "l": 48.431
  },
  "oklch": {
    "l": 0.83229,
    "c": 0.17992,
    "h": 114.2
  },
  "luminance": 0.5935
}

Semantic roles & 50–950 ramp

primary
#C7D423
secondary
#2C2775
accent
#39EE47
background
#FEFEFB
surface
#FCFCF1
border
#D5D5CB
text
#161509
muted
#84847D

Preview Lab

Preview with #C7D423

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

Preview Lab → · Contrast checker → · Palette generator →

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