#C8AC3B#C8AC3B

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

Color values

HEX#C8AC3B
RGBrgb(200, 172, 59)
HSLhsl(48, 56%, 51%)
HSVhsv(48, 71%, 78%)
CMYKcmyk(0%, 14%, 70.5%, 21.6%)
CIE-LABlab(70.94, -2.05, 59.10)
CIE-LCHlch(70.94, 59.13, 91.99°)
OKLaboklab(74.89% -0.0112 0.1318)
OKLCHoklch(74.89% 0.132 94.9)
XYZxyz(39.3634, 42.1023, 10.1900)
Luminance0.4210 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8AC3B #3B57C8
analogous
#C8653B #C8AC3B #9DC83B
triadic
#C8AC3B #3BC8AC #AC3BC8
tetradic
#C8AC3B #3BC865 #3B57C8 #C83B9D
square
#C8AC3B #3BC865 #3B57C8 #C83B9D
split-complementary
#C8AC3B #3B9DC8 #653BC8
monochromatic
#6B5B1E #9A842B #C8AC3B #D5C06B #E3D49B

Accessibility & contrast

On white

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

On black

9.42
#C8AC3B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8AC3B
9.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8AC3B#FFFFFF#000000##000000
##C8AC3B1.002.239.429.42
#FFFFFF2.231.0021.0021.00
#0000009.4221.001.001.00
##0000009.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEA92B
Deuteranopia (green-blind)
#C5B141
Tritanopia (blue-blind)
#D89F95
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #c8ac3b;
/* rgb */ color: rgb(200, 172, 59);
/* oklch */ color: oklch(74.9% 0.132 94.9);
Tailwind
colors: {
  custom: {
    50: '#dcc478',
    500: '#c8ac3b',
    950: '#000000',
  },
}
SCSS
$custom: #c8ac3b;
$custom-light: #dcc478;
$custom-dark: #000000;
JSON
{
  "hex": "#c8ac3b",
  "rgb": {
    "r": 200,
    "g": 172,
    "b": 59
  },
  "hsl": {
    "h": 48.085,
    "s": 56.175,
    "l": 50.784
  },
  "oklch": {
    "l": 0.74886,
    "c": 0.13226,
    "h": 94.9
  },
  "luminance": 0.421
}

Semantic roles & 50–950 ramp

primary
#C8AC3B
secondary
#909DCF
accent
#66DF48
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#161209
muted
#84817B

Preview Lab

Preview with #C8AC3B

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

Preview Lab → · Contrast checker → · Palette generator →

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