#C7C296#C7C296

#C7C296 is a light, muted yellow. Relative luminance 0.529; OKLCH L 80.7% C 0.059 H 102.2°. Best body text is #000000 at 11.59:1 contrast (WCAG AA passes).

Color values

HEX#C7C296
RGBrgb(199, 194, 150)
HSLhsl(54, 30%, 68%)
HSVhsv(54, 25%, 78%)
CMYKcmyk(0%, 2.5%, 24.6%, 22%)
CIE-LABlab(77.83, -5.31, 22.82)
CIE-LCHlch(77.83, 23.44, 103.11°)
OKLaboklab(80.7% -0.0125 0.0579)
OKLCHoklch(80.7% 0.059 102.2)
XYZxyz(48.3500, 52.9285, 36.5174)
Luminance0.5293 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7C296 #969BC7
analogous
#C7A996 #C7C296 #B3C796
triadic
#C7C296 #96C7C2 #C296C7
tetradic
#C7C296 #96C7A9 #969BC7 #C796B3
square
#C7C296 #96C7A9 #969BC7 #C796B3
split-complementary
#C7C296 #96B3C7 #A996C7
monochromatic
#948D4F #B2AB6E #C7C296 #DCD9BE #F2F0E6

Accessibility & contrast

On white

1.81
#C7C296 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.59
#C7C296 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7C296
11.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7C296#FFFFFF#000000##000000
##C7C2961.001.8111.5911.59
#FFFFFF1.811.0021.0021.00
#00000011.5921.001.001.00
##00000011.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#CABF93
Deuteranopia (green-blind)
#CCC298
Tritanopia (blue-blind)
#CFBCB6
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #c7c296;
/* rgb */ color: rgb(199, 194, 150);
/* oklch */ color: oklch(80.7% 0.059 102.2);
Tailwind
colors: {
  custom: {
    50: '#d8d4b5',
    500: '#c7c296',
    950: '#000000',
  },
}
SCSS
$custom: #c7c296;
$custom-light: #d8d4b5;
$custom-dark: #000000;
JSON
{
  "hex": "#c7c296",
  "rgb": {
    "r": 199,
    "g": 194,
    "b": 150
  },
  "hsl": {
    "h": 53.878,
    "s": 30.435,
    "l": 68.431
  },
  "oklch": {
    "l": 0.80703,
    "c": 0.05919,
    "h": 102.2
  },
  "luminance": 0.52928
}

Semantic roles & 50–950 ramp

primary
#C7C296
secondary
#666B9C
accent
#47A93C
background
#FEFEFD
surface
#FBFBF8
border
#D4D4D1
text
#141411
muted
#838381

Preview Lab

Preview with #C7C296

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

Preview Lab → · Contrast checker → · Palette generator →

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