#C8CB7A#C8CB7A

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

Color values

HEX#C8CB7A
RGBrgb(200, 203, 122)
HSLhsl(62, 44%, 64%)
HSVhsv(62, 40%, 80%)
CMYKcmyk(1.5%, 0%, 39.9%, 20.4%)
CIE-LABlab(79.84, -13.03, 40.01)
CIE-LCHlch(79.84, 42.08, 108.04°)
OKLaboklab(82.16% -0.036 0.0973)
OKLCHoklch(82.16% 0.104 110.3)
XYZxyz(48.6888, 56.3972, 26.7295)
Luminance0.5640 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8CB7A #7D7ACB
analogous
#CBA57A #C8CB7A #9FCB7A
triadic
#C8CB7A #7AC8CB #CB7AC8
tetradic
#C8CB7A #7ACBA5 #7D7ACB #CB7A9F
square
#C8CB7A #7ACBA5 #7D7ACB #CB7A9F
split-complementary
#C8CB7A #7A9FCB #A57ACB
monochromatic
#8E9239 #B6BA4E #C8CB7A #DADCA6 #ECEDD2

Accessibility & contrast

On white

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

On black

12.28
#C8CB7A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8CB7A
12.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8CB7A#FFFFFF#000000##000000
##C8CB7A1.001.7112.2812.28
#FFFFFF1.711.0021.0021.00
#00000012.2821.001.001.00
##00000012.2821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c8cb7a;
/* rgb */ color: rgb(200, 203, 122);
/* oklch */ color: oklch(82.2% 0.104 110.3);
Tailwind
colors: {
  custom: {
    50: '#dadaa1',
    500: '#c8cb7a',
    950: '#000000',
  },
}
SCSS
$custom: #c8cb7a;
$custom-light: #dadaa1;
$custom-dark: #000000;
JSON
{
  "hex": "#c8cb7a",
  "rgb": {
    "r": 200,
    "g": 203,
    "b": 122
  },
  "hsl": {
    "h": 62.222,
    "s": 43.784,
    "l": 63.725
  },
  "oklch": {
    "l": 0.82164,
    "c": 0.10374,
    "h": 110.3
  },
  "luminance": 0.56396
}

Semantic roles & 50–950 ramp

primary
#C8CB7A
secondary
#545198
accent
#2FB734
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140F
muted
#848380

Preview Lab

Preview with #C8CB7A

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

Preview Lab → · Contrast checker → · Palette generator →

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