#C7C66F#C7C66F

#C7C66F is a light, moderate yellow. Relative luminance 0.537; OKLCH L 80.9% C 0.110 H 108.0°. Best body text is #000000 at 11.74:1 contrast (WCAG AA passes).

Color values

HEX#C7C66F
RGBrgb(199, 198, 111)
HSLhsl(59, 44%, 61%)
HSVhsv(59, 44%, 78%)
CMYKcmyk(0%, 0.5%, 44.2%, 22%)
CIE-LABlab(78.27, -12.04, 43.53)
CIE-LCHlch(78.27, 45.17, 105.46°)
OKLaboklab(80.85% -0.0341 0.1045)
OKLCHoklch(80.85% 0.11 108)
XYZxyz(46.6174, 53.6790, 22.9412)
Luminance0.5368 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7C66F #6F70C7
analogous
#C79A6F #C7C66F #9CC76F
triadic
#C7C66F #6FC7C6 #C66FC7
tetradic
#C7C66F #6FC79A #6F70C7 #C76F9C
square
#C7C66F #6FC79A #6F70C7 #C76F9C
split-complementary
#C7C66F #6F9CC7 #9A6FC7
monochromatic
#878635 #B3B246 #C7C66F #D8D79B #E9E9C7

Accessibility & contrast

On white

1.79
#C7C66F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.74
#C7C66F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7C66F
11.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7C66F#FFFFFF#000000##000000
##C7C66F1.001.7911.7411.74
#FFFFFF1.791.0021.0021.00
#00000011.7421.001.001.00
##00000011.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3C068
Deuteranopia (green-blind)
#D4C373
Tritanopia (blue-blind)
#D2BCB1
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #c7c66f;
/* rgb */ color: rgb(199, 198, 111);
/* oklch */ color: oklch(80.9% 0.110 108.0);
Tailwind
colors: {
  custom: {
    50: '#d9d79a',
    500: '#c7c66f',
    950: '#000000',
  },
}
SCSS
$custom: #c7c66f;
$custom-light: #d9d79a;
$custom-dark: #000000;
JSON
{
  "hex": "#c7c66f",
  "rgb": {
    "r": 199,
    "g": 198,
    "b": 111
  },
  "hsl": {
    "h": 59.318,
    "s": 44,
    "l": 60.784
  },
  "oklch": {
    "l": 0.80851,
    "c": 0.10995,
    "h": 108
  },
  "luminance": 0.53678
}

Semantic roles & 50–950 ramp

primary
#C7C66F
secondary
#4B4C8F
accent
#30B72E
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F

Preview Lab

Preview with #C7C66F

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

Preview Lab → · Contrast checker → · Palette generator →

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