#C6AC25#C6AC25

#C6AC25 is a light, vivid yellow. Relative luminance 0.416; OKLCH L 74.6% C 0.144 H 97.3°. Best body text is #000000 at 9.33:1 contrast (WCAG AA passes).

Color values

HEX#C6AC25
RGBrgb(198, 172, 37)
HSLhsl(50, 69%, 46%)
HSVhsv(50, 81%, 78%)
CMYKcmyk(0%, 13.1%, 81.3%, 22.4%)
CIE-LABlab(70.63, -3.83, 66.41)
CIE-LCHlch(70.63, 66.52, 93.30°)
OKLaboklab(74.55% -0.0184 0.1432)
OKLCHoklch(74.55% 0.144 97.3)
XYZxyz(38.3772, 41.6465, 7.7671)
Luminance0.4164 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C6AC25 #253FC6
analogous
#C65C25 #C6AC25 #8FC625
triadic
#C6AC25 #25C6AC #AC25C6
tetradic
#C6AC25 #25C65C #253FC6 #C6258F
square
#C6AC25 #25C65C #253FC6 #C6258F
split-complementary
#C6AC25 #258FC6 #5C25C6
monochromatic
#5F5212 #927F1B #C6AC25 #DDC64B #E7D67E

Accessibility & contrast

On white

2.25
#C6AC25 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.33
#C6AC25 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C6AC25
9.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C6AC25#FFFFFF#000000##000000
##C6AC251.002.259.339.33
#FFFFFF2.251.0021.0021.00
#0000009.3321.001.001.00
##0000009.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEA800
Deuteranopia (green-blind)
#C5B02F
Tritanopia (blue-blind)
#D69E93
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #c6ac25;
/* rgb */ color: rgb(198, 172, 37);
/* oklch */ color: oklch(74.6% 0.144 97.3);
Tailwind
colors: {
  custom: {
    50: '#dcc46d',
    500: '#c6ac25',
    950: '#000000',
  },
}
SCSS
$custom: #c6ac25;
$custom-light: #dcc46d;
$custom-dark: #000000;
JSON
{
  "hex": "#c6ac25",
  "rgb": {
    "r": 198,
    "g": 172,
    "b": 37
  },
  "hsl": {
    "h": 50.311,
    "s": 68.511,
    "l": 46.078
  },
  "oklch": {
    "l": 0.74552,
    "c": 0.14435,
    "h": 97.3
  },
  "luminance": 0.41644
}

Semantic roles & 50–950 ramp

primary
#C6AC25
secondary
#7786CF
accent
#59EB3C
background
#FEFBF6
surface
#FCF7EC
border
#D5D0C7
text
#161208
muted
#84817B

Preview Lab

Preview with #C6AC25

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

Preview Lab → · Contrast checker → · Palette generator →

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