#C8C765#C8C765

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

Color values

HEX#C8C765
RGBrgb(200, 199, 101)
HSLhsl(59, 47%, 59%)
HSVhsv(59, 50%, 78%)
CMYKcmyk(0%, 0.5%, 49.5%, 21.6%)
CIE-LABlab(78.50, -13.09, 48.69)
CIE-LCHlch(78.50, 50.42, 105.04°)
OKLaboklab(81.01% -0.0381 0.1151)
OKLCHoklch(81.01% 0.121 108.3)
XYZxyz(46.5929, 54.0669, 20.2910)
Luminance0.5407 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8C765 #6566C8
analogous
#C89665 #C8C765 #98C865
triadic
#C8C765 #65C8C7 #C765C8
tetradic
#C8C765 #65C896 #6566C8 #C86598
square
#C8C765 #65C896 #6566C8 #C86598
split-complementary
#C8C765 #6598C8 #9665C8
monochromatic
#84832F #B1B03F #C8C765 #D8D792 #E8E8BF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C8C765#FFFFFF#000000##000000
##C8C7651.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)
#D5C05C
Deuteranopia (green-blind)
#D6C46A
Tritanopia (blue-blind)
#D4BCB1
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #c8c765;
/* rgb */ color: rgb(200, 199, 101);
/* oklch */ color: oklch(81.0% 0.121 108.3);
Tailwind
colors: {
  custom: {
    50: '#dbd793',
    500: '#c8c765',
    950: '#000000',
  },
}
SCSS
$custom: #c8c765;
$custom-light: #dbd793;
$custom-dark: #000000;
JSON
{
  "hex": "#c8c765",
  "rgb": {
    "r": 200,
    "g": 199,
    "b": 101
  },
  "hsl": {
    "h": 59.394,
    "s": 47.368,
    "l": 59.02
  },
  "oklch": {
    "l": 0.81011,
    "c": 0.12125,
    "h": 108.3
  },
  "luminance": 0.54066
}

Semantic roles & 50–950 ramp

primary
#C8C765
secondary
#46478B
accent
#52D751
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140D
muted
#84837F

Preview Lab

Preview with #C8C765

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

Preview Lab → · Contrast checker → · Palette generator →

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