#C8CA79#C8CA79

#C8CA79 is a light, moderate yellow. Relative luminance 0.559; OKLCH L 81.9% C 0.104 H 109.7°. Best body text is #000000 at 12.18:1 contrast (WCAG AA passes).

Color values

HEX#C8CA79
RGBrgb(200, 202, 121)
HSLhsl(61, 43%, 63%)
HSVhsv(61, 40%, 79%)
CMYKcmyk(1%, 0%, 40.1%, 20.8%)
CIE-LABlab(79.56, -12.63, 40.16)
CIE-LCHlch(79.56, 42.10, 107.47°)
OKLaboklab(81.94% -0.0349 0.0976)
OKLCHoklch(81.94% 0.104 109.7)
XYZxyz(48.3918, 55.9018, 26.3264)
Luminance0.5590 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8CA79 #7B79CA
analogous
#CAA379 #C8CA79 #9FCA79
triadic
#C8CA79 #79C8CA #CA79C8
tetradic
#C8CA79 #79CAA3 #7B79CA #CA799F
square
#C8CA79 #79CAA3 #7B79CA #CA799F
split-complementary
#C8CA79 #799FCA #A379CA
monochromatic
#8E9039 #B6B94D #C8CA79 #DADBA5 #ECEDD1

Accessibility & contrast

On white

1.72
#C8CA79 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.18
#C8CA79 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8CA79
12.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8CA79#FFFFFF#000000##000000
##C8CA791.001.7212.1812.18
#FFFFFF1.721.0021.0021.00
#00000012.1821.001.001.00
##00000012.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6C473
Deuteranopia (green-blind)
#D7C77D
Tritanopia (blue-blind)
#D2C1B6
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #c8ca79;
/* rgb */ color: rgb(200, 202, 121);
/* oklch */ color: oklch(81.9% 0.104 109.7);
Tailwind
colors: {
  custom: {
    50: '#dadaa1',
    500: '#c8ca79',
    950: '#000000',
  },
}
SCSS
$custom: #c8ca79;
$custom-light: #dadaa1;
$custom-dark: #000000;
JSON
{
  "hex": "#c8ca79",
  "rgb": {
    "r": 200,
    "g": 202,
    "b": 121
  },
  "hsl": {
    "h": 61.481,
    "s": 43.316,
    "l": 63.333
  },
  "oklch": {
    "l": 0.81935,
    "c": 0.10364,
    "h": 109.7
  },
  "luminance": 0.55901
}

Semantic roles & 50–950 ramp

primary
#C8CA79
secondary
#525197
accent
#2FB632
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140F
muted
#848380

Preview Lab

Preview with #C8CA79

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

Preview Lab → · Contrast checker → · Palette generator →

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