#C7D740#C7D740

#C7D740 is a very light, vivid yellow. Relative luminance 0.611; OKLCH L 84.0% C 0.169 H 115.4°. Best body text is #000000 at 13.22:1 contrast (WCAG AA passes).

Color values

HEX#C7D740
RGBrgb(199, 215, 64)
HSLhsl(66, 65%, 55%)
HSVhsv(66, 70%, 84%)
CMYKcmyk(7.4%, 0%, 70.2%, 15.7%)
CIE-LABlab(82.44, -23.99, 68.60)
CIE-LCHlch(82.44, 72.67, 109.28°)
OKLaboklab(84.04% -0.0725 0.1527)
OKLCHoklch(84.04% 0.169 115.4)
XYZxyz(48.7803, 61.1139, 14.0760)
Luminance0.6111 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7D740 #5040D7
analogous
#D79C40 #C7D740 #7BD740
triadic
#C7D740 #40C7D7 #D740C7
tetradic
#C7D740 #40D79C #5040D7 #D7407B
square
#C7D740 #40D79C #5040D7 #D7407B
split-complementary
#C7D740 #407BD7 #9C40D7
monochromatic
#77811B #A5B426 #C7D740 #D6E273 #E5ECA5

Accessibility & contrast

On white

1.59
#C7D740 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.22
#C7D740 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7D740
13.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7D740#FFFFFF#000000##000000
##C7D7401.001.5913.2213.22
#FFFFFF1.591.0021.0021.00
#00000013.2221.001.001.00
##00000013.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#E6CC26
Deuteranopia (green-blind)
#E5CE4C
Tritanopia (blue-blind)
#D4CBBA
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #c7d740;
/* rgb */ color: rgb(199, 215, 64);
/* oklch */ color: oklch(84.0% 0.169 115.4);
Tailwind
colors: {
  custom: {
    50: '#dbe37e',
    500: '#c7d740',
    950: '#000000',
  },
}
SCSS
$custom: #c7d740;
$custom-light: #dbe37e;
$custom-dark: #000000;
JSON
{
  "hex": "#c7d740",
  "rgb": {
    "r": 199,
    "g": 215,
    "b": 64
  },
  "hsl": {
    "h": 66.358,
    "s": 65.368,
    "l": 54.706
  },
  "oklch": {
    "l": 0.84039,
    "c": 0.16905,
    "h": 115.4
  },
  "luminance": 0.61113
}

Semantic roles & 50–950 ramp

primary
#C7D740
secondary
#3C3388
accent
#3FE851
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#15150B
muted
#84847E

Preview Lab

Preview with #C7D740

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

Preview Lab → · Contrast checker → · Palette generator →

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