#C8AF47#C8AF47

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

Color values

HEX#C8AF47
RGBrgb(200, 175, 71)
HSLhsl(48, 54%, 53%)
HSVhsv(48, 65%, 78%)
CMYKcmyk(0%, 12.5%, 64.5%, 21.6%)
CIE-LABlab(71.82, -2.95, 54.96)
CIE-LCHlch(71.82, 55.04, 93.08°)
OKLaboklab(75.61% -0.0124 0.125)
OKLCHoklch(75.61% 0.126 95.7)
XYZxyz(40.2886, 43.3962, 12.2142)
Luminance0.4339 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8AF47 #4760C8
analogous
#C86E47 #C8AF47 #A0C847
triadic
#C8AF47 #47C8AF #AF47C8
tetradic
#C8AF47 #47C86E #4760C8 #C847A0
square
#C8AF47 #47C86E #4760C8 #C847A0
split-complementary
#C8AF47 #47A0C8 #6E47C8
monochromatic
#726322 #A28C30 #C8AF47 #D6C376 #E4D8A5

Accessibility & contrast

On white

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

On black

9.68
#C8AF47 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8AF47
9.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8AF47#FFFFFF#000000##000000
##C8AF471.002.179.689.68
#FFFFFF2.171.0021.0021.00
#0000009.6821.001.001.00
##0000009.6821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c8af47;
/* rgb */ color: rgb(200, 175, 71);
/* oklch */ color: oklch(75.6% 0.126 95.7);
Tailwind
colors: {
  custom: {
    50: '#dcc67f',
    500: '#c8af47',
    950: '#000000',
  },
}
SCSS
$custom: #c8af47;
$custom-light: #dcc67f;
$custom-dark: #000000;
JSON
{
  "hex": "#c8af47",
  "rgb": {
    "r": 200,
    "g": 175,
    "b": 71
  },
  "hsl": {
    "h": 48.372,
    "s": 53.975,
    "l": 53.137
  },
  "oklch": {
    "l": 0.75613,
    "c": 0.12565,
    "h": 95.7
  },
  "luminance": 0.43394
}

Semantic roles & 50–950 ramp

primary
#C8AF47
secondary
#9AA4D1
accent
#67DD4A
background
#FDFCF7
surface
#FBF8EE
border
#D4D1C9
text
#15130A
muted
#83827C

Preview Lab

Preview with #C8AF47

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

Preview Lab → · Contrast checker → · Palette generator →

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