#C7C481#C7C481

#C7C481 is a light, moderate yellow. Relative luminance 0.532; OKLCH L 80.7% C 0.087 H 106.0°. Best body text is #000000 at 11.64:1 contrast (WCAG AA passes).

Color values

HEX#C7C481
RGBrgb(199, 196, 129)
HSLhsl(57, 38%, 64%)
HSVhsv(57, 35%, 78%)
CMYKcmyk(0%, 1.5%, 35.2%, 22%)
CIE-LABlab(78.00, -9.06, 34.06)
CIE-LCHlch(78.00, 35.24, 104.89°)
OKLaboklab(80.72% -0.0241 0.084)
OKLCHoklch(80.72% 0.087 106)
XYZxyz(47.2561, 53.2079, 28.5454)
Luminance0.5321 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7C481 #8184C7
analogous
#C7A181 #C7C481 #A7C781
triadic
#C7C481 #81C7C4 #C481C7
tetradic
#C7C481 #81C7A1 #8184C7 #C781A7
square
#C7C481 #81C7A1 #8184C7 #C781A7
split-complementary
#C7C481 #81A7C7 #A181C7
monochromatic
#8E8B3F #B4B057 #C7C481 #DAD8AB #EDECD6

Accessibility & contrast

On white

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

On black

11.64
#C7C481 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7C481
11.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7C481#FFFFFF#000000##000000
##C7C4811.001.8011.6411.64
#FFFFFF1.801.0021.0021.00
#00000011.6421.001.001.00
##00000011.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFBF7C
Deuteranopia (green-blind)
#D1C284
Tritanopia (blue-blind)
#D1BCB3
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #c7c481;
/* rgb */ color: rgb(199, 196, 129);
/* oklch */ color: oklch(80.7% 0.087 106.0);
Tailwind
colors: {
  custom: {
    50: '#d9d5a6',
    500: '#c7c481',
    950: '#000000',
  },
}
SCSS
$custom: #c7c481;
$custom-light: #d9d5a6;
$custom-dark: #000000;
JSON
{
  "hex": "#c7c481",
  "rgb": {
    "r": 199,
    "g": 196,
    "b": 129
  },
  "hsl": {
    "h": 57.429,
    "s": 38.462,
    "l": 64.314
  },
  "oklch": {
    "l": 0.80715,
    "c": 0.08737,
    "h": 106
  },
  "luminance": 0.53207
}

Semantic roles & 50–950 ramp

primary
#C7C481
secondary
#565996
accent
#39B134
background
#FEFEFC
surface
#FBFBF6
border
#D4D4D0
text
#15140F
muted
#848380

Preview Lab

Preview with #C7C481

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

Preview Lab → · Contrast checker → · Palette generator →

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