#C7D23E#C7D23E

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

Color values

HEX#C7D23E
RGBrgb(199, 210, 62)
HSLhsl(64, 62%, 53%)
HSVhsv(64, 70%, 82%)
CMYKcmyk(5.2%, 0%, 70.5%, 17.6%)
CIE-LABlab(81.06, -21.67, 67.96)
CIE-LCHlch(81.06, 71.33, 107.69°)
OKLaboklab(82.93% -0.0662 0.151)
OKLCHoklch(82.93% 0.165 113.7)
XYZxyz(47.4707, 58.5841, 13.3637)
Luminance0.5858 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7D23E #493ED2
analogous
#D2933E #C7D23E #7DD23E
triadic
#C7D23E #3EC7D2 #D23EC7
tetradic
#C7D23E #3ED293 #493ED2 #D23E7D
square
#C7D23E #3ED293 #493ED2 #D23E7D
split-complementary
#C7D23E #3E7DD2 #933ED2
monochromatic
#72791C #A1AB28 #C7D23E #D5DE70 #E4E9A1

Accessibility & contrast

On white

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

On black

12.72
#C7D23E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7D23E
12.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7D23E#FFFFFF#000000##000000
##C7D23E1.001.6512.7212.72
#FFFFFF1.651.0021.0021.00
#00000012.7221.001.001.00
##00000012.7221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c7d23e;
/* rgb */ color: rgb(199, 210, 62);
/* oklch */ color: oklch(82.9% 0.165 113.7);
Tailwind
colors: {
  custom: {
    50: '#dbdf7d',
    500: '#c7d23e',
    950: '#000000',
  },
}
SCSS
$custom: #c7d23e;
$custom-light: #dbdf7d;
$custom-dark: #000000;
JSON
{
  "hex": "#c7d23e",
  "rgb": {
    "r": 199,
    "g": 210,
    "b": 62
  },
  "hsl": {
    "h": 64.459,
    "s": 62.185,
    "l": 53.333
  },
  "oklch": {
    "l": 0.82931,
    "c": 0.16491,
    "h": 113.7
  },
  "luminance": 0.58583
}

Semantic roles & 50–950 ramp

primary
#C7D23E
secondary
#393381
accent
#43E54F
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#15150A
muted
#84847D

Preview Lab

Preview with #C7D23E

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

Preview Lab → · Contrast checker → · Palette generator →

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