#C7C492#C7C492

#C7C492 is a light, moderate yellow. Relative luminance 0.537; OKLCH L 81.0% C 0.067 H 104.9°. Best body text is #000000 at 11.74:1 contrast (WCAG AA passes).

Color values

HEX#C7C492
RGBrgb(199, 196, 146)
HSLhsl(57, 32%, 68%)
HSVhsv(57, 27%, 78%)
CMYKcmyk(0%, 1.5%, 26.6%, 22%)
CIE-LABlab(78.29, -6.90, 25.56)
CIE-LCHlch(78.29, 26.47, 105.12°)
OKLaboklab(81.04% -0.0171 0.0644)
OKLCHoklch(81.04% 0.067 104.9)
XYZxyz(48.4815, 53.6981, 34.9994)
Luminance0.5370 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7C492 #9295C7
analogous
#C7AA92 #C7C492 #AFC792
triadic
#C7C492 #92C7C4 #C492C7
tetradic
#C7C492 #92C7AA #9295C7 #C792AF
square
#C7C492 #92C7AA #9295C7 #C792AF
split-complementary
#C7C492 #92AFC7 #AA92C7
monochromatic
#938F4C #B2AE6A #C7C492 #DCDABA #F1F0E3

Accessibility & contrast

On white

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

On black

11.74
#C7C492 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7C492
11.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7C492#FFFFFF#000000##000000
##C7C4921.001.7911.7411.74
#FFFFFF1.791.0021.0021.00
#00000011.7421.001.001.00
##00000011.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDC08F
Deuteranopia (green-blind)
#CEC394
Tritanopia (blue-blind)
#CFBDB7
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #c7c492;
/* rgb */ color: rgb(199, 196, 146);
/* oklch */ color: oklch(81.0% 0.067 104.9);
Tailwind
colors: {
  custom: {
    50: '#d8d5b2',
    500: '#c7c492',
    950: '#000000',
  },
}
SCSS
$custom: #c7c492;
$custom-light: #d8d5b2;
$custom-dark: #000000;
JSON
{
  "hex": "#c7c492",
  "rgb": {
    "r": 199,
    "g": 196,
    "b": 146
  },
  "hsl": {
    "h": 56.604,
    "s": 32.121,
    "l": 67.647
  },
  "oklch": {
    "l": 0.81037,
    "c": 0.06662,
    "h": 104.9
  },
  "luminance": 0.53697
}

Semantic roles & 50–950 ramp

primary
#C7C492
secondary
#62659B
accent
#41AB3B
background
#FEFEFD
surface
#FBFBF7
border
#D4D4D0
text
#141411
muted
#838381

Preview Lab

Preview with #C7C492

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

Preview Lab → · Contrast checker → · Palette generator →

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