#C8AF45#C8AF45

#C8AF45 is a light, vivid yellow. Relative luminance 0.434; OKLCH L 75.6% C 0.127 H 95.9°. Best body text is #000000 at 9.67:1 contrast (WCAG AA passes).

Color values

HEX#C8AF45
RGBrgb(200, 175, 69)
HSLhsl(49, 54%, 53%)
HSVhsv(49, 66%, 78%)
CMYKcmyk(0%, 12.5%, 65.5%, 21.6%)
CIE-LABlab(71.81, -3.08, 55.82)
CIE-LCHlch(71.81, 55.90, 93.16°)
OKLaboklab(75.59% -0.013 0.1265)
OKLCHoklch(75.59% 0.127 95.9)
XYZxyz(40.2254, 43.3710, 11.8817)
Luminance0.4337 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8AF45 #455EC8
analogous
#C86E45 #C8AF45 #9FC845
triadic
#C8AF45 #45C8AF #AF45C8
tetradic
#C8AF45 #45C86E #455EC8 #C8459F
square
#C8AF45 #45C86E #455EC8 #C8459F
split-complementary
#C8AF45 #459FC8 #6E45C8
monochromatic
#716221 #A08B2F #C8AF45 #D6C374 #E4D8A3

Accessibility & contrast

On white

2.17
#C8AF45 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.67
#C8AF45 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8AF45
9.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8AF45#FFFFFF#000000##000000
##C8AF451.002.179.679.67
#FFFFFF2.171.0021.0021.00
#0000009.6721.001.001.00
##0000009.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0AB38
Deuteranopia (green-blind)
#C6B34A
Tritanopia (blue-blind)
#D7A299
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #c8af45;
/* rgb */ color: rgb(200, 175, 69);
/* oklch */ color: oklch(75.6% 0.127 95.9);
Tailwind
colors: {
  custom: {
    50: '#dcc67e',
    500: '#c8af45',
    950: '#000000',
  },
}
SCSS
$custom: #c8af45;
$custom-light: #dcc67e;
$custom-dark: #000000;
JSON
{
  "hex": "#c8af45",
  "rgb": {
    "r": 200,
    "g": 175,
    "b": 69
  },
  "hsl": {
    "h": 48.55,
    "s": 54.357,
    "l": 52.745
  },
  "oklch": {
    "l": 0.75594,
    "c": 0.1272,
    "h": 95.9
  },
  "luminance": 0.43369
}

Semantic roles & 50–950 ramp

primary
#C8AF45
secondary
#98A3D1
accent
#66DE4A
background
#FDFCF7
surface
#FBF8EE
border
#D4D1C9
text
#15130A
muted
#83827C

Preview Lab

Preview with #C8AF45

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

Preview Lab → · Contrast checker → · Palette generator →

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