#C7C873#C7C873

#C7C873 is a light, moderate yellow. Relative luminance 0.547; OKLCH L 81.3% C 0.108 H 109.2°. Best body text is #000000 at 11.94:1 contrast (WCAG AA passes).

Color values

HEX#C7C873
RGBrgb(199, 200, 115)
HSLhsl(61, 44%, 62%)
HSVhsv(61, 43%, 78%)
CMYKcmyk(0.5%, 0%, 42.5%, 21.6%)
CIE-LABlab(78.86, -12.65, 42.27)
CIE-LCHlch(78.86, 44.13, 106.66°)
OKLaboklab(81.34% -0.0354 0.102)
OKLCHoklch(81.34% 0.108 109.2)
XYZxyz(47.3027, 54.6894, 24.2806)
Luminance0.5469 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7C873 #7473C8
analogous
#C89F73 #C7C873 #9DC873
triadic
#C7C873 #73C7C8 #C873C7
tetradic
#C7C873 #73C89F #7473C8 #C8739D
square
#C7C873 #73C89F #7473C8 #C8739D
split-complementary
#C7C873 #739DC8 #9F73C8
monochromatic
#898A36 #B5B648 #C7C873 #D9D99F #EAEBCB

Accessibility & contrast

On white

1.76
#C7C873 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.94
#C7C873 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7C873
11.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7C873#FFFFFF#000000##000000
##C7C8731.001.7611.9411.94
#FFFFFF1.761.0021.0021.00
#00000011.9421.001.001.00
##00000011.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4C26C
Deuteranopia (green-blind)
#D5C577
Tritanopia (blue-blind)
#D2BFB4
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #c7c873;
/* rgb */ color: rgb(199, 200, 115);
/* oklch */ color: oklch(81.3% 0.108 109.2);
Tailwind
colors: {
  custom: {
    50: '#d9d89d',
    500: '#c7c873',
    950: '#000000',
  },
}
SCSS
$custom: #c7c873;
$custom-light: #d9d89d;
$custom-dark: #000000;
JSON
{
  "hex": "#c7c873",
  "rgb": {
    "r": 199,
    "g": 200,
    "b": 115
  },
  "hsl": {
    "h": 60.706,
    "s": 43.59,
    "l": 61.765
  },
  "oklch": {
    "l": 0.81336,
    "c": 0.10798,
    "h": 109.2
  },
  "luminance": 0.54688
}

Semantic roles & 50–950 ramp

primary
#C7C873
secondary
#4E4E92
accent
#2FB730
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F

Preview Lab

Preview with #C7C873

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

Preview Lab → · Contrast checker → · Palette generator →

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