#C7C488#C7C488

#C7C488 is a light, moderate yellow. Relative luminance 0.534; OKLCH L 80.8% C 0.079 H 105.6°. Best body text is #000000 at 11.68:1 contrast (WCAG AA passes).

Color values

HEX#C7C488
RGBrgb(199, 196, 136)
HSLhsl(57, 36%, 66%)
HSVhsv(57, 32%, 78%)
CMYKcmyk(0%, 1.5%, 31.7%, 22%)
CIE-LABlab(78.11, -8.21, 30.57)
CIE-LCHlch(78.11, 31.66, 105.02°)
OKLaboklab(80.84% -0.0213 0.0761)
OKLCHoklch(80.84% 0.079 105.6)
XYZxyz(47.7374, 53.4005, 31.0804)
Luminance0.5340 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7C488 #888BC7
analogous
#C7A488 #C7C488 #AAC788
triadic
#C7C488 #88C7C4 #C488C7
tetradic
#C7C488 #88C7A4 #888BC7 #C788AA
square
#C7C488 #88C7A4 #888BC7 #C788AA
split-complementary
#C7C488 #88AAC7 #A488C7
monochromatic
#918D44 #B3AF5E #C7C488 #DBD9B2 #EEEDDB

Accessibility & contrast

On white

1.80
#C7C488 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.68
#C7C488 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7C488
11.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7C488#FFFFFF#000000##000000
##C7C4881.001.8011.6811.68
#FFFFFF1.801.0021.0021.00
#00000011.6821.001.001.00
##00000011.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEBF84
Deuteranopia (green-blind)
#D0C38A
Tritanopia (blue-blind)
#D0BCB4
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #c7c488;
/* rgb */ color: rgb(199, 196, 136);
/* oklch */ color: oklch(80.8% 0.079 105.6);
Tailwind
colors: {
  custom: {
    50: '#d9d5ab',
    500: '#c7c488',
    950: '#000000',
  },
}
SCSS
$custom: #c7c488;
$custom-light: #d9d5ab;
$custom-dark: #000000;
JSON
{
  "hex": "#c7c488",
  "rgb": {
    "r": 199,
    "g": 196,
    "b": 136
  },
  "hsl": {
    "h": 57.143,
    "s": 36,
    "l": 65.686
  },
  "oklch": {
    "l": 0.80842,
    "c": 0.07899,
    "h": 105.6
  },
  "luminance": 0.534
}

Semantic roles & 50–950 ramp

primary
#C7C488
secondary
#5B5E98
accent
#3CAF37
background
#FEFEFD
surface
#FBFBF7
border
#D4D4D0
text
#151410
muted
#848381

Preview Lab

Preview with #C7C488

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

Preview Lab → · Contrast checker → · Palette generator →

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