#C7C973#C7C973

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

Color values

HEX#C7C973
RGBrgb(199, 201, 115)
HSLhsl(61, 44%, 62%)
HSVhsv(61, 43%, 79%)
CMYKcmyk(1%, 0%, 42.8%, 21.2%)
CIE-LABlab(79.13, -13.16, 42.61)
CIE-LCHlch(79.13, 44.59, 107.17°)
OKLaboklab(81.55% -0.0369 0.1027)
OKLCHoklch(81.55% 0.109 109.8)
XYZxyz(47.5351, 55.1542, 24.3581)
Luminance0.5515 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7C973 #7573C9
analogous
#C9A073 #C7C973 #9CC973
triadic
#C7C973 #73C7C9 #C973C7
tetradic
#C7C973 #73C9A0 #7573C9 #C9739C
square
#C7C973 #73C9A0 #7573C9 #C9739C
split-complementary
#C7C973 #739CC9 #A073C9
monochromatic
#8A8C36 #B5B847 #C7C973 #D9DA9F #EAEBCB

Accessibility & contrast

On white

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

On black

12.03
#C7C973 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7C973
12.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7C973#FFFFFF#000000##000000
##C7C9731.001.7512.0312.03
#FFFFFF1.751.0021.0021.00
#00000012.0321.001.001.00
##00000012.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5C26C
Deuteranopia (green-blind)
#D6C577
Tritanopia (blue-blind)
#D2C0B4
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #c7c973;
/* rgb */ color: rgb(199, 201, 115);
/* oklch */ color: oklch(81.5% 0.109 109.8);
Tailwind
colors: {
  custom: {
    50: '#d9d99d',
    500: '#c7c973',
    950: '#000000',
  },
}
SCSS
$custom: #c7c973;
$custom-light: #d9d99d;
$custom-dark: #000000;
JSON
{
  "hex": "#c7c973",
  "rgb": {
    "r": 199,
    "g": 201,
    "b": 115
  },
  "hsl": {
    "h": 61.395,
    "s": 44.33,
    "l": 61.961
  },
  "oklch": {
    "l": 0.81549,
    "c": 0.10917,
    "h": 109.8
  },
  "luminance": 0.55153
}

Semantic roles & 50–950 ramp

primary
#C7C973
secondary
#4F4D93
accent
#2EB731
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F

Preview Lab

Preview with #C7C973

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

Preview Lab → · Contrast checker → · Palette generator →

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