#C8CB8A#C8CB8A

#C8CB8A is a very light, moderate yellow. Relative luminance 0.568; OKLCH L 82.4% C 0.085 H 110.4°. Best body text is #000000 at 12.37:1 contrast (WCAG AA passes).

Color values

HEX#C8CB8A
RGBrgb(200, 203, 138)
HSLhsl(63, 38%, 67%)
HSVhsv(63, 32%, 80%)
CMYKcmyk(1.5%, 0%, 32%, 20.4%)
CIE-LABlab(80.08, -11.16, 32.15)
CIE-LCHlch(80.08, 34.03, 109.14°)
OKLaboklab(82.44% -0.0296 0.0798)
OKLCHoklch(82.44% 0.085 110.4)
XYZxyz(49.7630, 56.8269, 32.3870)
Luminance0.5683 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8CB8A #8D8ACB
analogous
#CBAE8A #C8CB8A #A8CB8A
triadic
#C8CB8A #8AC8CB #CB8AC8
tetradic
#C8CB8A #8ACBAE #8D8ACB #CB8AA8
square
#C8CB8A #8ACBAE #8D8ACB #CB8AA8
split-complementary
#C8CB8A #8AA8CB #AE8ACB
monochromatic
#939743 #B4B860 #C8CB8A #DCDEB4 #F0F1DF

Accessibility & contrast

On white

1.70
#C8CB8A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.37
#C8CB8A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8CB8A
12.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8CB8A#FFFFFF#000000##000000
##C8CB8A1.001.7012.3712.37
#FFFFFF1.701.0021.0021.00
#00000012.3721.001.001.00
##00000012.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5C585
Deuteranopia (green-blind)
#D5C88D
Tritanopia (blue-blind)
#D0C3BA
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #c8cb8a;
/* rgb */ color: rgb(200, 203, 138);
/* oklch */ color: oklch(82.4% 0.085 110.4);
Tailwind
colors: {
  custom: {
    50: '#d9daac',
    500: '#c8cb8a',
    950: '#000000',
  },
}
SCSS
$custom: #c8cb8a;
$custom-light: #d9daac;
$custom-dark: #000000;
JSON
{
  "hex": "#c8cb8a",
  "rgb": {
    "r": 200,
    "g": 203,
    "b": 138
  },
  "hsl": {
    "h": 62.769,
    "s": 38.462,
    "l": 66.863
  },
  "oklch": {
    "l": 0.82436,
    "c": 0.08515,
    "h": 110.4
  },
  "luminance": 0.56826
}

Semantic roles & 50–950 ramp

primary
#C8CB8A
secondary
#5E5B9E
accent
#34B13A
background
#FEFEFD
surface
#FBFBF7
border
#D4D4D0
text
#151410
muted
#848381

Preview Lab

Preview with #C8CB8A

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

Preview Lab → · Contrast checker → · Palette generator →

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