#C8B845#C8B845

#C8B845 is a light, vivid yellow. Relative luminance 0.470; OKLCH L 77.5% C 0.134 H 101.3°. Best body text is #000000 at 10.40:1 contrast (WCAG AA passes).

Color values

HEX#C8B845
RGBrgb(200, 184, 69)
HSLhsl(53, 54%, 53%)
HSVhsv(53, 66%, 78%)
CMYKcmyk(0%, 8%, 65.5%, 21.6%)
CIE-LABlab(74.18, -7.78, 58.33)
CIE-LCHlch(74.18, 58.84, 97.60°)
OKLaboklab(77.48% -0.0264 0.1318)
OKLCHoklch(77.48% 0.134 101.3)
XYZxyz(42.0358, 46.9918, 12.4852)
Luminance0.4699 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8B845 #4555C8
analogous
#C87745 #C8B845 #96C845
triadic
#C8B845 #45C8B8 #B845C8
tetradic
#C8B845 #45C877 #4555C8 #C84596
square
#C8B845 #45C877 #4555C8 #C84596
split-complementary
#C8B845 #4596C8 #7745C8
monochromatic
#716721 #A0932F #C8B845 #D6CA74 #E4DCA3

Accessibility & contrast

On white

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

On black

10.40
#C8B845 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8B845
10.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8B845#FFFFFF#000000##000000
##C8B8451.002.0210.4010.40
#FFFFFF2.021.0021.0021.00
#00000010.4021.001.001.00
##00000010.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B336
Deuteranopia (green-blind)
#CDB94C
Tritanopia (blue-blind)
#D7ABA0
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #c8b845;
/* rgb */ color: rgb(200, 184, 69);
/* oklch */ color: oklch(77.5% 0.134 101.3);
Tailwind
colors: {
  custom: {
    50: '#dccd7e',
    500: '#c8b845',
    950: '#000000',
  },
}
SCSS
$custom: #c8b845;
$custom-light: #dccd7e;
$custom-dark: #000000;
JSON
{
  "hex": "#c8b845",
  "rgb": {
    "r": 200,
    "g": 184,
    "b": 69
  },
  "hsl": {
    "h": 52.672,
    "s": 54.357,
    "l": 52.745
  },
  "oklch": {
    "l": 0.77479,
    "c": 0.13447,
    "h": 101.3
  },
  "luminance": 0.4699
}

Semantic roles & 50–950 ramp

primary
#C8B845
secondary
#989FD1
accent
#5CDE4A
background
#FDFCF7
surface
#FBF8EE
border
#D4D1C9
text
#15130A
muted
#83827C

Preview Lab

Preview with #C8B845

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

Preview Lab → · Contrast checker → · Palette generator →

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