#C5D42F#C5D42F

#C5D42F is a very light, vivid yellow. Relative luminance 0.592; OKLCH L 83.1% C 0.176 H 115.0°. Best body text is #000000 at 12.83:1 contrast (WCAG AA passes).

Color values

HEX#C5D42F
RGBrgb(197, 212, 47)
HSLhsl(65, 66%, 51%)
HSVhsv(65, 78%, 83%)
CMYKcmyk(7.1%, 0%, 77.8%, 16.9%)
CIE-LABlab(81.38, -24.12, 73.01)
CIE-LCHlch(81.38, 76.89, 108.28°)
OKLaboklab(83.12% -0.0742 0.1593)
OKLCHoklch(83.12% 0.176 115)
XYZxyz(47.0839, 59.1634, 11.6281)
Luminance0.5916 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5D42F #3E2FD4
analogous
#D4912F #C5D42F #72D42F
triadic
#C5D42F #2FC5D4 #D42FC5
tetradic
#C5D42F #2FD491 #3E2FD4 #D42F72
square
#C5D42F #2FD491 #3E2FD4 #D42F72
split-complementary
#C5D42F #2F72D4 #912FD4
monochromatic
#697117 #98A422 #C5D42F #D3DE62 #E1E994

Accessibility & contrast

On white

1.64
#C5D42F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.83
#C5D42F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5D42F
12.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5D42F#FFFFFF#000000##000000
##C5D42F1.001.6412.8312.83
#FFFFFF1.641.0021.0021.00
#00000012.8321.001.001.00
##00000012.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E4C900
Deuteranopia (green-blind)
#E3CB3F
Tritanopia (blue-blind)
#D2C7B6
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #c5d42f;
/* rgb */ color: rgb(197, 212, 47);
/* oklch */ color: oklch(83.1% 0.176 115.0);
Tailwind
colors: {
  custom: {
    50: '#dbe176',
    500: '#c5d42f',
    950: '#000000',
  },
}
SCSS
$custom: #c5d42f;
$custom-light: #dbe176;
$custom-dark: #000000;
JSON
{
  "hex": "#c5d42f",
  "rgb": {
    "r": 197,
    "g": 212,
    "b": 47
  },
  "hsl": {
    "h": 65.455,
    "s": 65.737,
    "l": 50.784
  },
  "oklch": {
    "l": 0.83124,
    "c": 0.17567,
    "h": 115
  },
  "luminance": 0.59163
}

Semantic roles & 50–950 ramp

primary
#C5D42F
secondary
#342D7A
accent
#3FE94F
background
#FEFEFB
surface
#FCFCF1
border
#D5D5CB
text
#151509
muted
#84847D

Preview Lab

Preview with #C5D42F

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

Preview Lab → · Contrast checker → · Palette generator →

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