#C5D93B#C5D93B

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

Color values

HEX#C5D93B
RGBrgb(197, 217, 59)
HSLhsl(68, 68%, 54%)
HSVhsv(68, 73%, 85%)
CMYKcmyk(9.2%, 0%, 72.8%, 14.9%)
CIE-LABlab(82.81, -26.02, 70.62)
CIE-LCHlch(82.81, 75.26, 110.22°)
OKLaboklab(84.29% -0.0784 0.1562)
OKLCHoklch(84.29% 0.175 116.7)
XYZxyz(48.6294, 61.8124, 13.5060)
Luminance0.6181 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5D93B #4F3BD9
analogous
#D99E3B #C5D93B #76D93B
triadic
#C5D93B #3BC5D9 #D93BC5
tetradic
#C5D93B #3BD99E #4F3BD9 #D93B76
square
#C5D93B #3BD99E #4F3BD9 #D93B76
split-complementary
#C5D93B #3B76D9 #9E3BD9
monochromatic
#748119 #A2B423 #C5D93B #D4E36E #E3EDA2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C5D93B#FFFFFF#000000##000000
##C5D93B1.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)
#E8CE1A
Deuteranopia (green-blind)
#E6CF48
Tritanopia (blue-blind)
#D1CDBB
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #c5d93b;
/* rgb */ color: rgb(197, 217, 59);
/* oklch */ color: oklch(84.3% 0.175 116.7);
Tailwind
colors: {
  custom: {
    50: '#dae47c',
    500: '#c5d93b',
    950: '#000000',
  },
}
SCSS
$custom: #c5d93b;
$custom-light: #dae47c;
$custom-dark: #000000;
JSON
{
  "hex": "#c5d93b",
  "rgb": {
    "r": 197,
    "g": 217,
    "b": 59
  },
  "hsl": {
    "h": 67.595,
    "s": 67.521,
    "l": 54.118
  },
  "oklch": {
    "l": 0.84293,
    "c": 0.17482,
    "h": 116.7
  },
  "luminance": 0.61812
}

Semantic roles & 50–950 ramp

primary
#C5D93B
secondary
#3C3188
accent
#3DEA53
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#15150A
muted
#84847D

Preview Lab

Preview with #C5D93B

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

Preview Lab → · Contrast checker → · Palette generator →

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