#C8C652#C8C652

#C8C652 is a light, vivid yellow. Relative luminance 0.533; OKLCH L 80.6% C 0.138 H 108.2°. Best body text is #000000 at 11.66:1 contrast (WCAG AA passes).

Color values

HEX#C8C652
RGBrgb(200, 198, 82)
HSLhsl(59, 52%, 55%)
HSVhsv(59, 59%, 78%)
CMYKcmyk(0%, 1%, 59%, 21.6%)
CIE-LABlab(78.04, -14.10, 56.89)
CIE-LCHlch(78.04, 58.61, 103.92°)
OKLaboklab(80.58% -0.043 0.1307)
OKLCHoklch(80.58% 0.138 108.2)
XYZxyz(45.5379, 53.2780, 15.8659)
Luminance0.5328 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8C652 #5254C8
analogous
#C88B52 #C8C652 #8FC852
triadic
#C8C652 #52C8C6 #C652C8
tetradic
#C8C652 #52C88B #5254C8 #C8528F
square
#C8C652 #52C88B #5254C8 #C8528F
split-complementary
#C8C652 #528FC8 #8B52C8
monochromatic
#797827 #A8A635 #C8C652 #D7D580 #E6E5AF

Accessibility & contrast

On white

1.80
#C8C652 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.66
#C8C652 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8C652
11.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8C652#FFFFFF#000000##000000
##C8C6521.001.8011.6611.66
#FFFFFF1.801.0021.0021.00
#00000011.6621.001.001.00
##00000011.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5BF45
Deuteranopia (green-blind)
#D7C359
Tritanopia (blue-blind)
#D5BAAD
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #c8c652;
/* rgb */ color: rgb(200, 198, 82);
/* oklch */ color: oklch(80.6% 0.138 108.2);
Tailwind
colors: {
  custom: {
    50: '#dbd787',
    500: '#c8c652',
    950: '#000000',
  },
}
SCSS
$custom: #c8c652;
$custom-light: #dbd787;
$custom-dark: #000000;
JSON
{
  "hex": "#c8c652",
  "rgb": {
    "r": 200,
    "g": 198,
    "b": 82
  },
  "hsl": {
    "h": 58.983,
    "s": 51.754,
    "l": 55.294
  },
  "oklch": {
    "l": 0.80581,
    "c": 0.13755,
    "h": 108.2
  },
  "luminance": 0.53277
}

Semantic roles & 50–950 ramp

primary
#C8C652
secondary
#3D3E82
accent
#4FDB4D
background
#FEFEFC
surface
#FCFBF3
border
#D5D4CD
text
#15140C
muted
#84837F

Preview Lab

Preview with #C8C652

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

Preview Lab → · Contrast checker → · Palette generator →

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