#C8AF54#C8AF54

#C8AF54 is a light, moderate yellow. Relative luminance 0.436; OKLCH L 75.8% C 0.115 H 94.1°. Best body text is #000000 at 9.72:1 contrast (WCAG AA passes).

Color values

HEX#C8AF54
RGBrgb(200, 175, 84)
HSLhsl(47, 51%, 56%)
HSVhsv(47, 58%, 78%)
CMYKcmyk(0%, 12.5%, 58%, 21.6%)
CIE-LABlab(71.95, -2.06, 49.15)
CIE-LCHlch(71.95, 49.19, 92.40°)
OKLaboklab(75.75% -0.0083 0.1144)
OKLCHoklch(75.75% 0.115 94.1)
XYZxyz(40.7513, 43.5813, 14.6513)
Luminance0.4358 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8AF54 #546DC8
analogous
#C87554 #C8AF54 #A7C854
triadic
#C8AF54 #54C8AF #AF54C8
tetradic
#C8AF54 #54C875 #546DC8 #C854A7
square
#C8AF54 #54C875 #546DC8 #C854A7
split-complementary
#C8AF54 #54A7C8 #7554C8
monochromatic
#7A6827 #A99036 #C8AF54 #D7C582 #E6DAB1

Accessibility & contrast

On white

2.16
#C8AF54 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.72
#C8AF54 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8AF54
9.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8AF54#FFFFFF#000000##000000
##C8AF541.002.169.729.72
#FFFFFF2.161.0021.0021.00
#0000009.7221.001.001.00
##0000009.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFAC4B
Deuteranopia (green-blind)
#C5B458
Tritanopia (blue-blind)
#D7A39B
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #c8af54;
/* rgb */ color: rgb(200, 175, 84);
/* oklch */ color: oklch(75.8% 0.115 94.1);
Tailwind
colors: {
  custom: {
    50: '#dbc687',
    500: '#c8af54',
    950: '#000000',
  },
}
SCSS
$custom: #c8af54;
$custom-light: #dbc687;
$custom-dark: #000000;
JSON
{
  "hex": "#c8af54",
  "rgb": {
    "r": 200,
    "g": 175,
    "b": 84
  },
  "hsl": {
    "h": 47.069,
    "s": 51.327,
    "l": 55.686
  },
  "oklch": {
    "l": 0.75752,
    "c": 0.11465,
    "h": 94.1
  },
  "luminance": 0.43579
}

Semantic roles & 50–950 ramp

primary
#C8AF54
secondary
#A4AED4
accent
#6CDB4D
background
#FDFCF8
surface
#FBF8F0
border
#D4D1CB
text
#15130B
muted
#83827C

Preview Lab

Preview with #C8AF54

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

Preview Lab → · Contrast checker → · Palette generator →

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