#C8AF42#C8AF42

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

Color values

HEX#C8AF42
RGBrgb(200, 175, 66)
HSLhsl(49, 55%, 52%)
HSVhsv(49, 67%, 78%)
CMYKcmyk(0%, 12.5%, 67%, 21.6%)
CIE-LABlab(71.78, -3.25, 57.07)
CIE-LCHlch(71.78, 57.17, 93.26°)
OKLaboklab(75.57% -0.0139 0.1287)
OKLCHoklch(75.57% 0.129 96.2)
XYZxyz(40.1347, 43.3347, 11.4036)
Luminance0.4333 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8AF42 #425BC8
analogous
#C86C42 #C8AF42 #9EC842
triadic
#C8AF42 #42C8AF #AF42C8
tetradic
#C8AF42 #42C86C #425BC8 #C8429E
square
#C8AF42 #42C86C #425BC8 #C8429E
split-complementary
#C8AF42 #429EC8 #6C42C8
monochromatic
#6F6120 #9F8A2E #C8AF42 #D6C371 #E4D7A1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C8AF42#FFFFFF#000000##000000
##C8AF421.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)
#C0AB34
Deuteranopia (green-blind)
#C7B348
Tritanopia (blue-blind)
#D7A298
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #c8af42;
/* rgb */ color: rgb(200, 175, 66);
/* oklch */ color: oklch(75.6% 0.129 96.2);
Tailwind
colors: {
  custom: {
    50: '#dcc67c',
    500: '#c8af42',
    950: '#000000',
  },
}
SCSS
$custom: #c8af42;
$custom-light: #dcc67c;
$custom-dark: #000000;
JSON
{
  "hex": "#c8af42",
  "rgb": {
    "r": 200,
    "g": 175,
    "b": 66
  },
  "hsl": {
    "h": 48.806,
    "s": 54.918,
    "l": 52.157
  },
  "oklch": {
    "l": 0.75567,
    "c": 0.12946,
    "h": 96.2
  },
  "luminance": 0.43333
}

Semantic roles & 50–950 ramp

primary
#C8AF42
secondary
#96A1D0
accent
#65DE4A
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#15130A
muted
#84827C

Preview Lab

Preview with #C8AF42

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

Preview Lab → · Contrast checker → · Palette generator →

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