#C6AF3A#C6AF3A

#C6AF3A is a light, vivid yellow. Relative luminance 0.430; OKLCH L 75.3% C 0.135 H 97.8°. Best body text is #000000 at 9.59:1 contrast (WCAG AA passes).

Color values

HEX#C6AF3A
RGBrgb(198, 175, 58)
HSLhsl(50, 55%, 50%)
HSVhsv(50, 71%, 78%)
CMYKcmyk(0%, 11.6%, 70.7%, 22.4%)
CIE-LABlab(71.54, -4.55, 60.03)
CIE-LCHlch(71.54, 60.20, 94.34°)
OKLaboklab(75.31% -0.0184 0.1336)
OKLCHoklch(75.31% 0.135 97.8)
XYZxyz(39.3843, 42.9732, 10.2223)
Luminance0.4297 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C6AF3A #3A51C6
analogous
#C6693A #C6AF3A #97C63A
triadic
#C6AF3A #3AC6AF #AF3AC6
tetradic
#C6AF3A #3AC669 #3A51C6 #C63A97
square
#C6AF3A #3AC669 #3A51C6 #C63A97
split-complementary
#C6AF3A #3A97C6 #693AC6
monochromatic
#685C1E #97852C #C6AF3A #D4C269 #E1D699

Accessibility & contrast

On white

2.19
#C6AF3A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.59
#C6AF3A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C6AF3A
9.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C6AF3A#FFFFFF#000000##000000
##C6AF3A1.002.199.599.59
#FFFFFF2.191.0021.0021.00
#0000009.5921.001.001.00
##0000009.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0AB28
Deuteranopia (green-blind)
#C6B341
Tritanopia (blue-blind)
#D5A298
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #c6af3a;
/* rgb */ color: rgb(198, 175, 58);
/* oklch */ color: oklch(75.3% 0.135 97.8);
Tailwind
colors: {
  custom: {
    50: '#dbc677',
    500: '#c6af3a',
    950: '#000000',
  },
}
SCSS
$custom: #c6af3a;
$custom-light: #dbc677;
$custom-dark: #000000;
JSON
{
  "hex": "#c6af3a",
  "rgb": {
    "r": 198,
    "g": 175,
    "b": 58
  },
  "hsl": {
    "h": 50.143,
    "s": 55.118,
    "l": 50.196
  },
  "oklch": {
    "l": 0.75311,
    "c": 0.1349,
    "h": 97.8
  },
  "luminance": 0.42971
}

Semantic roles & 50–950 ramp

primary
#C6AF3A
secondary
#8F99CD
accent
#62DE49
background
#FDFCF7
surface
#FBF8EE
border
#D4D1C9
text
#151309
muted
#83827B

Preview Lab

Preview with #C6AF3A

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

Preview Lab → · Contrast checker → · Palette generator →

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