#C7C77E#C7C77E

#C7C77E is a light, moderate yellow. Relative luminance 0.545; OKLCH L 81.3% C 0.094 H 108.3°. Best body text is #000000 at 11.90:1 contrast (WCAG AA passes).

Color values

HEX#C7C77E
RGBrgb(199, 199, 126)
HSLhsl(60, 39%, 64%)
HSVhsv(60, 37%, 78%)
CMYKcmyk(0%, 0%, 36.7%, 22%)
CIE-LABlab(78.75, -10.95, 36.58)
CIE-LCHlch(78.75, 38.18, 106.66°)
OKLaboklab(81.3% -0.0297 0.0897)
OKLCHoklch(81.3% 0.094 108.3)
XYZxyz(47.7431, 54.4962, 27.7384)
Luminance0.5450 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7C77E #7E7EC7
analogous
#C7A27E #C7C77E #A2C77E
triadic
#C7C77E #7EC7C7 #C77EC7
tetradic
#C7C77E #7EC7A2 #7E7EC7 #C77EA2
square
#C7C77E #7EC7A2 #7E7EC7 #C77EA2
split-complementary
#C7C77E #7EA2C7 #A27EC7
monochromatic
#8D8D3D #B4B453 #C7C77E #DADAA9 #ECECD3

Accessibility & contrast

On white

1.76
#C7C77E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.90
#C7C77E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7C77E
11.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7C77E#FFFFFF#000000##000000
##C7C77E1.001.7611.9011.90
#FFFFFF1.761.0021.0021.00
#00000011.9021.001.001.00
##00000011.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2C179
Deuteranopia (green-blind)
#D3C481
Tritanopia (blue-blind)
#D1BEB5
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #c7c77e;
/* rgb */ color: rgb(199, 199, 126);
/* oklch */ color: oklch(81.3% 0.094 108.3);
Tailwind
colors: {
  custom: {
    50: '#d9d7a4',
    500: '#c7c77e',
    950: '#000000',
  },
}
SCSS
$custom: #c7c77e;
$custom-light: #d9d7a4;
$custom-dark: #000000;
JSON
{
  "hex": "#c7c77e",
  "rgb": {
    "r": 199,
    "g": 199,
    "b": 126
  },
  "hsl": {
    "h": 60,
    "s": 39.459,
    "l": 63.725
  },
  "oklch": {
    "l": 0.81297,
    "c": 0.09445,
    "h": 108.3
  },
  "luminance": 0.54495
}

Semantic roles & 50–950 ramp

primary
#C7C77E
secondary
#545495
accent
#33B233
background
#FEFEFC
surface
#FBFBF6
border
#D4D4D0
text
#15140F
muted
#848380

Preview Lab

Preview with #C7C77E

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

Preview Lab → · Contrast checker → · Palette generator →

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