#C7C68A#C7C68A

#C7C68A is a light, moderate yellow. Relative luminance 0.544; OKLCH L 81.3% C 0.079 H 107.2°. Best body text is #000000 at 11.87:1 contrast (WCAG AA passes).

Color values

HEX#C7C68A
RGBrgb(199, 198, 138)
HSLhsl(59, 35%, 66%)
HSVhsv(59, 31%, 78%)
CMYKcmyk(0%, 0.5%, 30.7%, 22%)
CIE-LABlab(78.67, -8.98, 30.28)
CIE-LCHlch(78.67, 31.58, 106.53°)
OKLaboklab(81.3% -0.0234 0.0754)
OKLCHoklch(81.3% 0.079 107.2)
XYZxyz(48.3350, 54.3661, 31.9873)
Luminance0.5436 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7C68A #8A8BC7
analogous
#C7A78A #C7C68A #A9C78A
triadic
#C7C68A #8AC7C6 #C68AC7
tetradic
#C7C68A #8AC7A7 #8A8BC7 #C78AA9
square
#C7C68A #8AC7A7 #8A8BC7 #C78AA9
split-complementary
#C7C68A #8AA9C7 #A78AC7
monochromatic
#919045 #B3B261 #C7C68A #DBDAB3 #EFEEDD

Accessibility & contrast

On white

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

On black

11.87
#C7C68A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7C68A
11.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7C68A#FFFFFF#000000##000000
##C7C68A1.001.7711.8711.87
#FFFFFF1.771.0021.0021.00
#00000011.8721.001.001.00
##00000011.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0C186
Deuteranopia (green-blind)
#D1C48C
Tritanopia (blue-blind)
#D0BFB6
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #c7c68a;
/* rgb */ color: rgb(199, 198, 138);
/* oklch */ color: oklch(81.3% 0.079 107.2);
Tailwind
colors: {
  custom: {
    50: '#d8d7ac',
    500: '#c7c68a',
    950: '#000000',
  },
}
SCSS
$custom: #c7c68a;
$custom-light: #d8d7ac;
$custom-dark: #000000;
JSON
{
  "hex": "#c7c68a",
  "rgb": {
    "r": 199,
    "g": 198,
    "b": 138
  },
  "hsl": {
    "h": 59.016,
    "s": 35.26,
    "l": 66.078
  },
  "oklch": {
    "l": 0.813,
    "c": 0.07897,
    "h": 107.2
  },
  "luminance": 0.54365
}

Semantic roles & 50–950 ramp

primary
#C7C68A
secondary
#5C5D99
accent
#39AE37
background
#FEFEFD
surface
#FBFBF7
border
#D4D4D0
text
#141410
muted
#838381

Preview Lab

Preview with #C7C68A

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

Preview Lab → · Contrast checker → · Palette generator →

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