#C5D045#C5D045

#C5D045 is a very light, vivid yellow. Relative luminance 0.574; OKLCH L 82.4% C 0.159 H 113.8°. Best body text is #000000 at 12.48:1 contrast (WCAG AA passes).

Color values

HEX#C5D045
RGBrgb(197, 208, 69)
HSLhsl(65, 60%, 54%)
HSVhsv(65, 67%, 82%)
CMYKcmyk(5.3%, 0%, 66.8%, 18.4%)
CIE-LABlab(80.41, -21.14, 64.68)
CIE-LCHlch(80.41, 68.04, 108.10°)
OKLaboklab(82.39% -0.064 0.1453)
OKLCHoklch(82.39% 0.159 113.8)
XYZxyz(46.6573, 57.4126, 14.2530)
Luminance0.5741 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5D045 #5045D0
analogous
#D09645 #C5D045 #80D045
triadic
#C5D045 #45C5D0 #D045C5
tetradic
#C5D045 #45D096 #5045D0 #D04580
square
#C5D045 #45D096 #5045D0 #D04580
split-complementary
#C5D045 #4580D0 #9645D0
monochromatic
#747B1F #A2AC2C #C5D045 #D4DC76 #E3E9A7

Accessibility & contrast

On white

1.68
#C5D045 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.48
#C5D045 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5D045
12.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5D045#FFFFFF#000000##000000
##C5D0451.001.6812.4812.48
#FFFFFF1.681.0021.0021.00
#00000012.4821.001.001.00
##00000012.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFC630
Deuteranopia (green-blind)
#DFC94F
Tritanopia (blue-blind)
#D2C4B4
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #c5d045;
/* rgb */ color: rgb(197, 208, 69);
/* oklch */ color: oklch(82.4% 0.159 113.8);
Tailwind
colors: {
  custom: {
    50: '#dade80',
    500: '#c5d045',
    950: '#000000',
  },
}
SCSS
$custom: #c5d045;
$custom-light: #dade80;
$custom-dark: #000000;
JSON
{
  "hex": "#c5d045",
  "rgb": {
    "r": 197,
    "g": 208,
    "b": 69
  },
  "hsl": {
    "h": 64.748,
    "s": 59.657,
    "l": 54.314
  },
  "oklch": {
    "l": 0.82386,
    "c": 0.15878,
    "h": 113.8
  },
  "luminance": 0.57412
}

Semantic roles & 50–950 ramp

primary
#C5D045
secondary
#3C3683
accent
#45E351
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#15150B
muted
#84847E

Preview Lab

Preview with #C5D045

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

Preview Lab → · Contrast checker → · Palette generator →

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