#C8C848#C8C848

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

Color values

HEX#C8C848
RGBrgb(200, 200, 72)
HSLhsl(60, 54%, 53%)
HSVhsv(60, 64%, 78%)
CMYKcmyk(0%, 0%, 64%, 21.6%)
CIE-LABlab(78.50, -15.76, 61.60)
CIE-LCHlch(78.50, 63.58, 104.35°)
OKLaboklab(80.92% -0.0487 0.1392)
OKLCHoklch(80.92% 0.147 109.3)
XYZxyz(45.6449, 54.0571, 14.1593)
Luminance0.5406 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8C848 #4848C8
analogous
#C88848 #C8C848 #88C848
triadic
#C8C848 #48C8C8 #C848C8
tetradic
#C8C848 #48C888 #4848C8 #C84888
square
#C8C848 #48C888 #4848C8 #C84888
split-complementary
#C8C848 #4888C8 #8848C8
monochromatic
#737323 #A2A231 #C8C848 #D6D677 #E4E4A6

Accessibility & contrast

On white

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

On black

11.81
#C8C848 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8C848
11.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8C848#FFFFFF#000000##000000
##C8C8481.001.7811.8111.81
#FFFFFF1.781.0021.0021.00
#00000011.8121.001.001.00
##00000011.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C037
Deuteranopia (green-blind)
#D9C450
Tritanopia (blue-blind)
#D6BCAE
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #c8c848;
/* rgb */ color: rgb(200, 200, 72);
/* oklch */ color: oklch(80.9% 0.147 109.3);
Tailwind
colors: {
  custom: {
    50: '#dcd881',
    500: '#c8c848',
    950: '#000000',
  },
}
SCSS
$custom: #c8c848;
$custom-light: #dcd881;
$custom-dark: #000000;
JSON
{
  "hex": "#c8c848",
  "rgb": {
    "r": 200,
    "g": 200,
    "b": 72
  },
  "hsl": {
    "h": 60,
    "s": 53.782,
    "l": 53.333
  },
  "oklch": {
    "l": 0.80918,
    "c": 0.14749,
    "h": 109.3
  },
  "luminance": 0.54056
}

Semantic roles & 50–950 ramp

primary
#C8C848
secondary
#38387C
accent
#4BDD4B
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140B
muted
#84837E

Preview Lab

Preview with #C8C848

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

Preview Lab → · Contrast checker → · Palette generator →

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