#C7D960#C7D960

#C7D960 is a very light, vivid yellow. Relative luminance 0.626; OKLCH L 84.8% C 0.147 H 116.7°. Best body text is #000000 at 13.52:1 contrast (WCAG AA passes).

Color values

HEX#C7D960
RGBrgb(199, 217, 96)
HSLhsl(69, 61%, 61%)
HSVhsv(69, 56%, 85%)
CMYKcmyk(8.3%, 0%, 55.8%, 14.9%)
CIE-LABlab(83.24, -22.84, 56.49)
CIE-LCHlch(83.24, 60.93, 112.02°)
OKLaboklab(84.76% -0.0662 0.1315)
OKLCHoklch(84.76% 0.147 116.7)
XYZxyz(50.4782, 62.6129, 20.4904)
Luminance0.6261 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7D960 #7260D9
analogous
#D9AF60 #C7D960 #8BD960
triadic
#C7D960 #60C7D9 #D960C7
tetradic
#C7D960 #60D9AF #7260D9 #D9608B
square
#C7D960 #60D9AF #7260D9 #D9608B
split-complementary
#C7D960 #608BD9 #AF60D9
monochromatic
#889A25 #B4CB31 #C7D960 #D8E591 #EAF1C3

Accessibility & contrast

On white

1.55
#C7D960 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.52
#C7D960 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7D960
13.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7D960#FFFFFF#000000##000000
##C7D9601.001.5513.5213.52
#FFFFFF1.551.0021.0021.00
#00000013.5221.001.001.00
##00000013.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#E6CF53
Deuteranopia (green-blind)
#E5D067
Tritanopia (blue-blind)
#D2CEBF
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #c7d960;
/* rgb */ color: rgb(199, 217, 96);
/* oklch */ color: oklch(84.8% 0.147 116.7);
Tailwind
colors: {
  custom: {
    50: '#dae491',
    500: '#c7d960',
    950: '#000000',
  },
}
SCSS
$custom: #c7d960;
$custom-light: #dae491;
$custom-dark: #000000;
JSON
{
  "hex": "#c7d960",
  "rgb": {
    "r": 199,
    "g": 217,
    "b": 96
  },
  "hsl": {
    "h": 68.926,
    "s": 61.421,
    "l": 61.373
  },
  "oklch": {
    "l": 0.8476,
    "c": 0.1472,
    "h": 116.7
  },
  "luminance": 0.62612
}

Semantic roles & 50–950 ramp

primary
#C7D960
secondary
#4D3F9E
accent
#1CC936
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#15150D
muted
#84847F

Preview Lab

Preview with #C7D960

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

Preview Lab → · Contrast checker → · Palette generator →

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