#C8B84A#C8B84A

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

Color values

HEX#C8B84A
RGBrgb(200, 184, 74)
HSLhsl(52, 53%, 54%)
HSVhsv(52, 63%, 78%)
CMYKcmyk(0%, 8%, 63%, 21.6%)
CIE-LABlab(74.23, -7.47, 56.24)
CIE-LCHlch(74.23, 56.73, 97.57°)
OKLaboklab(77.53% -0.025 0.1282)
OKLCHoklch(77.53% 0.131 101)
XYZxyz(42.1976, 47.0565, 13.3373)
Luminance0.4706 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8B84A #4A5AC8
analogous
#C8794A #C8B84A #99C84A
triadic
#C8B84A #4AC8B8 #B84AC8
tetradic
#C8B84A #4AC879 #4A5AC8 #C84A99
square
#C8B84A #4AC879 #4A5AC8 #C84A99
split-complementary
#C8B84A #4A99C8 #794AC8
monochromatic
#746A23 #A39532 #C8B84A #D6CA79 #E5DDA8

Accessibility & contrast

On white

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

On black

10.41
#C8B84A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8B84A
10.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8B84A#FFFFFF#000000##000000
##C8B84A1.002.0210.4110.41
#FFFFFF2.021.0021.0021.00
#00000010.4121.001.001.00
##00000010.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B33D
Deuteranopia (green-blind)
#CDB950
Tritanopia (blue-blind)
#D7ACA1
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #c8b84a;
/* rgb */ color: rgb(200, 184, 74);
/* oklch */ color: oklch(77.5% 0.131 101.0);
Tailwind
colors: {
  custom: {
    50: '#dccd81',
    500: '#c8b84a',
    950: '#000000',
  },
}
SCSS
$custom: #c8b84a;
$custom-light: #dccd81;
$custom-dark: #000000;
JSON
{
  "hex": "#c8b84a",
  "rgb": {
    "r": 200,
    "g": 184,
    "b": 74
  },
  "hsl": {
    "h": 52.381,
    "s": 53.39,
    "l": 53.725
  },
  "oklch": {
    "l": 0.77526,
    "c": 0.13059,
    "h": 101
  },
  "luminance": 0.47055
}

Semantic roles & 50–950 ramp

primary
#C8B84A
secondary
#9CA3D2
accent
#5EDD4B
background
#FDFCF8
surface
#FBF8EF
border
#D4D1CA
text
#15130B
muted
#83827C

Preview Lab

Preview with #C8B84A

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

Preview Lab → · Contrast checker → · Palette generator →

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