#C8C048#C8C048

#C8C048 is a light, vivid yellow. Relative luminance 0.504; OKLCH L 79.2% C 0.140 H 105.5°. Best body text is #000000 at 11.09:1 contrast (WCAG AA passes).

Color values

HEX#C8C048
RGBrgb(200, 192, 72)
HSLhsl(56, 54%, 53%)
HSVhsv(56, 64%, 78%)
CMYKcmyk(0%, 4%, 64%, 21.6%)
CIE-LABlab(76.34, -11.71, 59.34)
CIE-LCHlch(76.34, 60.49, 101.16°)
OKLaboklab(79.2% -0.0373 0.1344)
OKLCHoklch(79.2% 0.14 105.5)
XYZxyz(43.8403, 50.4480, 13.5578)
Luminance0.5045 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8C048 #4850C8
analogous
#C88048 #C8C048 #90C848
triadic
#C8C048 #48C8C0 #C048C8
tetradic
#C8C048 #48C880 #4850C8 #C84890
square
#C8C048 #48C880 #4850C8 #C84890
split-complementary
#C8C048 #4890C8 #8048C8
monochromatic
#736E23 #A29B31 #C8C048 #D6D077 #E4E0A6

Accessibility & contrast

On white

1.89
#C8C048 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.09
#C8C048 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8C048
11.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8C048#FFFFFF#000000##000000
##C8C0481.001.8911.0911.09
#FFFFFF1.891.0021.0021.00
#00000011.0921.001.001.00
##00000011.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0B939
Deuteranopia (green-blind)
#D3BF4F
Tritanopia (blue-blind)
#D6B4A7
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #c8c048;
/* rgb */ color: rgb(200, 192, 72);
/* oklch */ color: oklch(79.2% 0.140 105.5);
Tailwind
colors: {
  custom: {
    50: '#dcd281',
    500: '#c8c048',
    950: '#000000',
  },
}
SCSS
$custom: #c8c048;
$custom-light: #dcd281;
$custom-dark: #000000;
JSON
{
  "hex": "#c8c048",
  "rgb": {
    "r": 200,
    "g": 192,
    "b": 72
  },
  "hsl": {
    "h": 56.25,
    "s": 53.782,
    "l": 53.333
  },
  "oklch": {
    "l": 0.79203,
    "c": 0.13953,
    "h": 105.5
  },
  "luminance": 0.50447
}

Semantic roles & 50–950 ramp

primary
#C8C048
secondary
#383C7C
accent
#54DD4B
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140B
muted
#84837E

Preview Lab

Preview with #C8C048

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

Preview Lab → · Contrast checker → · Palette generator →

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