#C8CA74#C8CA74

#C8CA74 is a light, moderate yellow. Relative luminance 0.558; OKLCH L 81.9% C 0.109 H 109.8°. Best body text is #000000 at 12.16:1 contrast (WCAG AA passes).

Color values

HEX#C8CA74
RGBrgb(200, 202, 116)
HSLhsl(61, 45%, 62%)
HSVhsv(61, 43%, 79%)
CMYKcmyk(1%, 0%, 42.6%, 20.8%)
CIE-LABlab(79.49, -13.16, 42.57)
CIE-LCHlch(79.49, 44.56, 107.18°)
OKLaboklab(81.86% -0.0369 0.1027)
OKLCHoklch(81.86% 0.109 109.8)
XYZxyz(48.0931, 55.7823, 24.7532)
Luminance0.5578 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8CA74 #7674CA
analogous
#CAA174 #C8CA74 #9DCA74
triadic
#C8CA74 #74C8CA #CA74C8
tetradic
#C8CA74 #74CAA1 #7674CA #CA749D
square
#C8CA74 #74CAA1 #7674CA #CA749D
split-complementary
#C8CA74 #749DCA #A174CA
monochromatic
#8C8E36 #B6B948 #C8CA74 #DADBA0 #EBECCD

Accessibility & contrast

On white

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

On black

12.16
#C8CA74 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8CA74
12.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8CA74#FFFFFF#000000##000000
##C8CA741.001.7312.1612.16
#FFFFFF1.731.0021.0021.00
#00000012.1621.001.001.00
##00000012.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6C36D
Deuteranopia (green-blind)
#D7C678
Tritanopia (blue-blind)
#D3C1B5
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #c8ca74;
/* rgb */ color: rgb(200, 202, 116);
/* oklch */ color: oklch(81.9% 0.109 109.8);
Tailwind
colors: {
  custom: {
    50: '#dada9d',
    500: '#c8ca74',
    950: '#000000',
  },
}
SCSS
$custom: #c8ca74;
$custom-light: #dada9d;
$custom-dark: #000000;
JSON
{
  "hex": "#c8ca74",
  "rgb": {
    "r": 200,
    "g": 202,
    "b": 116
  },
  "hsl": {
    "h": 61.395,
    "s": 44.792,
    "l": 62.353
  },
  "oklch": {
    "l": 0.81859,
    "c": 0.10913,
    "h": 109.8
  },
  "luminance": 0.55781
}

Semantic roles & 50–950 ramp

primary
#C8CA74
secondary
#4F4E95
accent
#2EB831
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F

Preview Lab

Preview with #C8CA74

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

Preview Lab → · Contrast checker → · Palette generator →

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