#C8C74A#C8C74A

#C8C74A is a light, vivid yellow. Relative luminance 0.536; OKLCH L 80.7% C 0.145 H 108.8°. Best body text is #000000 at 11.72:1 contrast (WCAG AA passes).

Color values

HEX#C8C74A
RGBrgb(200, 199, 74)
HSLhsl(60, 53%, 54%)
HSVhsv(60, 63%, 78%)
CMYKcmyk(0%, 0.5%, 63%, 21.6%)
CIE-LABlab(78.24, -15.13, 60.51)
CIE-LCHlch(78.24, 62.38, 104.04°)
OKLaboklab(80.72% -0.0467 0.1372)
OKLCHoklch(80.72% 0.145 108.8)
XYZxyz(45.4803, 53.6219, 14.4315)
Luminance0.5362 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8C74A #4A4BC8
analogous
#C8884A #C8C74A #8AC84A
triadic
#C8C74A #4AC8C7 #C74AC8
tetradic
#C8C74A #4AC888 #4A4BC8 #C84A8A
square
#C8C74A #4AC888 #4A4BC8 #C84A8A
split-complementary
#C8C74A #4A8AC8 #884AC8
monochromatic
#747423 #A3A232 #C8C74A #D6D679 #E5E4A8

Accessibility & contrast

On white

1.79
#C8C74A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.72
#C8C74A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8C74A
11.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8C74A#FFFFFF#000000##000000
##C8C74A1.001.7911.7211.72
#FFFFFF1.791.0021.0021.00
#00000011.7221.001.001.00
##00000011.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6BF3A
Deuteranopia (green-blind)
#D8C452
Tritanopia (blue-blind)
#D6BBAD
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #c8c74a;
/* rgb */ color: rgb(200, 199, 74);
/* oklch */ color: oklch(80.7% 0.145 108.8);
Tailwind
colors: {
  custom: {
    50: '#dcd782',
    500: '#c8c74a',
    950: '#000000',
  },
}
SCSS
$custom: #c8c74a;
$custom-light: #dcd782;
$custom-dark: #000000;
JSON
{
  "hex": "#c8c74a",
  "rgb": {
    "r": 200,
    "g": 199,
    "b": 74
  },
  "hsl": {
    "h": 59.524,
    "s": 53.39,
    "l": 53.725
  },
  "oklch": {
    "l": 0.8072,
    "c": 0.14497,
    "h": 108.8
  },
  "luminance": 0.53621
}

Semantic roles & 50–950 ramp

primary
#C8C74A
secondary
#393A7D
accent
#4CDD4B
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140B
muted
#84837E

Preview Lab

Preview with #C8C74A

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

Preview Lab → · Contrast checker → · Palette generator →

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