#C7C298#C7C298

#C7C298 is a light, muted yellow. Relative luminance 0.530; OKLCH L 80.7% C 0.057 H 101.9°. Best body text is #000000 at 11.60:1 contrast (WCAG AA passes).

Color values

HEX#C7C298
RGBrgb(199, 194, 152)
HSLhsl(54, 30%, 69%)
HSVhsv(54, 24%, 78%)
CMYKcmyk(0%, 2.5%, 23.6%, 22%)
CIE-LABlab(77.87, -5.03, 21.81)
CIE-LCHlch(77.87, 22.39, 102.99°)
OKLaboklab(80.75% -0.0117 0.0554)
OKLCHoklch(80.75% 0.057 101.9)
XYZxyz(48.5124, 52.9935, 37.3728)
Luminance0.5299 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7C298 #989DC7
analogous
#C7AB98 #C7C298 #B5C798
triadic
#C7C298 #98C7C2 #C298C7
tetradic
#C7C298 #98C7AB #989DC7 #C798B5
square
#C7C298 #98C7AB #989DC7 #C798B5
split-complementary
#C7C298 #98B5C7 #AB98C7
monochromatic
#948D51 #B1AB70 #C7C298 #DDD9C0 #F2F1E7

Accessibility & contrast

On white

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

On black

11.60
#C7C298 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7C298
11.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7C298#FFFFFF#000000##000000
##C7C2981.001.8111.6011.60
#FFFFFF1.811.0021.0021.00
#00000011.6021.001.001.00
##00000011.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#CABF95
Deuteranopia (green-blind)
#CCC299
Tritanopia (blue-blind)
#CEBCB7
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #c7c298;
/* rgb */ color: rgb(199, 194, 152);
/* oklch */ color: oklch(80.7% 0.057 101.9);
Tailwind
colors: {
  custom: {
    50: '#d8d4b6',
    500: '#c7c298',
    950: '#000000',
  },
}
SCSS
$custom: #c7c298;
$custom-light: #d8d4b6;
$custom-dark: #000000;
JSON
{
  "hex": "#c7c298",
  "rgb": {
    "r": 199,
    "g": 194,
    "b": 152
  },
  "hsl": {
    "h": 53.617,
    "s": 29.56,
    "l": 68.824
  },
  "oklch": {
    "l": 0.80746,
    "c": 0.05664,
    "h": 101.9
  },
  "luminance": 0.52993
}

Semantic roles & 50–950 ramp

primary
#C7C298
secondary
#686D9C
accent
#49A83D
background
#FEFEFD
surface
#FBFBF8
border
#D4D4D1
text
#141411
muted
#838381

Preview Lab

Preview with #C7C298

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

Preview Lab → · Contrast checker → · Palette generator →

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