#C6A331#C6A331

#C6A331 is a light, vivid yellow. Relative luminance 0.384; OKLCH L 72.8% C 0.133 H 91.0°. Best body text is #000000 at 8.68:1 contrast (WCAG AA passes).

Color values

HEX#C6A331
RGBrgb(198, 163, 49)
HSLhsl(46, 60%, 48%)
HSVhsv(46, 75%, 78%)
CMYKcmyk(0%, 17.7%, 75.3%, 22.4%)
CIE-LABlab(68.33, 1.39, 60.34)
CIE-LCHlch(68.33, 60.36, 88.68°)
OKLaboklab(72.76% -0.0024 0.1326)
OKLCHoklch(72.76% 0.133 91)
XYZxyz(36.9424, 38.4242, 8.3760)
Luminance0.3842 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C6A331 #3154C6
analogous
#C65831 #C6A331 #9EC631
triadic
#C6A331 #31C6A3 #A331C6
tetradic
#C6A331 #31C658 #3154C6 #C6319E
square
#C6A331 #31C658 #3154C6 #C6319E
split-complementary
#C6A331 #319EC6 #5831C6
monochromatic
#645219 #957B25 #C6A331 #D7BA5D #E3CF8E

Accessibility & contrast

On white

2.42
#C6A331 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.68
#C6A331 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C6A331
8.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C6A331#FFFFFF#000000##000000
##C6A3311.002.428.688.68
#FFFFFF2.421.0021.0021.00
#0000008.6821.001.001.00
##0000008.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A11D
Deuteranopia (green-blind)
#BEAB37
Tritanopia (blue-blind)
#D6958D
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #c6a331;
/* rgb */ color: rgb(198, 163, 49);
/* oklch */ color: oklch(72.8% 0.133 91.0);
Tailwind
colors: {
  custom: {
    50: '#dcbd71',
    500: '#c6a331',
    950: '#000000',
  },
}
SCSS
$custom: #c6a331;
$custom-light: #dcbd71;
$custom-dark: #000000;
JSON
{
  "hex": "#c6a331",
  "rgb": {
    "r": 198,
    "g": 163,
    "b": 49
  },
  "hsl": {
    "h": 45.906,
    "s": 60.324,
    "l": 48.431
  },
  "oklch": {
    "l": 0.72759,
    "c": 0.13262,
    "h": 91
  },
  "luminance": 0.38422
}

Semantic roles & 50–950 ramp

primary
#C6A331
secondary
#8596CE
accent
#6AE344
background
#FEFBF7
surface
#FCF6ED
border
#D5D0C8
text
#161208
muted
#84817B

Preview Lab

Preview with #C6A331

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

Preview Lab → · Contrast checker → · Palette generator →

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