#C7D970#C7D970

#C7D970 is a very light, vivid yellow-green. Relative luminance 0.629; OKLCH L 85.0% C 0.132 H 117.3°. Best body text is #000000 at 13.59:1 contrast (WCAG AA passes).

Color values

HEX#C7D970
RGBrgb(199, 217, 112)
HSLhsl(70, 58%, 65%)
HSVhsv(70, 48%, 85%)
CMYKcmyk(8.3%, 0%, 48.4%, 14.9%)
CIE-LABlab(83.41, -21.42, 49.30)
CIE-LCHlch(83.41, 53.75, 113.48°)
OKLaboklab(84.95% -0.0606 0.1174)
OKLCHoklch(84.95% 0.132 117.3)
XYZxyz(51.2912, 62.9381, 24.7723)
Luminance0.6294 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7D970 #8270D9
analogous
#D9B770 #C7D970 #93D970
triadic
#C7D970 #70C7D9 #D970C7
tetradic
#C7D970 #70D9B7 #8270D9 #D97093
square
#C7D970 #70D9B7 #8270D9 #D97093
split-complementary
#C7D970 #7093D9 #B770D9
monochromatic
#8FA32B #B4CC40 #C7D970 #DAE6A0 #EDF3D1

Accessibility & contrast

On white

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

On black

13.59
#C7D970 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7D970
13.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7D970#FFFFFF#000000##000000
##C7D9701.001.5513.5913.59
#FFFFFF1.551.0021.0021.00
#00000013.5921.001.001.00
##00000013.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E5CF67
Deuteranopia (green-blind)
#E3D176
Tritanopia (blue-blind)
#D1CFC1
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #c7d970;
/* rgb */ color: rgb(199, 217, 112);
/* oklch */ color: oklch(85.0% 0.132 117.3);
Tailwind
colors: {
  custom: {
    50: '#dae49b',
    500: '#c7d970',
    950: '#000000',
  },
}
SCSS
$custom: #c7d970;
$custom-light: #dae49b;
$custom-dark: #000000;
JSON
{
  "hex": "#c7d970",
  "rgb": {
    "r": 199,
    "g": 217,
    "b": 112
  },
  "hsl": {
    "h": 70.286,
    "s": 58.011,
    "l": 64.51
  },
  "oklch": {
    "l": 0.84953,
    "c": 0.13211,
    "h": 117.3
  },
  "luminance": 0.62938
}

Semantic roles & 50–950 ramp

primary
#C7D970
secondary
#5746A7
accent
#20C63C
background
#FEFEFC
surface
#FCFCF5
border
#D5D5CF
text
#15150E
muted
#84847F

Preview Lab

Preview with #C7D970

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

Preview Lab → · Contrast checker → · Palette generator →

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