#C4D740#C4D740

#C4D740 is a very light, vivid yellow. Relative luminance 0.607; OKLCH L 83.8% C 0.170 H 116.5°. Best body text is #000000 at 13.14:1 contrast (WCAG AA passes).

Color values

HEX#C4D740
RGBrgb(196, 215, 64)
HSLhsl(68, 65%, 55%)
HSVhsv(68, 70%, 84%)
CMYKcmyk(8.8%, 0%, 70.2%, 15.7%)
CIE-LABlab(82.22, -25.22, 68.31)
CIE-LCHlch(82.22, 72.81, 110.26°)
OKLaboklab(83.81% -0.0757 0.1522)
OKLCHoklch(83.81% 0.17 116.5)
XYZxyz(47.9920, 60.7075, 14.0390)
Luminance0.6071 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C4D740 #5340D7
analogous
#D79F40 #C4D740 #78D740
triadic
#C4D740 #40C4D7 #D740C4
tetradic
#C4D740 #40D79F #5340D7 #D74078
square
#C4D740 #40D79F #5340D7 #D74078
split-complementary
#C4D740 #4078D7 #9F40D7
monochromatic
#75811B #A2B426 #C4D740 #D4E273 #E3ECA5

Accessibility & contrast

On white

1.60
#C4D740 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.14
#C4D740 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C4D740
13.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C4D740#FFFFFF#000000##000000
##C4D7401.001.6013.1413.14
#FFFFFF1.601.0021.0021.00
#00000013.1421.001.001.00
##00000013.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#E6CC26
Deuteranopia (green-blind)
#E4CE4C
Tritanopia (blue-blind)
#D0CBB9
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #c4d740;
/* rgb */ color: rgb(196, 215, 64);
/* oklch */ color: oklch(83.8% 0.170 116.5);
Tailwind
colors: {
  custom: {
    50: '#d9e37e',
    500: '#c4d740',
    950: '#000000',
  },
}
SCSS
$custom: #c4d740;
$custom-light: #d9e37e;
$custom-dark: #000000;
JSON
{
  "hex": "#c4d740",
  "rgb": {
    "r": 196,
    "g": 215,
    "b": 64
  },
  "hsl": {
    "h": 67.55,
    "s": 65.368,
    "l": 54.706
  },
  "oklch": {
    "l": 0.83809,
    "c": 0.17,
    "h": 116.5
  },
  "luminance": 0.60707
}

Semantic roles & 50–950 ramp

primary
#C4D740
secondary
#3E3388
accent
#3FE855
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#15150B
muted
#84847E

Preview Lab

Preview with #C4D740

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

Preview Lab → · Contrast checker → · Palette generator →

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