#C5C679#C5C679

#C5C679 is a light, moderate yellow. Relative luminance 0.536; OKLCH L 80.8% C 0.099 H 109.1°. Best body text is #000000 at 11.73:1 contrast (WCAG AA passes).

Color values

HEX#C5C679
RGBrgb(197, 198, 121)
HSLhsl(61, 40%, 63%)
HSVhsv(61, 39%, 78%)
CMYKcmyk(0.5%, 0%, 38.9%, 22.4%)
CIE-LABlab(78.25, -11.79, 38.45)
CIE-LCHlch(78.25, 40.22, 107.05°)
OKLaboklab(80.84% -0.0324 0.0937)
OKLCHoklch(80.84% 0.099 109.1)
XYZxyz(46.6718, 53.6399, 25.9804)
Luminance0.5364 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5C679 #7A79C6
analogous
#C6A079 #C5C679 #9FC679
triadic
#C5C679 #79C5C6 #C679C5
tetradic
#C5C679 #79C6A0 #7A79C6 #C6799F
square
#C5C679 #79C6A0 #7A79C6 #C6799F
split-complementary
#C5C679 #799FC6 #A079C6
monochromatic
#898A3B #B2B44E #C5C679 #D8D8A4 #EAEBCF

Accessibility & contrast

On white

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

On black

11.73
#C5C679 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5C679
11.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5C679#FFFFFF#000000##000000
##C5C6791.001.7911.7311.73
#FFFFFF1.791.0021.0021.00
#00000011.7321.001.001.00
##00000011.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1C073
Deuteranopia (green-blind)
#D2C37C
Tritanopia (blue-blind)
#CFBDB3
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #c5c679;
/* rgb */ color: rgb(197, 198, 121);
/* oklch */ color: oklch(80.8% 0.099 109.1);
Tailwind
colors: {
  custom: {
    50: '#d8d7a1',
    500: '#c5c679',
    950: '#000000',
  },
}
SCSS
$custom: #c5c679;
$custom-light: #d8d7a1;
$custom-dark: #000000;
JSON
{
  "hex": "#c5c679",
  "rgb": {
    "r": 197,
    "g": 198,
    "b": 121
  },
  "hsl": {
    "h": 60.779,
    "s": 40.314,
    "l": 62.549
  },
  "oklch": {
    "l": 0.80838,
    "c": 0.09916,
    "h": 109.1
  },
  "luminance": 0.53639
}

Semantic roles & 50–950 ramp

primary
#C5C679
secondary
#525292
accent
#32B334
background
#FEFEFC
surface
#FBFBF5
border
#D4D4CF
text
#15140F
muted
#848380

Preview Lab

Preview with #C5C679

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

Preview Lab → · Contrast checker → · Palette generator →

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