#C8CB7B#C8CB7B

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

Color values

HEX#C8CB7B
RGBrgb(200, 203, 123)
HSLhsl(62, 43%, 64%)
HSVhsv(62, 39%, 80%)
CMYKcmyk(1.5%, 0%, 39.4%, 20.4%)
CIE-LABlab(79.85, -12.92, 39.52)
CIE-LCHlch(79.85, 41.58, 108.11°)
OKLaboklab(82.18% -0.0356 0.0962)
OKLCHoklch(82.18% 0.103 110.3)
XYZxyz(48.7511, 56.4222, 27.0575)
Luminance0.5642 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8CB7B #7E7BCB
analogous
#CBA67B #C8CB7B #A0CB7B
triadic
#C8CB7B #7BC8CB #CB7BC8
tetradic
#C8CB7B #7BCBA6 #7E7BCB #CB7BA0
square
#C8CB7B #7BCBA6 #7E7BCB #CB7BA0
split-complementary
#C8CB7B #7BA0CB #A67BCB
monochromatic
#8F923A #B6BA4F #C8CB7B #DADCA7 #EDEED3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C8CB7B#FFFFFF#000000##000000
##C8CB7B1.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)
#D6C575
Deuteranopia (green-blind)
#D7C77F
Tritanopia (blue-blind)
#D2C2B7
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #c8cb7b;
/* rgb */ color: rgb(200, 203, 123);
/* oklch */ color: oklch(82.2% 0.103 110.3);
Tailwind
colors: {
  custom: {
    50: '#dadaa2',
    500: '#c8cb7b',
    950: '#000000',
  },
}
SCSS
$custom: #c8cb7b;
$custom-light: #dadaa2;
$custom-dark: #000000;
JSON
{
  "hex": "#c8cb7b",
  "rgb": {
    "r": 200,
    "g": 203,
    "b": 123
  },
  "hsl": {
    "h": 62.25,
    "s": 43.478,
    "l": 63.922
  },
  "oklch": {
    "l": 0.82179,
    "c": 0.10262,
    "h": 110.3
  },
  "luminance": 0.56421
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C8CB7B

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

Preview Lab → · Contrast checker → · Palette generator →

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