#C8C52D#C8C52D

#C8C52D is a light, vivid yellow. Relative luminance 0.524; OKLCH L 80.1% C 0.161 H 108.4°. Best body text is #000000 at 11.48:1 contrast (WCAG AA passes).

Color values

HEX#C8C52D
RGBrgb(200, 197, 45)
HSLhsl(59, 63%, 48%)
HSVhsv(59, 78%, 78%)
CMYKcmyk(0%, 1.5%, 77.5%, 21.6%)
CIE-LABlab(77.52, -15.55, 70.22)
CIE-LCHlch(77.52, 71.92, 102.49°)
OKLaboklab(80.09% -0.0507 0.1528)
OKLCHoklch(80.09% 0.161 108.4)
XYZxyz(44.2611, 52.4028, 10.2654)
Luminance0.5240 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8C52D #2D30C8
analogous
#C8782D #C8C52D #7DC82D
triadic
#C8C52D #2DC8C5 #C52DC8
tetradic
#C8C52D #2DC878 #2D30C8 #C82D7D
square
#C8C52D #2DC878 #2D30C8 #C82D7D
split-complementary
#C8C52D #2D7DC8 #782DC8
monochromatic
#646317 #969422 #C8C52D #DAD759 #E5E38B

Accessibility & contrast

On white

1.83
#C8C52D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.48
#C8C52D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8C52D
11.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8C52D#FFFFFF#000000##000000
##C8C52D1.001.8311.4811.48
#FFFFFF1.831.0021.0021.00
#00000011.4821.001.001.00
##00000011.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6BD00
Deuteranopia (green-blind)
#D8C23A
Tritanopia (blue-blind)
#D7B8A9
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #c8c52d;
/* rgb */ color: rgb(200, 197, 45);
/* oklch */ color: oklch(80.1% 0.161 108.4);
Tailwind
colors: {
  custom: {
    50: '#ddd673',
    500: '#c8c52d',
    950: '#000000',
  },
}
SCSS
$custom: #c8c52d;
$custom-light: #ddd673;
$custom-dark: #000000;
JSON
{
  "hex": "#c8c52d",
  "rgb": {
    "r": 200,
    "g": 197,
    "b": 45
  },
  "hsl": {
    "h": 58.839,
    "s": 63.265,
    "l": 48.039
  },
  "oklch": {
    "l": 0.80089,
    "c": 0.161,
    "h": 108.4
  },
  "luminance": 0.52401
}

Semantic roles & 50–950 ramp

primary
#C8C52D
secondary
#2B2C6F
accent
#45E641
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#161409
muted
#84837D

Preview Lab

Preview with #C8C52D

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

Preview Lab → · Contrast checker → · Palette generator →

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