#C8B84C#C8B84C

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

Color values

HEX#C8B84C
RGBrgb(200, 184, 76)
HSLhsl(52, 53%, 54%)
HSVhsv(52, 62%, 78%)
CMYKcmyk(0%, 8%, 62%, 21.6%)
CIE-LABlab(74.24, -7.34, 55.38)
CIE-LCHlch(74.24, 55.86, 97.55°)
OKLaboklab(77.55% -0.0244 0.1266)
OKLCHoklch(77.55% 0.129 100.9)
XYZxyz(42.2661, 47.0839, 13.6978)
Luminance0.4708 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8B84C #4C5CC8
analogous
#C87A4C #C8B84C #9AC84C
triadic
#C8B84C #4CC8B8 #B84CC8
tetradic
#C8B84C #4CC87A #4C5CC8 #C84C9A
square
#C8B84C #4CC87A #4C5CC8 #C84C9A
split-complementary
#C8B84C #4C9AC8 #7A4CC8
monochromatic
#756B24 #A49632 #C8B84C #D6CB7B #E5DDAA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C8B84C#FFFFFF#000000##000000
##C8B84C1.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)
#C8B340
Deuteranopia (green-blind)
#CDB952
Tritanopia (blue-blind)
#D6ACA1
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #c8b84c;
/* rgb */ color: rgb(200, 184, 76);
/* oklch */ color: oklch(77.5% 0.129 100.9);
Tailwind
colors: {
  custom: {
    50: '#dccd82',
    500: '#c8b84c',
    950: '#000000',
  },
}
SCSS
$custom: #c8b84c;
$custom-light: #dccd82;
$custom-dark: #000000;
JSON
{
  "hex": "#c8b84c",
  "rgb": {
    "r": 200,
    "g": 184,
    "b": 76
  },
  "hsl": {
    "h": 52.258,
    "s": 52.991,
    "l": 54.118
  },
  "oklch": {
    "l": 0.77545,
    "c": 0.12897,
    "h": 100.9
  },
  "luminance": 0.47082
}

Semantic roles & 50–950 ramp

primary
#C8B84C
secondary
#9EA4D2
accent
#5EDC4B
background
#FDFCF8
surface
#FBF8EF
border
#D4D1CA
text
#15130B
muted
#83827C

Preview Lab

Preview with #C8B84C

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

Preview Lab → · Contrast checker → · Palette generator →

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