#C8C970#C8C970

#C8C970 is a light, moderate yellow. Relative luminance 0.552; OKLCH L 81.6% C 0.112 H 109.2°. Best body text is #000000 at 12.04:1 contrast (WCAG AA passes).

Color values

HEX#C8C970
RGBrgb(200, 201, 112)
HSLhsl(61, 45%, 61%)
HSVhsv(61, 44%, 79%)
CMYKcmyk(0.5%, 0%, 44.3%, 21.2%)
CIE-LABlab(79.17, -13.06, 44.16)
CIE-LCHlch(79.17, 46.05, 106.48°)
OKLaboklab(81.59% -0.0369 0.106)
OKLCHoklch(81.59% 0.112 109.2)
XYZxyz(47.6315, 55.2235, 23.4762)
Luminance0.5522 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8C970 #7170C9
analogous
#C99E70 #C8C970 #9CC970
triadic
#C8C970 #70C8C9 #C970C8
tetradic
#C8C970 #70C99E #7170C9 #C9709C
square
#C8C970 #70C99E #7170C9 #C9709C
split-complementary
#C8C970 #709CC9 #9E70C9
monochromatic
#898A34 #B6B745 #C8C970 #D9DA9C #EAEBC9

Accessibility & contrast

On white

1.74
#C8C970 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.04
#C8C970 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8C970
12.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8C970#FFFFFF#000000##000000
##C8C9701.001.7412.0412.04
#FFFFFF1.741.0021.0021.00
#00000012.0421.001.001.00
##00000012.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6C269
Deuteranopia (green-blind)
#D7C674
Tritanopia (blue-blind)
#D3BFB4
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #c8c970;
/* rgb */ color: rgb(200, 201, 112);
/* oklch */ color: oklch(81.6% 0.112 109.2);
Tailwind
colors: {
  custom: {
    50: '#dad99b',
    500: '#c8c970',
    950: '#000000',
  },
}
SCSS
$custom: #c8c970;
$custom-light: #dad99b;
$custom-dark: #000000;
JSON
{
  "hex": "#c8c970",
  "rgb": {
    "r": 200,
    "g": 201,
    "b": 112
  },
  "hsl": {
    "h": 60.674,
    "s": 45.178,
    "l": 61.373
  },
  "oklch": {
    "l": 0.81587,
    "c": 0.11224,
    "h": 109.2
  },
  "luminance": 0.55223
}

Semantic roles & 50–950 ramp

primary
#C8C970
secondary
#4C4C92
accent
#2DB82F
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F

Preview Lab

Preview with #C8C970

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

Preview Lab → · Contrast checker → · Palette generator →

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