#C7D23C#C7D23C

#C7D23C 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#C7D23C
RGBrgb(199, 210, 60)
HSLhsl(64, 63%, 53%)
HSVhsv(64, 71%, 82%)
CMYKcmyk(5.2%, 0%, 71.4%, 17.6%)
CIE-LABlab(81.05, -21.77, 68.64)
CIE-LCHlch(81.05, 72.01, 107.59°)
OKLaboklab(82.92% -0.0667 0.1522)
OKLCHoklch(82.92% 0.166 113.7)
XYZxyz(47.4168, 58.5625, 13.0800)
Luminance0.5856 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7D23C #473CD2
analogous
#D2923C #C7D23C #7CD23C
triadic
#C7D23C #3CC7D2 #D23CC7
tetradic
#C7D23C #3CD292 #473CD2 #D23C7C
square
#C7D23C #3CD292 #473CD2 #D23C7C
split-complementary
#C7D23C #3C7CD2 #923CD2
monochromatic
#71781C #A0AA27 #C7D23C #D5DD6E #E4E99F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C7D23C#FFFFFF#000000##000000
##C7D23C1.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)
#E1C820
Deuteranopia (green-blind)
#E1CB48
Tritanopia (blue-blind)
#D4C6B5
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #c7d23c;
/* rgb */ color: rgb(199, 210, 60);
/* oklch */ color: oklch(82.9% 0.166 113.7);
Tailwind
colors: {
  custom: {
    50: '#dcdf7c',
    500: '#c7d23c',
    950: '#000000',
  },
}
SCSS
$custom: #c7d23c;
$custom-light: #dcdf7c;
$custom-dark: #000000;
JSON
{
  "hex": "#c7d23c",
  "rgb": {
    "r": 199,
    "g": 210,
    "b": 60
  },
  "hsl": {
    "h": 64.4,
    "s": 62.5,
    "l": 52.941
  },
  "oklch": {
    "l": 0.82917,
    "c": 0.16613,
    "h": 113.7
  },
  "luminance": 0.58562
}

Semantic roles & 50–950 ramp

primary
#C7D23C
secondary
#383280
accent
#42E64E
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#15150A
muted
#84847D

Preview Lab

Preview with #C7D23C

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

Preview Lab → · Contrast checker → · Palette generator →

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