#C6AC3A#C6AC3A

#C6AC3A is a light, vivid yellow. Relative luminance 0.418; OKLCH L 74.7% C 0.133 H 96.0°. Best body text is #000000 at 9.36:1 contrast (WCAG AA passes).

Color values

HEX#C6AC3A
RGBrgb(198, 172, 58)
HSLhsl(49, 55%, 50%)
HSVhsv(49, 71%, 78%)
CMYKcmyk(0%, 13.1%, 70.7%, 22.4%)
CIE-LABlab(70.75, -2.97, 59.24)
CIE-LCHlch(70.75, 59.31, 92.87°)
OKLaboklab(74.68% -0.0139 0.132)
OKLCHoklch(74.68% 0.133 96)
XYZxyz(38.8069, 41.8183, 10.0299)
Luminance0.4182 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C6AC3A #3A54C6
analogous
#C6663A #C6AC3A #9AC63A
triadic
#C6AC3A #3AC6AC #AC3AC6
tetradic
#C6AC3A #3AC666 #3A54C6 #C63A9A
square
#C6AC3A #3AC666 #3A54C6 #C63A9A
split-complementary
#C6AC3A #3A9AC6 #663AC6
monochromatic
#685A1E #97832C #C6AC3A #D4C069 #E1D499

Accessibility & contrast

On white

2.24
#C6AC3A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.36
#C6AC3A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C6AC3A
9.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C6AC3A#FFFFFF#000000##000000
##C6AC3A1.002.249.369.36
#FFFFFF2.241.0021.0021.00
#0000009.3621.001.001.00
##0000009.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDA829
Deuteranopia (green-blind)
#C4B140
Tritanopia (blue-blind)
#D69F95
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #c6ac3a;
/* rgb */ color: rgb(198, 172, 58);
/* oklch */ color: oklch(74.7% 0.133 96.0);
Tailwind
colors: {
  custom: {
    50: '#dbc477',
    500: '#c6ac3a',
    950: '#000000',
  },
}
SCSS
$custom: #c6ac3a;
$custom-light: #dbc477;
$custom-dark: #000000;
JSON
{
  "hex": "#c6ac3a",
  "rgb": {
    "r": 198,
    "g": 172,
    "b": 58
  },
  "hsl": {
    "h": 48.857,
    "s": 55.118,
    "l": 50.196
  },
  "oklch": {
    "l": 0.74684,
    "c": 0.1327,
    "h": 96
  },
  "luminance": 0.41816
}

Semantic roles & 50–950 ramp

primary
#C6AC3A
secondary
#8F9ACD
accent
#65DE49
background
#FDFCF7
surface
#FBF8ED
border
#D4D1C8
text
#151209
muted
#83817B

Preview Lab

Preview with #C6AC3A

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

Preview Lab → · Contrast checker → · Palette generator →

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