#C8C748#C8C748

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

Color values

HEX#C8C748
RGBrgb(200, 199, 72)
HSLhsl(60, 54%, 53%)
HSVhsv(60, 64%, 78%)
CMYKcmyk(0%, 0.5%, 64%, 21.6%)
CIE-LABlab(78.23, -15.25, 61.31)
CIE-LCHlch(78.23, 63.18, 103.97°)
OKLaboklab(80.7% -0.0473 0.1386)
OKLCHoklch(80.7% 0.146 108.8)
XYZxyz(45.4140, 53.5954, 14.0823)
Luminance0.5359 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8C748 #4849C8
analogous
#C88748 #C8C748 #89C848
triadic
#C8C748 #48C8C7 #C748C8
tetradic
#C8C748 #48C887 #4849C8 #C84889
square
#C8C748 #48C887 #4849C8 #C84889
split-complementary
#C8C748 #4889C8 #8748C8
monochromatic
#737223 #A2A131 #C8C748 #D6D577 #E4E4A6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C8C748#FFFFFF#000000##000000
##C8C7481.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)
#D6BF37
Deuteranopia (green-blind)
#D8C450
Tritanopia (blue-blind)
#D6BBAD
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #c8c748;
/* rgb */ color: rgb(200, 199, 72);
/* oklch */ color: oklch(80.7% 0.146 108.8);
Tailwind
colors: {
  custom: {
    50: '#dcd781',
    500: '#c8c748',
    950: '#000000',
  },
}
SCSS
$custom: #c8c748;
$custom-light: #dcd781;
$custom-dark: #000000;
JSON
{
  "hex": "#c8c748",
  "rgb": {
    "r": 200,
    "g": 199,
    "b": 72
  },
  "hsl": {
    "h": 59.531,
    "s": 53.782,
    "l": 53.333
  },
  "oklch": {
    "l": 0.80703,
    "c": 0.14647,
    "h": 108.8
  },
  "luminance": 0.53594
}

Semantic roles & 50–950 ramp

primary
#C8C748
secondary
#38397C
accent
#4CDD4B
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140B
muted
#84837E

Preview Lab

Preview with #C8C748

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

Preview Lab → · Contrast checker → · Palette generator →

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