#C8C047#C8C047

#C8C047 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#C8C047
RGBrgb(200, 192, 71)
HSLhsl(56, 54%, 53%)
HSVhsv(56, 65%, 78%)
CMYKcmyk(0%, 4%, 64.5%, 21.6%)
CIE-LABlab(76.34, -11.77, 59.75)
CIE-LCHlch(76.34, 60.90, 101.15°)
OKLaboklab(79.2% -0.0376 0.1352)
OKLCHoklch(79.2% 0.14 105.5)
XYZxyz(43.8080, 50.4351, 13.3873)
Luminance0.5043 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8C047 #474FC8
analogous
#C87F47 #C8C047 #8FC847
triadic
#C8C047 #47C8C0 #C047C8
tetradic
#C8C047 #47C87F #474FC8 #C8478F
square
#C8C047 #47C87F #474FC8 #C8478F
split-complementary
#C8C047 #478FC8 #7F47C8
monochromatic
#726D22 #A29A30 #C8C047 #D6D076 #E4E0A5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C8C047#FFFFFF#000000##000000
##C8C0471.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)
#D0B937
Deuteranopia (green-blind)
#D3BF4E
Tritanopia (blue-blind)
#D6B4A7
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #c8c047;
/* rgb */ color: rgb(200, 192, 71);
/* oklch */ color: oklch(79.2% 0.140 105.5);
Tailwind
colors: {
  custom: {
    50: '#dcd280',
    500: '#c8c047',
    950: '#000000',
  },
}
SCSS
$custom: #c8c047;
$custom-light: #dcd280;
$custom-dark: #000000;
JSON
{
  "hex": "#c8c047",
  "rgb": {
    "r": 200,
    "g": 192,
    "b": 71
  },
  "hsl": {
    "h": 56.279,
    "s": 53.975,
    "l": 53.137
  },
  "oklch": {
    "l": 0.79195,
    "c": 0.14028,
    "h": 105.5
  },
  "luminance": 0.50434
}

Semantic roles & 50–950 ramp

primary
#C8C047
secondary
#383C7B
accent
#54DD4A
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140B
muted
#84837E

Preview Lab

Preview with #C8C047

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

Preview Lab → · Contrast checker → · Palette generator →

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