#C7C57E#C7C57E

#C7C57E is a light, moderate yellow. Relative luminance 0.536; OKLCH L 80.9% C 0.092 H 106.9°. Best body text is #000000 at 11.72:1 contrast (WCAG AA passes).

Color values

HEX#C7C57E
RGBrgb(199, 197, 126)
HSLhsl(58, 39%, 64%)
HSVhsv(58, 37%, 78%)
CMYKcmyk(0%, 1%, 36.7%, 22%)
CIE-LABlab(78.22, -9.92, 35.89)
CIE-LCHlch(78.22, 37.24, 105.45°)
OKLaboklab(80.87% -0.0268 0.0881)
OKLCHoklch(80.87% 0.092 106.9)
XYZxyz(47.2859, 53.5819, 27.5860)
Luminance0.5358 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7C57E #7E80C7
analogous
#C7A07E #C7C57E #A4C77E
triadic
#C7C57E #7EC7C5 #C57EC7
tetradic
#C7C57E #7EC7A0 #7E80C7 #C77EA4
square
#C7C57E #7EC7A0 #7E80C7 #C77EA4
split-complementary
#C7C57E #7EA4C7 #A07EC7
monochromatic
#8D8B3D #B4B253 #C7C57E #DAD8A9 #ECEBD3

Accessibility & contrast

On white

1.79
#C7C57E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.72
#C7C57E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7C57E
11.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7C57E#FFFFFF#000000##000000
##C7C57E1.001.7911.7211.72
#FFFFFF1.791.0021.0021.00
#00000011.7221.001.001.00
##00000011.7221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c7c57e;
/* rgb */ color: rgb(199, 197, 126);
/* oklch */ color: oklch(80.9% 0.092 106.9);
Tailwind
colors: {
  custom: {
    50: '#d9d6a4',
    500: '#c7c57e',
    950: '#000000',
  },
}
SCSS
$custom: #c7c57e;
$custom-light: #d9d6a4;
$custom-dark: #000000;
JSON
{
  "hex": "#c7c57e",
  "rgb": {
    "r": 199,
    "g": 197,
    "b": 126
  },
  "hsl": {
    "h": 58.356,
    "s": 39.459,
    "l": 63.725
  },
  "oklch": {
    "l": 0.80874,
    "c": 0.09206,
    "h": 106.9
  },
  "luminance": 0.53581
}

Semantic roles & 50–950 ramp

primary
#C7C57E
secondary
#545695
accent
#37B233
background
#FEFEFC
surface
#FBFBF6
border
#D4D4D0
text
#15140F
muted
#848380

Preview Lab

Preview with #C7C57E

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

Preview Lab → · Contrast checker → · Palette generator →

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