#C8B84D#C8B84D

#C8B84D is a light, vivid yellow. Relative luminance 0.471; OKLCH L 77.6% C 0.128 H 100.8°. Best body text is #000000 at 10.42:1 contrast (WCAG AA passes).

Color values

HEX#C8B84D
RGBrgb(200, 184, 77)
HSLhsl(52, 53%, 54%)
HSVhsv(52, 62%, 78%)
CMYKcmyk(0%, 8%, 61.5%, 21.6%)
CIE-LABlab(74.25, -7.27, 54.95)
CIE-LCHlch(74.25, 55.43, 97.54°)
OKLaboklab(77.55% -0.0241 0.1259)
OKLCHoklch(77.55% 0.128 100.8)
XYZxyz(42.3011, 47.0979, 13.8823)
Luminance0.4710 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8B84D #4D5DC8
analogous
#C87B4D #C8B84D #9BC84D
triadic
#C8B84D #4DC8B8 #B84DC8
tetradic
#C8B84D #4DC87B #4D5DC8 #C84D9B
square
#C8B84D #4DC87B #4D5DC8 #C84D9B
split-complementary
#C8B84D #4D9BC8 #7B4DC8
monochromatic
#766B24 #A59633 #C8B84D #D6CB7C #E5DDAB

Accessibility & contrast

On white

2.02
#C8B84D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.42
#C8B84D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8B84D
10.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8B84D#FFFFFF#000000##000000
##C8B84D1.002.0210.4210.42
#FFFFFF2.021.0021.0021.00
#00000010.4221.001.001.00
##00000010.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B341
Deuteranopia (green-blind)
#CDB953
Tritanopia (blue-blind)
#D6ACA1
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #c8b84d;
/* rgb */ color: rgb(200, 184, 77);
/* oklch */ color: oklch(77.6% 0.128 100.8);
Tailwind
colors: {
  custom: {
    50: '#dccd83',
    500: '#c8b84d',
    950: '#000000',
  },
}
SCSS
$custom: #c8b84d;
$custom-light: #dccd83;
$custom-dark: #000000;
JSON
{
  "hex": "#c8b84d",
  "rgb": {
    "r": 200,
    "g": 184,
    "b": 77
  },
  "hsl": {
    "h": 52.195,
    "s": 52.79,
    "l": 54.314
  },
  "oklch": {
    "l": 0.77555,
    "c": 0.12814,
    "h": 100.8
  },
  "luminance": 0.47096
}

Semantic roles & 50–950 ramp

primary
#C8B84D
secondary
#9EA5D2
accent
#5EDC4C
background
#FDFCF8
surface
#FBF8EF
border
#D4D1CA
text
#15130B
muted
#83827C

Preview Lab

Preview with #C8B84D

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

Preview Lab → · Contrast checker → · Palette generator →

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