#C7D440#C7D440

#C7D440 is a very light, vivid yellow. Relative luminance 0.596; OKLCH L 83.4% C 0.166 H 114.4°. Best body text is #000000 at 12.92:1 contrast (WCAG AA passes).

Color values

HEX#C7D440
RGBrgb(199, 212, 64)
HSLhsl(65, 63%, 54%)
HSVhsv(65, 70%, 83%)
CMYKcmyk(6.1%, 0%, 69.8%, 16.9%)
CIE-LABlab(81.62, -22.54, 67.79)
CIE-LCHlch(81.62, 71.44, 108.39°)
OKLaboklab(83.38% -0.0685 0.151)
OKLCHoklch(83.38% 0.166 114.4)
XYZxyz(48.0234, 59.6001, 13.8237)
Luminance0.5960 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7D440 #4D40D4
analogous
#D49740 #C7D440 #7DD440
triadic
#C7D440 #40C7D4 #D440C7
tetradic
#C7D440 #40D497 #4D40D4 #D4407D
square
#C7D440 #40D497 #4D40D4 #D4407D
split-complementary
#C7D440 #407DD4 #9740D4
monochromatic
#757D1C #A3AF27 #C7D440 #D6DF72 #E4EAA4

Accessibility & contrast

On white

1.63
#C7D440 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.92
#C7D440 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7D440
12.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7D440#FFFFFF#000000##000000
##C7D4401.001.6312.9212.92
#FFFFFF1.631.0021.0021.00
#00000012.9221.001.001.00
##00000012.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3CA27
Deuteranopia (green-blind)
#E3CC4B
Tritanopia (blue-blind)
#D4C8B7
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #c7d440;
/* rgb */ color: rgb(199, 212, 64);
/* oklch */ color: oklch(83.4% 0.166 114.4);
Tailwind
colors: {
  custom: {
    50: '#dbe17e',
    500: '#c7d440',
    950: '#000000',
  },
}
SCSS
$custom: #c7d440;
$custom-light: #dbe17e;
$custom-dark: #000000;
JSON
{
  "hex": "#c7d440",
  "rgb": {
    "r": 199,
    "g": 212,
    "b": 64
  },
  "hsl": {
    "h": 65.27,
    "s": 63.248,
    "l": 54.118
  },
  "oklch": {
    "l": 0.83382,
    "c": 0.16581,
    "h": 114.4
  },
  "luminance": 0.59599
}

Semantic roles & 50–950 ramp

primary
#C7D440
secondary
#3A3385
accent
#42E650
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#15150B
muted
#84847E

Preview Lab

Preview with #C7D440

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

Preview Lab → · Contrast checker → · Palette generator →

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