#C8AF40#C8AF40

#C8AF40 is a light, vivid yellow. Relative luminance 0.433; OKLCH L 75.5% C 0.131 H 96.3°. Best body text is #000000 at 9.66:1 contrast (WCAG AA passes).

Color values

HEX#C8AF40
RGBrgb(200, 175, 64)
HSLhsl(49, 55%, 52%)
HSVhsv(49, 68%, 78%)
CMYKcmyk(0%, 12.5%, 68%, 21.6%)
CIE-LABlab(71.77, -3.37, 57.90)
CIE-LCHlch(71.77, 57.99, 93.33°)
OKLaboklab(75.55% -0.0144 0.1301)
OKLCHoklch(75.55% 0.131 96.3)
XYZxyz(40.0767, 43.3115, 11.0985)
Luminance0.4331 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8AF40 #4059C8
analogous
#C86B40 #C8AF40 #9DC840
triadic
#C8AF40 #40C8AF #AF40C8
tetradic
#C8AF40 #40C86B #4059C8 #C8409D
square
#C8AF40 #40C86B #4059C8 #C8409D
split-complementary
#C8AF40 #409DC8 #6B40C8
monochromatic
#6E6020 #9D892D #C8AF40 #D6C370 #E3D79F

Accessibility & contrast

On white

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

On black

9.66
#C8AF40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8AF40
9.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8AF40#FFFFFF#000000##000000
##C8AF401.002.179.669.66
#FFFFFF2.171.0021.0021.00
#0000009.6621.001.001.00
##0000009.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0AB31
Deuteranopia (green-blind)
#C7B346
Tritanopia (blue-blind)
#D7A298
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #c8af40;
/* rgb */ color: rgb(200, 175, 64);
/* oklch */ color: oklch(75.5% 0.131 96.3);
Tailwind
colors: {
  custom: {
    50: '#dcc67b',
    500: '#c8af40',
    950: '#000000',
  },
}
SCSS
$custom: #c8af40;
$custom-light: #dcc67b;
$custom-dark: #000000;
JSON
{
  "hex": "#c8af40",
  "rgb": {
    "r": 200,
    "g": 175,
    "b": 64
  },
  "hsl": {
    "h": 48.971,
    "s": 55.285,
    "l": 51.765
  },
  "oklch": {
    "l": 0.7555,
    "c": 0.13092,
    "h": 96.3
  },
  "luminance": 0.43309
}

Semantic roles & 50–950 ramp

primary
#C8AF40
secondary
#949FD0
accent
#65DF49
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#15130A
muted
#84827C

Preview Lab

Preview with #C8AF40

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

Preview Lab → · Contrast checker → · Palette generator →

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