#C7D460#C7D460

#C7D460 is a very light, vivid yellow. Relative luminance 0.601; OKLCH L 83.7% C 0.141 H 114.8°. Best body text is #000000 at 13.01:1 contrast (WCAG AA passes).

Color values

HEX#C7D460
RGBrgb(199, 212, 96)
HSLhsl(67, 57%, 60%)
HSVhsv(67, 55%, 83%)
CMYKcmyk(6.1%, 0%, 54.7%, 16.9%)
CIE-LABlab(81.88, -20.40, 54.94)
CIE-LCHlch(81.88, 58.61, 110.37°)
OKLaboklab(83.67% -0.0593 0.1282)
OKLCHoklch(83.67% 0.141 114.8)
XYZxyz(49.2089, 60.0743, 20.0673)
Luminance0.6007 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7D460 #6D60D4
analogous
#D4A760 #C7D460 #8DD460
triadic
#C7D460 #60C7D4 #D460C7
tetradic
#C7D460 #60D4A7 #6D60D4 #D4608D
square
#C7D460 #60D4A7 #6D60D4 #D4608D
split-complementary
#C7D460 #608DD4 #A760D4
monochromatic
#869228 #B2C235 #C7D460 #D8E190 #E9EEC0

Accessibility & contrast

On white

1.61
#C7D460 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.01
#C7D460 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7D460
13.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7D460#FFFFFF#000000##000000
##C7D4601.001.6113.0113.01
#FFFFFF1.611.0021.0021.00
#00000013.0121.001.001.00
##00000013.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1CB54
Deuteranopia (green-blind)
#E1CD67
Tritanopia (blue-blind)
#D2C9BA
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #c7d460;
/* rgb */ color: rgb(199, 212, 96);
/* oklch */ color: oklch(83.7% 0.141 114.8);
Tailwind
colors: {
  custom: {
    50: '#dae191',
    500: '#c7d460',
    950: '#000000',
  },
}
SCSS
$custom: #c7d460;
$custom-light: #dae191;
$custom-dark: #000000;
JSON
{
  "hex": "#c7d460",
  "rgb": {
    "r": 199,
    "g": 212,
    "b": 96
  },
  "hsl": {
    "h": 66.724,
    "s": 57.426,
    "l": 60.392
  },
  "oklch": {
    "l": 0.83671,
    "c": 0.14121,
    "h": 114.8
  },
  "luminance": 0.60074
}

Semantic roles & 50–950 ramp

primary
#C7D460
secondary
#4A4198
accent
#20C533
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#15150D
muted
#84847F

Preview Lab

Preview with #C7D460

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

Preview Lab → · Contrast checker → · Palette generator →

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