#C4D540#C4D540

#C4D540 is a very light, vivid yellow. Relative luminance 0.597; OKLCH L 83.4% C 0.168 H 115.8°. Best body text is #000000 at 12.94:1 contrast (WCAG AA passes).

Color values

HEX#C4D540
RGBrgb(196, 213, 64)
HSLhsl(67, 64%, 54%)
HSVhsv(67, 70%, 84%)
CMYKcmyk(8%, 0%, 70%, 16.5%)
CIE-LABlab(81.67, -24.26, 67.77)
CIE-LCHlch(81.67, 71.98, 109.69°)
OKLaboklab(83.37% -0.0731 0.1511)
OKLCHoklch(83.37% 0.168 115.8)
XYZxyz(47.4858, 59.6951, 13.8703)
Luminance0.5969 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C4D540 #5140D5
analogous
#D59C40 #C4D540 #7AD540
triadic
#C4D540 #40C4D5 #D540C4
tetradic
#C4D540 #40D59C #5140D5 #D5407A
square
#C4D540 #40D59C #5140D5 #D5407A
split-complementary
#C4D540 #407AD5 #9C40D5
monochromatic
#737F1C #A1B127 #C4D540 #D3E072 #E3EBA4

Accessibility & contrast

On white

1.62
#C4D540 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.94
#C4D540 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C4D540
12.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C4D540#FFFFFF#000000##000000
##C4D5401.001.6212.9412.94
#FFFFFF1.621.0021.0021.00
#00000012.9421.001.001.00
##00000012.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#E4CA26
Deuteranopia (green-blind)
#E2CC4C
Tritanopia (blue-blind)
#D0C9B8
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #c4d540;
/* rgb */ color: rgb(196, 213, 64);
/* oklch */ color: oklch(83.4% 0.168 115.8);
Tailwind
colors: {
  custom: {
    50: '#d9e17e',
    500: '#c4d540',
    950: '#000000',
  },
}
SCSS
$custom: #c4d540;
$custom-light: #d9e17e;
$custom-dark: #000000;
JSON
{
  "hex": "#c4d540",
  "rgb": {
    "r": 196,
    "g": 213,
    "b": 64
  },
  "hsl": {
    "h": 66.846,
    "s": 63.948,
    "l": 54.314
  },
  "oklch": {
    "l": 0.83368,
    "c": 0.1678,
    "h": 115.8
  },
  "luminance": 0.59694
}

Semantic roles & 50–950 ramp

primary
#C4D540
secondary
#3D3386
accent
#41E754
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#15150B
muted
#84847E

Preview Lab

Preview with #C4D540

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

Preview Lab → · Contrast checker → · Palette generator →

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