#C7D23A#C7D23A

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

Color values

HEX#C7D23A
RGBrgb(199, 210, 58)
HSLhsl(64, 63%, 53%)
HSVhsv(64, 72%, 82%)
CMYKcmyk(5.2%, 0%, 72.4%, 17.6%)
CIE-LABlab(81.04, -21.86, 69.32)
CIE-LCHlch(81.04, 72.68, 107.51°)
OKLaboklab(82.9% -0.0671 0.1532)
OKLCHoklch(82.9% 0.167 113.7)
XYZxyz(47.3649, 58.5418, 12.8068)
Luminance0.5854 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7D23A #453AD2
analogous
#D2913A #C7D23A #7BD23A
triadic
#C7D23A #3AC7D2 #D23AC7
tetradic
#C7D23A #3AD291 #453AD2 #D23A7B
square
#C7D23A #3AD291 #453AD2 #D23A7B
split-complementary
#C7D23A #3A7BD2 #913AD2
monochromatic
#70771B #9FA826 #C7D23A #D5DD6C #E3E99E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C7D23A#FFFFFF#000000##000000
##C7D23A1.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)
#E1C81C
Deuteranopia (green-blind)
#E1CB46
Tritanopia (blue-blind)
#D4C5B5
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #c7d23a;
/* rgb */ color: rgb(199, 210, 58);
/* oklch */ color: oklch(82.9% 0.167 113.7);
Tailwind
colors: {
  custom: {
    50: '#dcdf7b',
    500: '#c7d23a',
    950: '#000000',
  },
}
SCSS
$custom: #c7d23a;
$custom-light: #dcdf7b;
$custom-dark: #000000;
JSON
{
  "hex": "#c7d23a",
  "rgb": {
    "r": 199,
    "g": 210,
    "b": 58
  },
  "hsl": {
    "h": 64.342,
    "s": 62.81,
    "l": 52.549
  },
  "oklch": {
    "l": 0.82904,
    "c": 0.16729,
    "h": 113.7
  },
  "luminance": 0.58541
}

Semantic roles & 50–950 ramp

primary
#C7D23A
secondary
#37317F
accent
#42E64E
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#15150A
muted
#84847D

Preview Lab

Preview with #C7D23A

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

Preview Lab → · Contrast checker → · Palette generator →

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