#C5DF2F#C5DF2F

#C5DF2F is a very light, vivid yellow. Relative luminance 0.649; OKLCH L 85.6% C 0.187 H 118.2°. Best body text is #000000 at 13.97:1 contrast (WCAG AA passes).

Color values

HEX#C5DF2F
RGBrgb(197, 223, 47)
HSLhsl(69, 73%, 53%)
HSVhsv(69, 79%, 87%)
CMYKcmyk(11.7%, 0%, 78.9%, 12.5%)
CIE-LABlab(84.41, -29.36, 75.72)
CIE-LCHlch(84.41, 81.21, 111.19°)
OKLaboklab(85.56% -0.0886 0.165)
OKLCHoklch(85.56% 0.187 118.2)
XYZxyz(49.9279, 64.8514, 12.5761)
Luminance0.6485 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5DF2F #492FDF
analogous
#DFA12F #C5DF2F #6DDF2F
triadic
#C5DF2F #2FC5DF #DF2FC5
tetradic
#C5DF2F #2FDFA1 #492FDF #DF2F6D
square
#C5DF2F #2FDFA1 #492FDF #DF2F6D
split-complementary
#C5DF2F #2F6DDF #A12FDF
monochromatic
#708014 #9EB51C #C5DF2F #D4E764 #E3EF99

Accessibility & contrast

On white

1.50
#C5DF2F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.97
#C5DF2F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5DF2F
13.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5DF2F#FFFFFF#000000##000000
##C5DF2F1.001.5013.9713.97
#FFFFFF1.501.0021.0021.00
#00000013.9721.001.001.00
##00000013.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#EED200
Deuteranopia (green-blind)
#EBD341
Tritanopia (blue-blind)
#D1D2BF
Achromatopsia (no color)
#D3D3D3

Design tokens & code

CSS
--color: #c5df2f;
/* rgb */ color: rgb(197, 223, 47);
/* oklch */ color: oklch(85.6% 0.187 118.2);
Tailwind
colors: {
  custom: {
    50: '#dbe877',
    500: '#c5df2f',
    950: '#000000',
  },
}
SCSS
$custom: #c5df2f;
$custom-light: #dbe877;
$custom-dark: #000000;
JSON
{
  "hex": "#c5df2f",
  "rgb": {
    "r": 197,
    "g": 223,
    "b": 47
  },
  "hsl": {
    "h": 68.864,
    "s": 73.333,
    "l": 52.941
  },
  "oklch": {
    "l": 0.85557,
    "c": 0.18729,
    "h": 118.2
  },
  "luminance": 0.64851
}

Semantic roles & 50–950 ramp

primary
#C5DF2F
secondary
#392B87
accent
#38F053
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#15160A
muted
#84847D

Preview Lab

Preview with #C5DF2F

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

Preview Lab → · Contrast checker → · Palette generator →

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