#C8A945#C8A945

#C8A945 is a light, vivid yellow. Relative luminance 0.411; OKLCH L 74.4% C 0.123 H 91.8°. Best body text is #000000 at 9.22:1 contrast (WCAG AA passes).

Color values

HEX#C8A945
RGBrgb(200, 169, 69)
HSLhsl(46, 54%, 53%)
HSVhsv(46, 66%, 78%)
CMYKcmyk(0%, 15.5%, 65.5%, 21.6%)
CIE-LABlab(70.24, 0.10, 54.14)
CIE-LCHlch(70.24, 54.14, 89.89°)
OKLaboklab(74.35% -0.0039 0.123)
OKLCHoklch(74.35% 0.123 91.8)
XYZxyz(39.0835, 41.0871, 11.5011)
Luminance0.4108 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8A945 #4564C8
analogous
#C86845 #C8A945 #A5C845
triadic
#C8A945 #45C8A9 #A945C8
tetradic
#C8A945 #45C868 #4564C8 #C845A5
square
#C8A945 #45C868 #4564C8 #C845A5
split-complementary
#C8A945 #45A5C8 #6845C8
monochromatic
#715E21 #A0862F #C8A945 #D6BF74 #E4D5A3

Accessibility & contrast

On white

2.28
#C8A945 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.22
#C8A945 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8A945
9.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8A945#FFFFFF#000000##000000
##C8A9451.002.289.229.22
#FFFFFF2.281.0021.0021.00
#0000009.2221.001.001.00
##0000009.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA739
Deuteranopia (green-blind)
#C2AF4A
Tritanopia (blue-blind)
#D89C94
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #c8a945;
/* rgb */ color: rgb(200, 169, 69);
/* oklch */ color: oklch(74.4% 0.123 91.8);
Tailwind
colors: {
  custom: {
    50: '#dcc27d',
    500: '#c8a945',
    950: '#000000',
  },
}
SCSS
$custom: #c8a945;
$custom-light: #dcc27d;
$custom-dark: #000000;
JSON
{
  "hex": "#c8a945",
  "rgb": {
    "r": 200,
    "g": 169,
    "b": 69
  },
  "hsl": {
    "h": 45.802,
    "s": 54.357,
    "l": 52.745
  },
  "oklch": {
    "l": 0.74354,
    "c": 0.12304,
    "h": 91.8
  },
  "luminance": 0.41085
}

Semantic roles & 50–950 ramp

primary
#C8A945
secondary
#98A5D1
accent
#6DDE4A
background
#FEFBF7
surface
#FCF7EE
border
#D5D0C9
text
#15120A
muted
#84817C

Preview Lab

Preview with #C8A945

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

Preview Lab → · Contrast checker → · Palette generator →

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