#C7C971#C7C971

#C7C971 is a light, moderate yellow. Relative luminance 0.551; OKLCH L 81.5% C 0.111 H 109.8°. Best body text is #000000 at 12.02:1 contrast (WCAG AA passes).

Color values

HEX#C7C971
RGBrgb(199, 201, 113)
HSLhsl(61, 45%, 62%)
HSVhsv(61, 44%, 79%)
CMYKcmyk(1%, 0%, 43.8%, 21.2%)
CIE-LABlab(79.10, -13.36, 43.57)
CIE-LCHlch(79.10, 45.57, 107.05°)
OKLaboklab(81.52% -0.0377 0.1048)
OKLCHoklch(81.52% 0.111 109.8)
XYZxyz(47.4213, 55.1086, 23.7585)
Luminance0.5511 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7C971 #7371C9
analogous
#C99F71 #C7C971 #9BC971
triadic
#C7C971 #71C7C9 #C971C7
tetradic
#C7C971 #71C99F #7371C9 #C9719B
square
#C7C971 #71C99F #7371C9 #C9719B
split-complementary
#C7C971 #719BC9 #9F71C9
monochromatic
#898B35 #B5B746 #C7C971 #D8DA9D #EAEBCA

Accessibility & contrast

On white

1.75
#C7C971 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.02
#C7C971 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7C971
12.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7C971#FFFFFF#000000##000000
##C7C9711.001.7512.0212.02
#FFFFFF1.751.0021.0021.00
#00000012.0221.001.001.00
##00000012.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5C26A
Deuteranopia (green-blind)
#D6C575
Tritanopia (blue-blind)
#D2BFB4
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #c7c971;
/* rgb */ color: rgb(199, 201, 113);
/* oklch */ color: oklch(81.5% 0.111 109.8);
Tailwind
colors: {
  custom: {
    50: '#d9d99b',
    500: '#c7c971',
    950: '#000000',
  },
}
SCSS
$custom: #c7c971;
$custom-light: #d9d99b;
$custom-dark: #000000;
JSON
{
  "hex": "#c7c971",
  "rgb": {
    "r": 199,
    "g": 201,
    "b": 113
  },
  "hsl": {
    "h": 61.364,
    "s": 44.898,
    "l": 61.569
  },
  "oklch": {
    "l": 0.81519,
    "c": 0.11131,
    "h": 109.8
  },
  "luminance": 0.55108
}

Semantic roles & 50–950 ramp

primary
#C7C971
secondary
#4E4C92
accent
#2DB831
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F

Preview Lab

Preview with #C7C971

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

Preview Lab → · Contrast checker → · Palette generator →

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