#C8B64A#C8B64A

#C8B64A is a light, vivid yellow. Relative luminance 0.462; OKLCH L 77.1% C 0.129 H 99.8°. Best body text is #000000 at 10.25:1 contrast (WCAG AA passes).

Color values

HEX#C8B64A
RGBrgb(200, 182, 74)
HSLhsl(51, 53%, 54%)
HSVhsv(51, 63%, 78%)
CMYKcmyk(0%, 9%, 63%, 21.6%)
CIE-LABlab(73.70, -6.43, 55.66)
CIE-LCHlch(73.70, 56.03, 96.59°)
OKLaboklab(77.11% -0.022 0.127)
OKLCHoklch(77.11% 0.129 99.8)
XYZxyz(41.7851, 46.2315, 13.1998)
Luminance0.4623 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8B64A #4A5CC8
analogous
#C8774A #C8B64A #9BC84A
triadic
#C8B64A #4AC8B6 #B64AC8
tetradic
#C8B64A #4AC877 #4A5CC8 #C84A9B
square
#C8B64A #4AC877 #4A5CC8 #C84A9B
split-complementary
#C8B64A #4A9BC8 #774AC8
monochromatic
#746923 #A39332 #C8B64A #D6C979 #E5DCA8

Accessibility & contrast

On white

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

On black

10.25
#C8B64A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8B64A
10.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8B64A#FFFFFF#000000##000000
##C8B64A1.002.0510.2510.25
#FFFFFF2.051.0021.0021.00
#00000010.2521.001.001.00
##00000010.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6B13D
Deuteranopia (green-blind)
#CBB850
Tritanopia (blue-blind)
#D7AA9F
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #c8b64a;
/* rgb */ color: rgb(200, 182, 74);
/* oklch */ color: oklch(77.1% 0.129 99.8);
Tailwind
colors: {
  custom: {
    50: '#dccb81',
    500: '#c8b64a',
    950: '#000000',
  },
}
SCSS
$custom: #c8b64a;
$custom-light: #dccb81;
$custom-dark: #000000;
JSON
{
  "hex": "#c8b64a",
  "rgb": {
    "r": 200,
    "g": 182,
    "b": 74
  },
  "hsl": {
    "h": 51.429,
    "s": 53.39,
    "l": 53.725
  },
  "oklch": {
    "l": 0.77105,
    "c": 0.12886,
    "h": 99.8
  },
  "luminance": 0.4623
}

Semantic roles & 50–950 ramp

primary
#C8B64A
secondary
#9CA4D2
accent
#60DD4B
background
#FDFCF8
surface
#FBF8EF
border
#D4D1CA
text
#15130B
muted
#83827C

Preview Lab

Preview with #C8B64A

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

Preview Lab → · Contrast checker → · Palette generator →

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