#C8CA5A#C8CA5A

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

Color values

HEX#C8CA5A
RGBrgb(200, 202, 90)
HSLhsl(61, 51%, 57%)
HSVhsv(61, 55%, 79%)
CMYKcmyk(1%, 0%, 55.4%, 20.8%)
CIE-LABlab(79.19, -15.52, 54.62)
CIE-LCHlch(79.19, 56.78, 105.86°)
OKLaboklab(81.52% -0.0461 0.1268)
OKLCHoklch(81.52% 0.135 110)
XYZxyz(46.7866, 55.2597, 17.8725)
Luminance0.5526 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8CA5A #5C5ACA
analogous
#CA945A #C8CA5A #90CA5A
triadic
#C8CA5A #5AC8CA #CA5AC8
tetradic
#C8CA5A #5ACA94 #5C5ACA #CA5A90
square
#C8CA5A #5ACA94 #5C5ACA #CA5A90
split-complementary
#C8CA5A #5A90CA #945ACA
monochromatic
#7F8029 #ADAF38 #C8CA5A #D7D988 #E7E8B7

Accessibility & contrast

On white

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

On black

12.05
#C8CA5A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8CA5A
12.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8CA5A#FFFFFF#000000##000000
##C8CA5A1.001.7412.0512.05
#FFFFFF1.741.0021.0021.00
#00000012.0521.001.001.00
##00000012.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C24E
Deuteranopia (green-blind)
#D9C660
Tritanopia (blue-blind)
#D4BFB1
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #c8ca5a;
/* rgb */ color: rgb(200, 202, 90);
/* oklch */ color: oklch(81.5% 0.135 110.0);
Tailwind
colors: {
  custom: {
    50: '#dbda8c',
    500: '#c8ca5a',
    950: '#000000',
  },
}
SCSS
$custom: #c8ca5a;
$custom-light: #dbda8c;
$custom-dark: #000000;
JSON
{
  "hex": "#c8ca5a",
  "rgb": {
    "r": 200,
    "g": 202,
    "b": 90
  },
  "hsl": {
    "h": 61.071,
    "s": 51.376,
    "l": 57.255
  },
  "oklch": {
    "l": 0.81524,
    "c": 0.13492,
    "h": 110
  },
  "luminance": 0.55259
}

Semantic roles & 50–950 ramp

primary
#C8CA5A
secondary
#414088
accent
#4DDB4F
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140C
muted
#84837F

Preview Lab

Preview with #C8CA5A

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

Preview Lab → · Contrast checker → · Palette generator →

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