#C8CD7B#C8CD7B

#C8CD7B is a very light, moderate yellow. Relative luminance 0.574; OKLCH L 82.6% C 0.105 H 111.5°. Best body text is #000000 at 12.47:1 contrast (WCAG AA passes).

Color values

HEX#C8CD7B
RGBrgb(200, 205, 123)
HSLhsl(64, 45%, 64%)
HSVhsv(64, 40%, 80%)
CMYKcmyk(2.4%, 0%, 40%, 19.6%)
CIE-LABlab(80.39, -13.93, 40.20)
CIE-LCHlch(80.39, 42.55, 109.12°)
OKLaboklab(82.61% -0.0385 0.0978)
OKLCHoklch(82.61% 0.105 111.5)
XYZxyz(49.2265, 57.3729, 27.2159)
Luminance0.5737 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8CD7B #807BCD
analogous
#CDA97B #C8CD7B #9FCD7B
triadic
#C8CD7B #7BC8CD #CD7BC8
tetradic
#C8CD7B #7BCDA9 #807BCD #CD7B9F
square
#C8CD7B #7BCDA9 #807BCD #CD7B9F
split-complementary
#C8CD7B #7B9FCD #A97BCD
monochromatic
#8F9538 #B6BC4F #C8CD7B #DADEA7 #EDEFD4

Accessibility & contrast

On white

1.68
#C8CD7B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.47
#C8CD7B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8CD7B
12.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8CD7B#FFFFFF#000000##000000
##C8CD7B1.001.6812.4712.47
#FFFFFF1.681.0021.0021.00
#00000012.4721.001.001.00
##00000012.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C675
Deuteranopia (green-blind)
#D9C97F
Tritanopia (blue-blind)
#D2C4B9
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #c8cd7b;
/* rgb */ color: rgb(200, 205, 123);
/* oklch */ color: oklch(82.6% 0.105 111.5);
Tailwind
colors: {
  custom: {
    50: '#dadca2',
    500: '#c8cd7b',
    950: '#000000',
  },
}
SCSS
$custom: #c8cd7b;
$custom-light: #dadca2;
$custom-dark: #000000;
JSON
{
  "hex": "#c8cd7b",
  "rgb": {
    "r": 200,
    "g": 205,
    "b": 123
  },
  "hsl": {
    "h": 63.659,
    "s": 45.055,
    "l": 64.314
  },
  "oklch": {
    "l": 0.82606,
    "c": 0.10508,
    "h": 111.5
  },
  "luminance": 0.57372
}

Semantic roles & 50–950 ramp

primary
#C8CD7B
secondary
#55519B
accent
#2DB836
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15150F
muted
#848480

Preview Lab

Preview with #C8CD7B

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

Preview Lab → · Contrast checker → · Palette generator →

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