#C6AC3C#C6AC3C

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

Color values

HEX#C6AC3C
RGBrgb(198, 172, 60)
HSLhsl(49, 55%, 51%)
HSVhsv(49, 70%, 78%)
CMYKcmyk(0%, 13.1%, 69.7%, 22.4%)
CIE-LABlab(70.76, -2.87, 58.45)
CIE-LCHlch(70.76, 58.52, 92.81°)
OKLaboklab(74.7% -0.0133 0.1307)
OKLCHoklch(74.7% 0.131 95.8)
XYZxyz(38.8588, 41.8391, 10.3030)
Luminance0.4184 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C6AC3C #3C56C6
analogous
#C6673C #C6AC3C #9BC63C
triadic
#C6AC3C #3CC6AC #AC3CC6
tetradic
#C6AC3C #3CC667 #3C56C6 #C63C9B
square
#C6AC3C #3CC667 #3C56C6 #C63C9B
split-complementary
#C6AC3C #3C9BC6 #673CC6
monochromatic
#695B1F #98842D #C6AC3C #D4C06B #E2D49B

Accessibility & contrast

On white

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

On black

9.37
#C6AC3C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C6AC3C
9.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C6AC3C#FFFFFF#000000##000000
##C6AC3C1.002.249.379.37
#FFFFFF2.241.0021.0021.00
#0000009.3721.001.001.00
##0000009.3721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c6ac3c;
/* rgb */ color: rgb(198, 172, 60);
/* oklch */ color: oklch(74.7% 0.131 95.8);
Tailwind
colors: {
  custom: {
    50: '#dbc478',
    500: '#c6ac3c',
    950: '#000000',
  },
}
SCSS
$custom: #c6ac3c;
$custom-light: #dbc478;
$custom-dark: #000000;
JSON
{
  "hex": "#c6ac3c",
  "rgb": {
    "r": 198,
    "g": 172,
    "b": 60
  },
  "hsl": {
    "h": 48.696,
    "s": 54.762,
    "l": 50.588
  },
  "oklch": {
    "l": 0.747,
    "c": 0.13134,
    "h": 95.8
  },
  "luminance": 0.41837
}

Semantic roles & 50–950 ramp

primary
#C6AC3C
secondary
#909CCE
accent
#66DE4A
background
#FDFCF7
surface
#FBF8EE
border
#D4D1C9
text
#151209
muted
#83817B

Preview Lab

Preview with #C6AC3C

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

Preview Lab → · Contrast checker → · Palette generator →

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