#C7C770#C7C770

#C7C770 is a light, moderate yellow. Relative luminance 0.542; OKLCH L 81.1% C 0.110 H 108.6°. Best body text is #000000 at 11.83:1 contrast (WCAG AA passes).

Color values

HEX#C7C770
RGBrgb(199, 199, 112)
HSLhsl(60, 44%, 61%)
HSVhsv(60, 44%, 78%)
CMYKcmyk(0%, 0%, 43.7%, 22%)
CIE-LABlab(78.55, -12.45, 43.38)
CIE-LCHlch(78.55, 45.13, 106.01°)
OKLaboklab(81.08% -0.0351 0.1043)
OKLCHoklch(81.08% 0.11 108.6)
XYZxyz(46.9021, 54.1598, 23.3093)
Luminance0.5416 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7C770 #7070C7
analogous
#C79B70 #C7C770 #9BC770
triadic
#C7C770 #70C7C7 #C770C7
tetradic
#C7C770 #70C79B #7070C7 #C7709B
square
#C7C770 #70C79B #7070C7 #C7709B
split-complementary
#C7C770 #709BC7 #9B70C7
monochromatic
#888835 #B4B446 #C7C770 #D8D89C #E9E9C8

Accessibility & contrast

On white

1.77
#C7C770 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.83
#C7C770 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7C770
11.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7C770#FFFFFF#000000##000000
##C7C7701.001.7711.8311.83
#FFFFFF1.771.0021.0021.00
#00000011.8321.001.001.00
##00000011.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4C169
Deuteranopia (green-blind)
#D5C474
Tritanopia (blue-blind)
#D2BDB2
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #c7c770;
/* rgb */ color: rgb(199, 199, 112);
/* oklch */ color: oklch(81.1% 0.110 108.6);
Tailwind
colors: {
  custom: {
    50: '#d9d79b',
    500: '#c7c770',
    950: '#000000',
  },
}
SCSS
$custom: #c7c770;
$custom-light: #d9d79b;
$custom-dark: #000000;
JSON
{
  "hex": "#c7c770",
  "rgb": {
    "r": 199,
    "g": 199,
    "b": 112
  },
  "hsl": {
    "h": 60,
    "s": 43.719,
    "l": 60.98
  },
  "oklch": {
    "l": 0.81078,
    "c": 0.11004,
    "h": 108.6
  },
  "luminance": 0.54159
}

Semantic roles & 50–950 ramp

primary
#C7C770
secondary
#4C4C8F
accent
#2FB72F
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F

Preview Lab

Preview with #C7C770

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

Preview Lab → · Contrast checker → · Palette generator →

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