#C5D12C#C5D12C

#C5D12C is a very light, vivid yellow. Relative luminance 0.577; OKLCH L 82.5% C 0.174 H 114.0°. Best body text is #000000 at 12.53:1 contrast (WCAG AA passes).

Color values

HEX#C5D12C
RGBrgb(197, 209, 44)
HSLhsl(64, 65%, 50%)
HSVhsv(64, 79%, 82%)
CMYKcmyk(5.7%, 0%, 78.9%, 18%)
CIE-LABlab(80.55, -22.78, 73.11)
CIE-LCHlch(80.55, 76.57, 107.31°)
OKLaboklab(82.45% -0.0707 0.1589)
OKLCHoklch(82.45% 0.174 114)
XYZxyz(46.2825, 57.6541, 11.0727)
Luminance0.5765 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5D12C #382CD1
analogous
#D18B2C #C5D12C #72D12C
triadic
#C5D12C #2CC5D1 #D12CC5
tetradic
#C5D12C #2CD18B #382CD1 #D12C72
square
#C5D12C #2CD18B #382CD1 #D12C72
split-complementary
#C5D12C #2C72D1 #8B2CD1
monochromatic
#666C17 #959E21 #C5D12C #D4DD5D #E1E890

Accessibility & contrast

On white

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

On black

12.53
#C5D12C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5D12C
12.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5D12C#FFFFFF#000000##000000
##C5D12C1.001.6812.5312.53
#FFFFFF1.681.0021.0021.00
#00000012.5321.001.001.00
##00000012.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1C600
Deuteranopia (green-blind)
#E0C93C
Tritanopia (blue-blind)
#D2C4B3
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #c5d12c;
/* rgb */ color: rgb(197, 209, 44);
/* oklch */ color: oklch(82.5% 0.174 114.0);
Tailwind
colors: {
  custom: {
    50: '#dbde74',
    500: '#c5d12c',
    950: '#000000',
  },
}
SCSS
$custom: #c5d12c;
$custom-light: #dbde74;
$custom-dark: #000000;
JSON
{
  "hex": "#c5d12c",
  "rgb": {
    "r": 197,
    "g": 209,
    "b": 44
  },
  "hsl": {
    "h": 64.364,
    "s": 65.217,
    "l": 49.608
  },
  "oklch": {
    "l": 0.8245,
    "c": 0.17394,
    "h": 114
  },
  "luminance": 0.57653
}

Semantic roles & 50–950 ramp

primary
#C5D12C
secondary
#312C75
accent
#40E84C
background
#FEFEFB
surface
#FCFCF1
border
#D5D5CB
text
#151509
muted
#84847D

Preview Lab

Preview with #C5D12C

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

Preview Lab → · Contrast checker → · Palette generator →

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