#C5D245#C5D245

#C5D245 is a very light, vivid yellow. Relative luminance 0.584; OKLCH L 82.8% C 0.161 H 114.5°. Best body text is #000000 at 12.68:1 contrast (WCAG AA passes).

Color values

HEX#C5D245
RGBrgb(197, 210, 69)
HSLhsl(66, 61%, 55%)
HSVhsv(66, 67%, 82%)
CMYKcmyk(6.2%, 0%, 67.1%, 17.6%)
CIE-LABlab(80.96, -22.12, 65.23)
CIE-LCHlch(80.96, 68.88, 108.73°)
OKLaboklab(82.82% -0.0667 0.1465)
OKLCHoklch(82.82% 0.161 114.5)
XYZxyz(47.1480, 58.3940, 14.4165)
Luminance0.5839 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5D245 #5245D2
analogous
#D29945 #C5D245 #7FD245
triadic
#C5D245 #45C5D2 #D245C5
tetradic
#C5D245 #45D299 #5245D2 #D2457F
square
#C5D245 #45D299 #5245D2 #D2457F
split-complementary
#C5D245 #457FD2 #9945D2
monochromatic
#757E1F #A3AF2A #C5D245 #D4DE76 #E4EAA8

Accessibility & contrast

On white

1.66
#C5D245 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.68
#C5D245 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5D245
12.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5D245#FFFFFF#000000##000000
##C5D2451.001.6612.6812.68
#FFFFFF1.661.0021.0021.00
#00000012.6821.001.001.00
##00000012.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1C830
Deuteranopia (green-blind)
#E0CA4F
Tritanopia (blue-blind)
#D1C6B6
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #c5d245;
/* rgb */ color: rgb(197, 210, 69);
/* oklch */ color: oklch(82.8% 0.161 114.5);
Tailwind
colors: {
  custom: {
    50: '#dadf80',
    500: '#c5d245',
    950: '#000000',
  },
}
SCSS
$custom: #c5d245;
$custom-light: #dadf80;
$custom-dark: #000000;
JSON
{
  "hex": "#c5d245",
  "rgb": {
    "r": 197,
    "g": 210,
    "b": 69
  },
  "hsl": {
    "h": 65.532,
    "s": 61.039,
    "l": 54.706
  },
  "oklch": {
    "l": 0.82824,
    "c": 0.16096,
    "h": 114.5
  },
  "luminance": 0.58393
}

Semantic roles & 50–950 ramp

primary
#C5D245
secondary
#3D3686
accent
#44E452
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#15150B
muted
#84847E

Preview Lab

Preview with #C5D245

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

Preview Lab → · Contrast checker → · Palette generator →

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