#C8CA72#C8CA72

#C8CA72 is a light, moderate yellow. Relative luminance 0.557; OKLCH L 81.8% C 0.111 H 109.8°. Best body text is #000000 at 12.15:1 contrast (WCAG AA passes).

Color values

HEX#C8CA72
RGBrgb(200, 202, 114)
HSLhsl(61, 45%, 62%)
HSVhsv(61, 44%, 79%)
CMYKcmyk(1%, 0%, 43.6%, 20.8%)
CIE-LABlab(79.46, -13.37, 43.53)
CIE-LCHlch(79.46, 45.54, 107.07°)
OKLaboklab(81.83% -0.0376 0.1047)
OKLCHoklch(81.83% 0.111 109.8)
XYZxyz(47.9780, 55.7363, 24.1471)
Luminance0.5574 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8CA72 #7472CA
analogous
#CAA072 #C8CA72 #9CCA72
triadic
#C8CA72 #72C8CA #CA72C8
tetradic
#C8CA72 #72CAA0 #7472CA #CA729C
square
#C8CA72 #72CAA0 #7472CA #CA729C
split-complementary
#C8CA72 #729CCA #A072CA
monochromatic
#8B8D35 #B7B946 #C8CA72 #D9DB9E #EBEBCB

Accessibility & contrast

On white

1.73
#C8CA72 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.15
#C8CA72 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8CA72
12.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8CA72#FFFFFF#000000##000000
##C8CA721.001.7312.1512.15
#FFFFFF1.731.0021.0021.00
#00000012.1521.001.001.00
##00000012.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6C36B
Deuteranopia (green-blind)
#D7C676
Tritanopia (blue-blind)
#D3C0B5
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #c8ca72;
/* rgb */ color: rgb(200, 202, 114);
/* oklch */ color: oklch(81.8% 0.111 109.8);
Tailwind
colors: {
  custom: {
    50: '#dada9c',
    500: '#c8ca72',
    950: '#000000',
  },
}
SCSS
$custom: #c8ca72;
$custom-light: #dada9c;
$custom-dark: #000000;
JSON
{
  "hex": "#c8ca72",
  "rgb": {
    "r": 200,
    "g": 202,
    "b": 114
  },
  "hsl": {
    "h": 61.364,
    "s": 45.361,
    "l": 61.961
  },
  "oklch": {
    "l": 0.81829,
    "c": 0.11129,
    "h": 109.8
  },
  "luminance": 0.55735
}

Semantic roles & 50–950 ramp

primary
#C8CA72
secondary
#4E4D94
accent
#2DB930
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F

Preview Lab

Preview with #C8CA72

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

Preview Lab → · Contrast checker → · Palette generator →

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