#C6A539#C6A539

#C6A539 is a light, vivid yellow. Relative luminance 0.392; OKLCH L 73.2% C 0.129 H 91.6°. Best body text is #000000 at 8.84:1 contrast (WCAG AA passes).

Color values

HEX#C6A539
RGBrgb(198, 165, 57)
HSLhsl(46, 55%, 50%)
HSVhsv(46, 71%, 78%)
CMYKcmyk(0%, 16.7%, 71.2%, 22.4%)
CIE-LABlab(68.91, 0.70, 57.79)
CIE-LCHlch(68.91, 57.80, 89.31°)
OKLaboklab(73.23% -0.0035 0.1287)
OKLCHoklch(73.23% 0.129 91.6)
XYZxyz(37.4844, 39.2137, 9.4647)
Luminance0.3921 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C6A539 #395AC6
analogous
#C65E39 #C6A539 #A1C639
triadic
#C6A539 #39C6A5 #A539C6
tetradic
#C6A539 #39C65E #395AC6 #C639A1
square
#C6A539 #39C65E #395AC6 #C639A1
split-complementary
#C6A539 #39A1C6 #5E39C6
monochromatic
#67561E #967D2B #C6A539 #D4BB69 #E1D098

Accessibility & contrast

On white

2.37
#C6A539 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.84
#C6A539 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C6A539
8.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C6A539#FFFFFF#000000##000000
##C6A5391.002.378.848.84
#FFFFFF2.371.0021.0021.00
#0000008.8421.001.001.00
##0000008.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A32A
Deuteranopia (green-blind)
#BFAC3F
Tritanopia (blue-blind)
#D6988F
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #c6a539;
/* rgb */ color: rgb(198, 165, 57);
/* oklch */ color: oklch(73.2% 0.129 91.6);
Tailwind
colors: {
  custom: {
    50: '#dbbf76',
    500: '#c6a539',
    950: '#000000',
  },
}
SCSS
$custom: #c6a539;
$custom-light: #dbbf76;
$custom-dark: #000000;
JSON
{
  "hex": "#c6a539",
  "rgb": {
    "r": 198,
    "g": 165,
    "b": 57
  },
  "hsl": {
    "h": 45.957,
    "s": 55.294,
    "l": 50
  },
  "oklch": {
    "l": 0.73228,
    "c": 0.12879,
    "h": 91.6
  },
  "luminance": 0.39211
}

Semantic roles & 50–950 ramp

primary
#C6A539
secondary
#8E9DCD
accent
#6CDF49
background
#FEFBF7
surface
#FCF6ED
border
#D5D0C8
text
#151209
muted
#84817B

Preview Lab

Preview with #C6A539

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

Preview Lab → · Contrast checker → · Palette generator →

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