#C7CD70#C7CD70

#C7CD70 is a very light, moderate yellow. Relative luminance 0.570; OKLCH L 82.4% C 0.117 H 111.9°. Best body text is #000000 at 12.40:1 contrast (WCAG AA passes).

Color values

HEX#C7CD70
RGBrgb(199, 205, 112)
HSLhsl(64, 48%, 62%)
HSVhsv(64, 45%, 80%)
CMYKcmyk(2.9%, 0%, 45.4%, 19.6%)
CIE-LABlab(80.17, -15.48, 45.36)
CIE-LCHlch(80.17, 47.93, 108.84°)
OKLaboklab(82.36% -0.0438 0.1087)
OKLCHoklch(82.36% 0.117 111.9)
XYZxyz(48.3099, 56.9754, 23.7785)
Luminance0.5697 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7CD70 #7670CD
analogous
#CDA570 #C7CD70 #99CD70
triadic
#C7CD70 #70C7CD #CD70C7
tetradic
#C7CD70 #70CDA5 #7670CD #CD7099
square
#C7CD70 #70CDA5 #7670CD #CD7099
split-complementary
#C7CD70 #7099CD #A570CD
monochromatic
#8A9032 #B5BD43 #C7CD70 #D9DD9D #EBEDCB

Accessibility & contrast

On white

1.69
#C7CD70 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.40
#C7CD70 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7CD70
12.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7CD70#FFFFFF#000000##000000
##C7CD701.001.6912.4012.40
#FFFFFF1.691.0021.0021.00
#00000012.4021.001.001.00
##00000012.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C568
Deuteranopia (green-blind)
#DAC875
Tritanopia (blue-blind)
#D2C3B7
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #c7cd70;
/* rgb */ color: rgb(199, 205, 112);
/* oklch */ color: oklch(82.4% 0.117 111.9);
Tailwind
colors: {
  custom: {
    50: '#d9dc9b',
    500: '#c7cd70',
    950: '#000000',
  },
}
SCSS
$custom: #c7cd70;
$custom-light: #d9dc9b;
$custom-dark: #000000;
JSON
{
  "hex": "#c7cd70",
  "rgb": {
    "r": 199,
    "g": 205,
    "b": 112
  },
  "hsl": {
    "h": 63.871,
    "s": 48.187,
    "l": 62.157
  },
  "oklch": {
    "l": 0.82361,
    "c": 0.11717,
    "h": 111.9
  },
  "luminance": 0.56975
}

Semantic roles & 50–950 ramp

primary
#C7CD70
secondary
#504B97
accent
#2ABB33
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15150E
muted
#84847F

Preview Lab

Preview with #C7CD70

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

Preview Lab → · Contrast checker → · Palette generator →

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