#C5D93E#C5D93E

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

Color values

HEX#C5D93E
RGBrgb(197, 217, 62)
HSLhsl(68, 67%, 55%)
HSVhsv(68, 71%, 85%)
CMYKcmyk(9.2%, 0%, 71.4%, 14.9%)
CIE-LABlab(82.83, -25.87, 69.63)
CIE-LCHlch(82.83, 74.28, 110.38°)
OKLaboklab(84.31% -0.0778 0.1546)
OKLCHoklch(84.31% 0.173 116.7)
XYZxyz(48.7095, 61.8445, 13.9277)
Luminance0.6184 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5D93E #523ED9
analogous
#D9A03E #C5D93E #78D93E
triadic
#C5D93E #3EC5D9 #D93EC5
tetradic
#C5D93E #3ED9A0 #523ED9 #D93E78
square
#C5D93E #3ED9A0 #523ED9 #D93E78
split-complementary
#C5D93E #3E78D9 #A03ED9
monochromatic
#75831A #A3B624 #C5D93E #D4E371 #E4EDA4

Accessibility & contrast

On white

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

On black

13.37
#C5D93E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5D93E
13.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5D93E#FFFFFF#000000##000000
##C5D93E1.001.5713.3713.37
#FFFFFF1.571.0021.0021.00
#00000013.3721.001.001.00
##00000013.3721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c5d93e;
/* rgb */ color: rgb(197, 217, 62);
/* oklch */ color: oklch(84.3% 0.173 116.7);
Tailwind
colors: {
  custom: {
    50: '#dae47d',
    500: '#c5d93e',
    950: '#000000',
  },
}
SCSS
$custom: #c5d93e;
$custom-light: #dae47d;
$custom-dark: #000000;
JSON
{
  "hex": "#c5d93e",
  "rgb": {
    "r": 197,
    "g": 217,
    "b": 62
  },
  "hsl": {
    "h": 67.742,
    "s": 67.1,
    "l": 54.706
  },
  "oklch": {
    "l": 0.84313,
    "c": 0.17308,
    "h": 116.7
  },
  "luminance": 0.61844
}

Semantic roles & 50–950 ramp

primary
#C5D93E
secondary
#3D328A
accent
#3EEA54
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#15150B
muted
#84847E

Preview Lab

Preview with #C5D93E

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

Preview Lab → · Contrast checker → · Palette generator →

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