#C8AC3F#C8AC3F

#C8AC3F is a light, vivid yellow. Relative luminance 0.421; OKLCH L 74.9% C 0.129 H 94.5°. Best body text is #000000 at 9.43:1 contrast (WCAG AA passes).

Color values

HEX#C8AC3F
RGBrgb(200, 172, 63)
HSLhsl(48, 55%, 52%)
HSVhsv(48, 69%, 78%)
CMYKcmyk(0%, 14%, 68.5%, 21.6%)
CIE-LABlab(70.97, -1.84, 57.49)
CIE-LCHlch(70.97, 57.52, 91.83°)
OKLaboklab(74.92% -0.0102 0.1291)
OKLCHoklch(74.92% 0.129 94.5)
XYZxyz(39.4711, 42.1454, 10.7575)
Luminance0.4214 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8AC3F #3F5BC8
analogous
#C8683F #C8AC3F #A0C83F
triadic
#C8AC3F #3FC8AC #AC3FC8
tetradic
#C8AC3F #3FC868 #3F5BC8 #C83FA0
square
#C8AC3F #3FC868 #3F5BC8 #C83FA0
split-complementary
#C8AC3F #3FA0C8 #683FC8
monochromatic
#6D5D1F #9D862D #C8AC3F #D6C16F #E3D59E

Accessibility & contrast

On white

2.23
#C8AC3F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.43
#C8AC3F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8AC3F
9.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8AC3F#FFFFFF#000000##000000
##C8AC3F1.002.239.439.43
#FFFFFF2.231.0021.0021.00
#0000009.4321.001.001.00
##0000009.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEA931
Deuteranopia (green-blind)
#C5B145
Tritanopia (blue-blind)
#D89F96
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #c8ac3f;
/* rgb */ color: rgb(200, 172, 63);
/* oklch */ color: oklch(74.9% 0.129 94.5);
Tailwind
colors: {
  custom: {
    50: '#dcc47a',
    500: '#c8ac3f',
    950: '#000000',
  },
}
SCSS
$custom: #c8ac3f;
$custom-light: #dcc47a;
$custom-dark: #000000;
JSON
{
  "hex": "#c8ac3f",
  "rgb": {
    "r": 200,
    "g": 172,
    "b": 63
  },
  "hsl": {
    "h": 47.737,
    "s": 55.466,
    "l": 51.569
  },
  "oklch": {
    "l": 0.74919,
    "c": 0.12949,
    "h": 94.5
  },
  "luminance": 0.42143
}

Semantic roles & 50–950 ramp

primary
#C8AC3F
secondary
#93A0D0
accent
#68DF49
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#16120A
muted
#84817C

Preview Lab

Preview with #C8AC3F

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

Preview Lab → · Contrast checker → · Palette generator →

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