#C6AC3F#C6AC3F

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

Color values

HEX#C6AC3F
RGBrgb(198, 172, 63)
HSLhsl(48, 54%, 51%)
HSVhsv(48, 68%, 78%)
CMYKcmyk(0%, 13.1%, 68.2%, 22.4%)
CIE-LABlab(70.78, -2.71, 57.24)
CIE-LCHlch(70.78, 57.30, 92.71°)
OKLaboklab(74.72% -0.0125 0.1286)
OKLCHoklch(74.72% 0.129 95.6)
XYZxyz(38.9403, 41.8717, 10.7326)
Luminance0.4187 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C6AC3F #3F59C6
analogous
#C6683F #C6AC3F #9DC63F
triadic
#C6AC3F #3FC6AC #AC3FC6
tetradic
#C6AC3F #3FC668 #3F59C6 #C63F9D
square
#C6AC3F #3FC668 #3F59C6 #C63F9D
split-complementary
#C6AC3F #3F9DC6 #683FC6
monochromatic
#6B5C20 #9A852E #C6AC3F #D4C06E #E2D59D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C6AC3F#FFFFFF#000000##000000
##C6AC3F1.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)
#BDA831
Deuteranopia (green-blind)
#C4B145
Tritanopia (blue-blind)
#D59F96
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #c6ac3f;
/* rgb */ color: rgb(198, 172, 63);
/* oklch */ color: oklch(74.7% 0.129 95.6);
Tailwind
colors: {
  custom: {
    50: '#dbc47a',
    500: '#c6ac3f',
    950: '#000000',
  },
}
SCSS
$custom: #c6ac3f;
$custom-light: #dbc47a;
$custom-dark: #000000;
JSON
{
  "hex": "#c6ac3f",
  "rgb": {
    "r": 198,
    "g": 172,
    "b": 63
  },
  "hsl": {
    "h": 48.444,
    "s": 54.217,
    "l": 51.176
  },
  "oklch": {
    "l": 0.74725,
    "c": 0.12923,
    "h": 95.6
  },
  "luminance": 0.4187
}

Semantic roles & 50–950 ramp

primary
#C6AC3F
secondary
#939ECE
accent
#67DE4A
background
#FDFCF7
surface
#FBF8EE
border
#D4D1C9
text
#151209
muted
#83817B

Preview Lab

Preview with #C6AC3F

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

Preview Lab → · Contrast checker → · Palette generator →

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