#C8CA71#C8CA71

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

Color values

HEX#C8CA71
RGBrgb(200, 202, 113)
HSLhsl(61, 46%, 62%)
HSVhsv(61, 44%, 79%)
CMYKcmyk(1%, 0%, 44.1%, 20.8%)
CIE-LABlab(79.45, -13.47, 44.01)
CIE-LCHlch(79.45, 46.03, 107.02°)
OKLaboklab(81.82% -0.038 0.1057)
OKLCHoklch(81.82% 0.112 109.8)
XYZxyz(47.9214, 55.7136, 23.8490)
Luminance0.5571 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8CA71 #7371CA
analogous
#CAA071 #C8CA71 #9CCA71
triadic
#C8CA71 #71C8CA #CA71C8
tetradic
#C8CA71 #71CAA0 #7371CA #CA719C
square
#C8CA71 #71CAA0 #7371CA #CA719C
split-complementary
#C8CA71 #719CCA #A071CA
monochromatic
#8A8C34 #B6B945 #C8CA71 #D9DB9E #EBEBCA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C8CA71#FFFFFF#000000##000000
##C8CA711.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)
#D6C36A
Deuteranopia (green-blind)
#D7C675
Tritanopia (blue-blind)
#D3C0B5
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #c8ca71;
/* rgb */ color: rgb(200, 202, 113);
/* oklch */ color: oklch(81.8% 0.112 109.8);
Tailwind
colors: {
  custom: {
    50: '#dada9b',
    500: '#c8ca71',
    950: '#000000',
  },
}
SCSS
$custom: #c8ca71;
$custom-light: #dada9b;
$custom-dark: #000000;
JSON
{
  "hex": "#c8ca71",
  "rgb": {
    "r": 200,
    "g": 202,
    "b": 113
  },
  "hsl": {
    "h": 61.348,
    "s": 45.641,
    "l": 61.765
  },
  "oklch": {
    "l": 0.81815,
    "c": 0.11235,
    "h": 109.8
  },
  "luminance": 0.55713
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C8CA71

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

Preview Lab → · Contrast checker → · Palette generator →

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