#C8CB72#C8CB72

#C8CB72 is a very light, moderate yellow. Relative luminance 0.562; OKLCH L 82.0% C 0.112 H 110.3°. Best body text is #000000 at 12.24:1 contrast (WCAG AA passes).

Color values

HEX#C8CB72
RGBrgb(200, 203, 114)
HSLhsl(62, 46%, 62%)
HSVhsv(62, 44%, 80%)
CMYKcmyk(1.5%, 0%, 43.8%, 20.4%)
CIE-LABlab(79.73, -13.87, 43.86)
CIE-LCHlch(79.73, 46.01, 107.55°)
OKLaboklab(82.04% -0.0391 0.1055)
OKLCHoklch(82.04% 0.112 110.3)
XYZxyz(48.2134, 56.2071, 24.2256)
Luminance0.5621 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8CB72 #7572CB
analogous
#CBA172 #C8CB72 #9CCB72
triadic
#C8CB72 #72C8CB #CB72C8
tetradic
#C8CB72 #72CBA1 #7572CB #CB729C
square
#C8CB72 #72CBA1 #7572CB #CB729C
split-complementary
#C8CB72 #729CCB #A172CB
monochromatic
#8B8E34 #B7BB45 #C8CB72 #D9DB9F #EBECCB

Accessibility & contrast

On white

1.72
#C8CB72 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.24
#C8CB72 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8CB72
12.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8CB72#FFFFFF#000000##000000
##C8CB721.001.7212.2412.24
#FFFFFF1.721.0021.0021.00
#00000012.2421.001.001.00
##00000012.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C46B
Deuteranopia (green-blind)
#D8C776
Tritanopia (blue-blind)
#D3C1B6
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #c8cb72;
/* rgb */ color: rgb(200, 203, 114);
/* oklch */ color: oklch(82.0% 0.112 110.3);
Tailwind
colors: {
  custom: {
    50: '#dada9c',
    500: '#c8cb72',
    950: '#000000',
  },
}
SCSS
$custom: #c8cb72;
$custom-light: #dada9c;
$custom-dark: #000000;
JSON
{
  "hex": "#c8cb72",
  "rgb": {
    "r": 200,
    "g": 203,
    "b": 114
  },
  "hsl": {
    "h": 62.022,
    "s": 46.114,
    "l": 62.157
  },
  "oklch": {
    "l": 0.82043,
    "c": 0.11248,
    "h": 110.3
  },
  "luminance": 0.56206
}

Semantic roles & 50–950 ramp

primary
#C8CB72
secondary
#4F4C95
accent
#2CB931
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F

Preview Lab

Preview with #C8CB72

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

Preview Lab → · Contrast checker → · Palette generator →

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