#C5D145#C5D145

#C5D145 is a very light, vivid yellow. Relative luminance 0.579; OKLCH L 82.6% C 0.160 H 114.1°. Best body text is #000000 at 12.58:1 contrast (WCAG AA passes).

Color values

HEX#C5D145
RGBrgb(197, 209, 69)
HSLhsl(65, 60%, 55%)
HSVhsv(65, 67%, 82%)
CMYKcmyk(5.7%, 0%, 67%, 18%)
CIE-LABlab(80.68, -21.63, 64.95)
CIE-LCHlch(80.68, 68.46, 108.42°)
OKLaboklab(82.6% -0.0653 0.1459)
OKLCHoklch(82.6% 0.16 114.1)
XYZxyz(46.9019, 57.9018, 14.3345)
Luminance0.5790 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5D145 #5145D1
analogous
#D19745 #C5D145 #7FD145
triadic
#C5D145 #45C5D1 #D145C5
tetradic
#C5D145 #45D197 #5145D1 #D1457F
square
#C5D145 #45D197 #5145D1 #D1457F
split-complementary
#C5D145 #457FD1 #9745D1
monochromatic
#757D1F #A3AE2B #C5D145 #D4DD76 #E4E9A7

Accessibility & contrast

On white

1.67
#C5D145 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.58
#C5D145 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5D145
12.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5D145#FFFFFF#000000##000000
##C5D1451.001.6712.5812.58
#FFFFFF1.671.0021.0021.00
#00000012.5821.001.001.00
##00000012.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0C730
Deuteranopia (green-blind)
#DFCA4F
Tritanopia (blue-blind)
#D2C5B5
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #c5d145;
/* rgb */ color: rgb(197, 209, 69);
/* oklch */ color: oklch(82.6% 0.160 114.1);
Tailwind
colors: {
  custom: {
    50: '#dade80',
    500: '#c5d145',
    950: '#000000',
  },
}
SCSS
$custom: #c5d145;
$custom-light: #dade80;
$custom-dark: #000000;
JSON
{
  "hex": "#c5d145",
  "rgb": {
    "r": 197,
    "g": 209,
    "b": 69
  },
  "hsl": {
    "h": 65.143,
    "s": 60.345,
    "l": 54.51
  },
  "oklch": {
    "l": 0.82605,
    "c": 0.15987,
    "h": 114.1
  },
  "luminance": 0.57901
}

Semantic roles & 50–950 ramp

primary
#C5D145
secondary
#3D3684
accent
#44E352
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#15150B
muted
#84847E

Preview Lab

Preview with #C5D145

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

Preview Lab → · Contrast checker → · Palette generator →

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