#C8C84A#C8C84A

#C8C84A is a light, vivid yellow. Relative luminance 0.541; OKLCH L 80.9% C 0.146 H 109.3°. Best body text is #000000 at 11.82:1 contrast (WCAG AA passes).

Color values

HEX#C8C84A
RGBrgb(200, 200, 74)
HSLhsl(60, 53%, 54%)
HSVhsv(60, 63%, 78%)
CMYKcmyk(0%, 0%, 63%, 21.6%)
CIE-LABlab(78.51, -15.63, 60.80)
CIE-LCHlch(78.51, 62.77, 104.42°)
OKLaboklab(80.94% -0.0482 0.1378)
OKLCHoklch(80.94% 0.146 109.3)
XYZxyz(45.7112, 54.0836, 14.5085)
Luminance0.5408 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8C84A #4A4AC8
analogous
#C8894A #C8C84A #89C84A
triadic
#C8C84A #4AC8C8 #C84AC8
tetradic
#C8C84A #4AC889 #4A4AC8 #C84A89
square
#C8C84A #4AC889 #4A4AC8 #C84A89
split-complementary
#C8C84A #4A89C8 #894AC8
monochromatic
#747423 #A3A332 #C8C84A #D6D679 #E5E5A8

Accessibility & contrast

On white

1.78
#C8C84A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.82
#C8C84A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8C84A
11.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8C84A#FFFFFF#000000##000000
##C8C84A1.001.7811.8211.82
#FFFFFF1.781.0021.0021.00
#00000011.8221.001.001.00
##00000011.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C03A
Deuteranopia (green-blind)
#D9C452
Tritanopia (blue-blind)
#D5BCAE
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #c8c84a;
/* rgb */ color: rgb(200, 200, 74);
/* oklch */ color: oklch(80.9% 0.146 109.3);
Tailwind
colors: {
  custom: {
    50: '#dcd882',
    500: '#c8c84a',
    950: '#000000',
  },
}
SCSS
$custom: #c8c84a;
$custom-light: #dcd882;
$custom-dark: #000000;
JSON
{
  "hex": "#c8c84a",
  "rgb": {
    "r": 200,
    "g": 200,
    "b": 74
  },
  "hsl": {
    "h": 60,
    "s": 53.39,
    "l": 53.725
  },
  "oklch": {
    "l": 0.80936,
    "c": 0.14599,
    "h": 109.3
  },
  "luminance": 0.54082
}

Semantic roles & 50–950 ramp

primary
#C8C84A
secondary
#39397D
accent
#4BDD4B
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140B
muted
#84837E

Preview Lab

Preview with #C8C84A

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

Preview Lab → · Contrast checker → · Palette generator →

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