#C8CA3D#C8CA3D

#C8CA3D is a light, vivid yellow. Relative luminance 0.549; OKLCH L 81.3% C 0.157 H 110.2°. Best body text is #000000 at 11.97:1 contrast (WCAG AA passes).

Color values

HEX#C8CA3D
RGBrgb(200, 202, 61)
HSLhsl(61, 57%, 52%)
HSVhsv(61, 70%, 79%)
CMYKcmyk(1%, 0%, 69.8%, 20.8%)
CIE-LABlab(78.96, -17.36, 66.29)
CIE-LCHlch(78.96, 68.52, 104.68°)
OKLaboklab(81.27% -0.0543 0.1473)
OKLCHoklch(81.27% 0.157 110.2)
XYZxyz(45.7838, 54.8586, 12.5910)
Luminance0.5486 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8CA3D #3F3DCA
analogous
#CA863D #C8CA3D #82CA3D
triadic
#C8CA3D #3DC8CA #CA3DC8
tetradic
#C8CA3D #3DCA86 #3F3DCA #CA3D82
square
#C8CA3D #3DCA86 #3F3DCA #CA3D82
split-complementary
#C8CA3D #3D82CA #863DCA
monochromatic
#6D6E1E #9D9F2B #C8CA3D #D6D76D #E3E49D

Accessibility & contrast

On white

1.75
#C8CA3D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.97
#C8CA3D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8CA3D
11.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8CA3D#FFFFFF#000000##000000
##C8CA3D1.001.7511.9711.97
#FFFFFF1.751.0021.0021.00
#00000011.9721.001.001.00
##00000011.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC125
Deuteranopia (green-blind)
#DBC547
Tritanopia (blue-blind)
#D6BDAE
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #c8ca3d;
/* rgb */ color: rgb(200, 202, 61);
/* oklch */ color: oklch(81.3% 0.157 110.2);
Tailwind
colors: {
  custom: {
    50: '#dcd97b',
    500: '#c8ca3d',
    950: '#000000',
  },
}
SCSS
$custom: #c8ca3d;
$custom-light: #dcd97b;
$custom-dark: #000000;
JSON
{
  "hex": "#c8ca3d",
  "rgb": {
    "r": 200,
    "g": 202,
    "b": 61
  },
  "hsl": {
    "h": 60.851,
    "s": 57.085,
    "l": 51.569
  },
  "oklch": {
    "l": 0.81265,
    "c": 0.15702,
    "h": 110.2
  },
  "luminance": 0.54857
}

Semantic roles & 50–950 ramp

primary
#C8CA3D
secondary
#343378
accent
#47E04A
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140A
muted
#84837D

Preview Lab

Preview with #C8CA3D

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

Preview Lab → · Contrast checker → · Palette generator →

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