#C8CA5F#C8CA5F

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

Color values

HEX#C8CA5F
RGBrgb(200, 202, 95)
HSLhsl(61, 50%, 58%)
HSVhsv(61, 53%, 79%)
CMYKcmyk(1%, 0%, 53%, 20.8%)
CIE-LABlab(79.24, -15.12, 52.39)
CIE-LCHlch(79.24, 54.52, 106.10°)
OKLaboklab(81.58% -0.0445 0.1225)
OKLCHoklch(81.58% 0.13 109.9)
XYZxyz(47.0066, 55.3477, 19.0312)
Luminance0.5535 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8CA5F #615FCA
analogous
#CA965F #C8CA5F #93CA5F
triadic
#C8CA5F #5FC8CA #CA5FC8
tetradic
#C8CA5F #5FCA96 #615FCA #CA5F93
square
#C8CA5F #5FCA96 #615FCA #CA5F93
split-complementary
#C8CA5F #5F93CA #965FCA
monochromatic
#82832B #AFB13B #C8CA5F #D8D98D #E8E8BB

Accessibility & contrast

On white

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

On black

12.07
#C8CA5F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8CA5F
12.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8CA5F#FFFFFF#000000##000000
##C8CA5F1.001.7412.0712.07
#FFFFFF1.741.0021.0021.00
#00000012.0721.001.001.00
##00000012.0721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c8ca5f;
/* rgb */ color: rgb(200, 202, 95);
/* oklch */ color: oklch(81.6% 0.130 109.9);
Tailwind
colors: {
  custom: {
    50: '#dbda8f',
    500: '#c8ca5f',
    950: '#000000',
  },
}
SCSS
$custom: #c8ca5f;
$custom-light: #dbda8f;
$custom-dark: #000000;
JSON
{
  "hex": "#c8ca5f",
  "rgb": {
    "r": 200,
    "g": 202,
    "b": 95
  },
  "hsl": {
    "h": 61.121,
    "s": 50.235,
    "l": 58.235
  },
  "oklch": {
    "l": 0.8158,
    "c": 0.13036,
    "h": 109.9
  },
  "luminance": 0.55347
}

Semantic roles & 50–950 ramp

primary
#C8CA5F
secondary
#44438B
accent
#4EDA51
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140D
muted
#84837F

Preview Lab

Preview with #C8CA5F

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

Preview Lab → · Contrast checker → · Palette generator →

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