#C8CA70#C8CA70

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

Color values

HEX#C8CA70
RGBrgb(200, 202, 112)
HSLhsl(61, 46%, 62%)
HSVhsv(61, 45%, 79%)
CMYKcmyk(1%, 0%, 44.6%, 20.8%)
CIE-LABlab(79.44, -13.57, 44.49)
CIE-LCHlch(79.44, 46.51, 106.96°)
OKLaboklab(81.8% -0.0384 0.1067)
OKLCHoklch(81.8% 0.113 109.8)
XYZxyz(47.8654, 55.6913, 23.5541)
Luminance0.5569 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8CA70 #7270CA
analogous
#CA9F70 #C8CA70 #9BCA70
triadic
#C8CA70 #70C8CA #CA70C8
tetradic
#C8CA70 #70CA9F #7270CA #CA709B
square
#C8CA70 #70CA9F #7270CA #CA709B
split-complementary
#C8CA70 #709BCA #9F70CA
monochromatic
#8A8C34 #B6B844 #C8CA70 #D9DB9D #EAEBC9

Accessibility & contrast

On white

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

On black

12.14
#C8CA70 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8CA70
12.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8CA70#FFFFFF#000000##000000
##C8CA701.001.7312.1412.14
#FFFFFF1.731.0021.0021.00
#00000012.1421.001.001.00
##00000012.1421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c8ca70;
/* rgb */ color: rgb(200, 202, 112);
/* oklch */ color: oklch(81.8% 0.113 109.8);
Tailwind
colors: {
  custom: {
    50: '#dada9b',
    500: '#c8ca70',
    950: '#000000',
  },
}
SCSS
$custom: #c8ca70;
$custom-light: #dada9b;
$custom-dark: #000000;
JSON
{
  "hex": "#c8ca70",
  "rgb": {
    "r": 200,
    "g": 202,
    "b": 112
  },
  "hsl": {
    "h": 61.333,
    "s": 45.918,
    "l": 61.569
  },
  "oklch": {
    "l": 0.818,
    "c": 0.11341,
    "h": 109.8
  },
  "luminance": 0.5569
}

Semantic roles & 50–950 ramp

primary
#C8CA70
secondary
#4D4B93
accent
#2CB930
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F

Preview Lab

Preview with #C8CA70

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

Preview Lab → · Contrast checker → · Palette generator →

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