#C8C846#C8C846

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

Color values

HEX#C8C846
RGBrgb(200, 200, 70)
HSLhsl(60, 54%, 53%)
HSVhsv(60, 65%, 78%)
CMYKcmyk(0%, 0%, 65%, 21.6%)
CIE-LABlab(78.48, -15.87, 62.38)
CIE-LCHlch(78.48, 64.37, 104.28°)
OKLaboklab(80.9% -0.0493 0.1406)
OKLCHoklch(80.9% 0.149 109.3)
XYZxyz(45.5807, 54.0314, 13.8212)
Luminance0.5403 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8C846 #4646C8
analogous
#C88746 #C8C846 #87C846
triadic
#C8C846 #46C8C8 #C846C8
tetradic
#C8C846 #46C887 #4646C8 #C84687
square
#C8C846 #46C887 #4646C8 #C84687
split-complementary
#C8C846 #4687C8 #8746C8
monochromatic
#727222 #A1A130 #C8C846 #D6D675 #E4E4A4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C8C846#FFFFFF#000000##000000
##C8C8461.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)
#D8C034
Deuteranopia (green-blind)
#D9C44F
Tritanopia (blue-blind)
#D6BCAE
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #c8c846;
/* rgb */ color: rgb(200, 200, 70);
/* oklch */ color: oklch(80.9% 0.149 109.3);
Tailwind
colors: {
  custom: {
    50: '#dcd880',
    500: '#c8c846',
    950: '#000000',
  },
}
SCSS
$custom: #c8c846;
$custom-light: #dcd880;
$custom-dark: #000000;
JSON
{
  "hex": "#c8c846",
  "rgb": {
    "r": 200,
    "g": 200,
    "b": 70
  },
  "hsl": {
    "h": 60,
    "s": 54.167,
    "l": 52.941
  },
  "oklch": {
    "l": 0.80902,
    "c": 0.14894,
    "h": 109.3
  },
  "luminance": 0.5403
}

Semantic roles & 50–950 ramp

primary
#C8C846
secondary
#37377B
accent
#4ADE4A
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140B
muted
#84837E

Preview Lab

Preview with #C8C846

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

Preview Lab → · Contrast checker → · Palette generator →

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