#C5D93A#C5D93A

#C5D93A is a very light, vivid yellow. Relative luminance 0.618; OKLCH L 84.3% C 0.175 H 116.6°. Best body text is #000000 at 13.36:1 contrast (WCAG AA passes).

Color values

HEX#C5D93A
RGBrgb(197, 217, 58)
HSLhsl(68, 68%, 54%)
HSVhsv(68, 73%, 85%)
CMYKcmyk(9.2%, 0%, 73.3%, 14.9%)
CIE-LABlab(82.81, -26.06, 70.95)
CIE-LCHlch(82.81, 75.58, 110.17°)
OKLaboklab(84.29% -0.0786 0.1568)
OKLCHoklch(84.29% 0.175 116.6)
XYZxyz(48.6038, 61.8022, 13.3708)
Luminance0.6180 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5D93A #4E3AD9
analogous
#D99E3A #C5D93A #76D93A
triadic
#C5D93A #3AC5D9 #D93AC5
tetradic
#C5D93A #3AD99E #4E3AD9 #D93A76
square
#C5D93A #3AD99E #4E3AD9 #D93A76
split-complementary
#C5D93A #3A76D9 #9E3AD9
monochromatic
#738019 #A1B323 #C5D93A #D4E36D #E3EDA1

Accessibility & contrast

On white

1.57
#C5D93A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.36
#C5D93A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5D93A
13.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5D93A#FFFFFF#000000##000000
##C5D93A1.001.5713.3613.36
#FFFFFF1.571.0021.0021.00
#00000013.3621.001.001.00
##00000013.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E8CD18
Deuteranopia (green-blind)
#E6CF48
Tritanopia (blue-blind)
#D1CDBB
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #c5d93a;
/* rgb */ color: rgb(197, 217, 58);
/* oklch */ color: oklch(84.3% 0.175 116.6);
Tailwind
colors: {
  custom: {
    50: '#dae47c',
    500: '#c5d93a',
    950: '#000000',
  },
}
SCSS
$custom: #c5d93a;
$custom-light: #dae47c;
$custom-dark: #000000;
JSON
{
  "hex": "#c5d93a",
  "rgb": {
    "r": 197,
    "g": 217,
    "b": 58
  },
  "hsl": {
    "h": 67.547,
    "s": 67.66,
    "l": 53.922
  },
  "oklch": {
    "l": 0.84287,
    "c": 0.17537,
    "h": 116.6
  },
  "luminance": 0.61802
}

Semantic roles & 50–950 ramp

primary
#C5D93A
secondary
#3B3087
accent
#3DEB53
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#15150A
muted
#84847D

Preview Lab

Preview with #C5D93A

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

Preview Lab → · Contrast checker → · Palette generator →

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