#C8CA5D#C8CA5D

#C8CA5D is a light, vivid yellow. Relative luminance 0.553; OKLCH L 81.6% C 0.132 H 110.0°. Best body text is #000000 at 12.06:1 contrast (WCAG AA passes).

Color values

HEX#C8CA5D
RGBrgb(200, 202, 93)
HSLhsl(61, 51%, 58%)
HSVhsv(61, 54%, 79%)
CMYKcmyk(1%, 0%, 54%, 20.8%)
CIE-LABlab(79.22, -15.28, 53.28)
CIE-LCHlch(79.22, 55.43, 106.00°)
OKLaboklab(81.56% -0.0451 0.1243)
OKLCHoklch(81.56% 0.132 110)
XYZxyz(46.9169, 55.3118, 18.5586)
Luminance0.5531 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8CA5D #5F5DCA
analogous
#CA955D #C8CA5D #91CA5D
triadic
#C8CA5D #5DC8CA #CA5DC8
tetradic
#C8CA5D #5DCA95 #5F5DCA #CA5D91
square
#C8CA5D #5DCA95 #5F5DCA #CA5D91
split-complementary
#C8CA5D #5D91CA #955DCA
monochromatic
#80822B #AEB03A #C8CA5D #D8D98B #E7E8B9

Accessibility & contrast

On white

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

On black

12.06
#C8CA5D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8CA5D
12.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8CA5D#FFFFFF#000000##000000
##C8CA5D1.001.7412.0612.06
#FFFFFF1.741.0021.0021.00
#00000012.0621.001.001.00
##00000012.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C252
Deuteranopia (green-blind)
#D9C663
Tritanopia (blue-blind)
#D4BFB2
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #c8ca5d;
/* rgb */ color: rgb(200, 202, 93);
/* oklch */ color: oklch(81.6% 0.132 110.0);
Tailwind
colors: {
  custom: {
    50: '#dbda8e',
    500: '#c8ca5d',
    950: '#000000',
  },
}
SCSS
$custom: #c8ca5d;
$custom-light: #dbda8e;
$custom-dark: #000000;
JSON
{
  "hex": "#c8ca5d",
  "rgb": {
    "r": 200,
    "g": 202,
    "b": 93
  },
  "hsl": {
    "h": 61.101,
    "s": 50.698,
    "l": 57.843
  },
  "oklch": {
    "l": 0.81557,
    "c": 0.13221,
    "h": 110
  },
  "luminance": 0.55311
}

Semantic roles & 50–950 ramp

primary
#C8CA5D
secondary
#43428A
accent
#4EDA50
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140D
muted
#84837F

Preview Lab

Preview with #C8CA5D

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

Preview Lab → · Contrast checker → · Palette generator →

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