#C7D23D#C7D23D

#C7D23D is a very light, vivid yellow. Relative luminance 0.586; OKLCH L 82.9% C 0.166 H 113.7°. Best body text is #000000 at 12.71:1 contrast (WCAG AA passes).

Color values

HEX#C7D23D
RGBrgb(199, 210, 61)
HSLhsl(64, 62%, 53%)
HSVhsv(64, 71%, 82%)
CMYKcmyk(5.2%, 0%, 71%, 17.6%)
CIE-LABlab(81.06, -21.72, 68.30)
CIE-LCHlch(81.06, 71.67, 107.64°)
OKLaboklab(82.92% -0.0664 0.1516)
OKLCHoklch(82.92% 0.166 113.7)
XYZxyz(47.4435, 58.5732, 13.2205)
Luminance0.5857 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7D23D #483DD2
analogous
#D2933D #C7D23D #7CD23D
triadic
#C7D23D #3DC7D2 #D23DC7
tetradic
#C7D23D #3DD293 #483DD2 #D23D7C
square
#C7D23D #3DD293 #483DD2 #D23D7C
split-complementary
#C7D23D #3D7CD2 #933DD2
monochromatic
#72791C #A1AA28 #C7D23D #D5DE6F #E4E9A0

Accessibility & contrast

On white

1.65
#C7D23D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.71
#C7D23D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7D23D
12.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7D23D#FFFFFF#000000##000000
##C7D23D1.001.6512.7112.71
#FFFFFF1.651.0021.0021.00
#00000012.7121.001.001.00
##00000012.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1C822
Deuteranopia (green-blind)
#E1CB49
Tritanopia (blue-blind)
#D4C6B5
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #c7d23d;
/* rgb */ color: rgb(199, 210, 61);
/* oklch */ color: oklch(82.9% 0.166 113.7);
Tailwind
colors: {
  custom: {
    50: '#dcdf7c',
    500: '#c7d23d',
    950: '#000000',
  },
}
SCSS
$custom: #c7d23d;
$custom-light: #dcdf7c;
$custom-dark: #000000;
JSON
{
  "hex": "#c7d23d",
  "rgb": {
    "r": 199,
    "g": 210,
    "b": 61
  },
  "hsl": {
    "h": 64.43,
    "s": 62.343,
    "l": 53.137
  },
  "oklch": {
    "l": 0.82924,
    "c": 0.16553,
    "h": 113.7
  },
  "luminance": 0.58572
}

Semantic roles & 50–950 ramp

primary
#C7D23D
secondary
#383281
accent
#42E54E
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#15150A
muted
#84847D

Preview Lab

Preview with #C7D23D

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

Preview Lab → · Contrast checker → · Palette generator →

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