#C8CB79#C8CB79

#C8CB79 is a very light, moderate yellow. Relative luminance 0.564; OKLCH L 82.1% C 0.105 H 110.3°. Best body text is #000000 at 12.27:1 contrast (WCAG AA passes).

Color values

HEX#C8CB79
RGBrgb(200, 203, 121)
HSLhsl(62, 44%, 64%)
HSVhsv(62, 40%, 80%)
CMYKcmyk(1.5%, 0%, 40.4%, 20.4%)
CIE-LABlab(79.83, -13.14, 40.50)
CIE-LCHlch(79.83, 42.57, 107.98°)
OKLaboklab(82.15% -0.0364 0.0983)
OKLCHoklch(82.15% 0.105 110.3)
XYZxyz(48.6272, 56.3726, 26.4048)
Luminance0.5637 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8CB79 #7C79CB
analogous
#CBA579 #C8CB79 #9FCB79
triadic
#C8CB79 #79C8CB #CB79C8
tetradic
#C8CB79 #79CBA5 #7C79CB #CB799F
square
#C8CB79 #79CBA5 #7C79CB #CB799F
split-complementary
#C8CB79 #799FCB #A579CB
monochromatic
#8E9138 #B6BA4D #C8CB79 #DADCA5 #ECEDD1

Accessibility & contrast

On white

1.71
#C8CB79 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.27
#C8CB79 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8CB79
12.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8CB79#FFFFFF#000000##000000
##C8CB791.001.7112.2712.27
#FFFFFF1.711.0021.0021.00
#00000012.2721.001.001.00
##00000012.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C473
Deuteranopia (green-blind)
#D7C77D
Tritanopia (blue-blind)
#D2C2B7
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #c8cb79;
/* rgb */ color: rgb(200, 203, 121);
/* oklch */ color: oklch(82.1% 0.105 110.3);
Tailwind
colors: {
  custom: {
    50: '#dadaa1',
    500: '#c8cb79',
    950: '#000000',
  },
}
SCSS
$custom: #c8cb79;
$custom-light: #dadaa1;
$custom-dark: #000000;
JSON
{
  "hex": "#c8cb79",
  "rgb": {
    "r": 200,
    "g": 203,
    "b": 121
  },
  "hsl": {
    "h": 62.195,
    "s": 44.086,
    "l": 63.529
  },
  "oklch": {
    "l": 0.82148,
    "c": 0.10485,
    "h": 110.3
  },
  "luminance": 0.56372
}

Semantic roles & 50–950 ramp

primary
#C8CB79
secondary
#535098
accent
#2EB733
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140F
muted
#848380

Preview Lab

Preview with #C8CB79

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

Preview Lab → · Contrast checker → · Palette generator →

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