#C6A431#C6A431

#C6A431 is a light, vivid yellow. Relative luminance 0.388; OKLCH L 73.0% C 0.133 H 91.7°. Best body text is #000000 at 8.76:1 contrast (WCAG AA passes).

Color values

HEX#C6A431
RGBrgb(198, 164, 49)
HSLhsl(46, 60%, 48%)
HSVhsv(46, 75%, 78%)
CMYKcmyk(0%, 17.2%, 75.3%, 22.4%)
CIE-LABlab(68.59, 0.86, 60.59)
CIE-LCHlch(68.59, 60.59, 89.19°)
OKLaboklab(72.96% -0.0039 0.1331)
OKLCHoklch(72.96% 0.133 91.7)
XYZxyz(37.1206, 38.7807, 8.4354)
Luminance0.3878 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C6A431 #3153C6
analogous
#C65931 #C6A431 #9DC631
triadic
#C6A431 #31C6A4 #A431C6
tetradic
#C6A431 #31C659 #3153C6 #C6319D
square
#C6A431 #31C659 #3153C6 #C6319D
split-complementary
#C6A431 #319DC6 #5931C6
monochromatic
#645319 #957B25 #C6A431 #D7BB5D #E3D08E

Accessibility & contrast

On white

2.40
#C6A431 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.76
#C6A431 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C6A431
8.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C6A431#FFFFFF#000000##000000
##C6A4311.002.408.768.76
#FFFFFF2.401.0021.0021.00
#0000008.7621.001.001.00
##0000008.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A21D
Deuteranopia (green-blind)
#BFAB38
Tritanopia (blue-blind)
#D6968E
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #c6a431;
/* rgb */ color: rgb(198, 164, 49);
/* oklch */ color: oklch(73.0% 0.133 91.7);
Tailwind
colors: {
  custom: {
    50: '#dcbe71',
    500: '#c6a431',
    950: '#000000',
  },
}
SCSS
$custom: #c6a431;
$custom-light: #dcbe71;
$custom-dark: #000000;
JSON
{
  "hex": "#c6a431",
  "rgb": {
    "r": 198,
    "g": 164,
    "b": 49
  },
  "hsl": {
    "h": 46.309,
    "s": 60.324,
    "l": 48.431
  },
  "oklch": {
    "l": 0.72964,
    "c": 0.13318,
    "h": 91.7
  },
  "luminance": 0.38778
}

Semantic roles & 50–950 ramp

primary
#C6A431
secondary
#8596CE
accent
#69E344
background
#FEFBF7
surface
#FCF6ED
border
#D5D0C8
text
#161208
muted
#84817B

Preview Lab

Preview with #C6A431

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

Preview Lab → · Contrast checker → · Palette generator →

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