#C8B64E#C8B64E

#C8B64E is a light, vivid yellow. Relative luminance 0.463; OKLCH L 77.1% C 0.126 H 99.5°. Best body text is #000000 at 10.26:1 contrast (WCAG AA passes).

Color values

HEX#C8B64E
RGBrgb(200, 182, 78)
HSLhsl(51, 53%, 55%)
HSVhsv(51, 61%, 78%)
CMYKcmyk(0%, 9%, 61%, 21.6%)
CIE-LABlab(73.73, -6.16, 53.93)
CIE-LCHlch(73.73, 54.28, 96.52°)
OKLaboklab(77.15% -0.0208 0.1238)
OKLCHoklch(77.15% 0.126 99.5)
XYZxyz(41.9242, 46.2871, 13.9322)
Luminance0.4628 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8B64E #4E60C8
analogous
#C8794E #C8B64E #9DC84E
triadic
#C8B64E #4EC8B6 #B64EC8
tetradic
#C8B64E #4EC879 #4E60C8 #C84E9D
square
#C8B64E #4EC879 #4E60C8 #C84E9D
split-complementary
#C8B64E #4E9DC8 #794EC8
monochromatic
#776B25 #A59533 #C8B64E #D7C97D #E5DDAB

Accessibility & contrast

On white

2.05
#C8B64E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.26
#C8B64E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8B64E
10.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8B64E#FFFFFF#000000##000000
##C8B64E1.002.0510.2610.26
#FFFFFF2.051.0021.0021.00
#00000010.2621.001.001.00
##00000010.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6B143
Deuteranopia (green-blind)
#CBB853
Tritanopia (blue-blind)
#D6AAA0
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #c8b64e;
/* rgb */ color: rgb(200, 182, 78);
/* oklch */ color: oklch(77.1% 0.126 99.5);
Tailwind
colors: {
  custom: {
    50: '#dccb84',
    500: '#c8b64e',
    950: '#000000',
  },
}
SCSS
$custom: #c8b64e;
$custom-light: #dccb84;
$custom-dark: #000000;
JSON
{
  "hex": "#c8b64e",
  "rgb": {
    "r": 200,
    "g": 182,
    "b": 78
  },
  "hsl": {
    "h": 51.148,
    "s": 52.586,
    "l": 54.51
  },
  "oklch": {
    "l": 0.77145,
    "c": 0.12557,
    "h": 99.5
  },
  "luminance": 0.46285
}

Semantic roles & 50–950 ramp

primary
#C8B64E
secondary
#9FA7D3
accent
#61DC4C
background
#FDFCF8
surface
#FBF8EF
border
#D4D1CA
text
#15130B
muted
#83827C

Preview Lab

Preview with #C8B64E

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

Preview Lab → · Contrast checker → · Palette generator →

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