#C6AE3A#C6AE3A

#C6AE3A is a light, vivid yellow. Relative luminance 0.426; OKLCH L 75.1% C 0.134 H 97.2°. Best body text is #000000 at 9.52:1 contrast (WCAG AA passes).

Color values

HEX#C6AE3A
RGBrgb(198, 174, 58)
HSLhsl(50, 55%, 50%)
HSVhsv(50, 71%, 78%)
CMYKcmyk(0%, 12.1%, 70.7%, 22.4%)
CIE-LABlab(71.27, -4.03, 59.76)
CIE-LCHlch(71.27, 59.90, 93.85°)
OKLaboklab(75.1% -0.0169 0.1331)
OKLCHoklch(75.1% 0.134 97.2)
XYZxyz(39.1904, 42.5853, 10.1577)
Luminance0.4258 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C6AE3A #3A52C6
analogous
#C6683A #C6AE3A #98C63A
triadic
#C6AE3A #3AC6AE #AE3AC6
tetradic
#C6AE3A #3AC668 #3A52C6 #C63A98
square
#C6AE3A #3AC668 #3A52C6 #C63A98
split-complementary
#C6AE3A #3A98C6 #683AC6
monochromatic
#685B1E #97852C #C6AE3A #D4C269 #E1D599

Accessibility & contrast

On white

2.21
#C6AE3A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.52
#C6AE3A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C6AE3A
9.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C6AE3A#FFFFFF#000000##000000
##C6AE3A1.002.219.529.52
#FFFFFF2.211.0021.0021.00
#0000009.5221.001.001.00
##0000009.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFAA29
Deuteranopia (green-blind)
#C6B241
Tritanopia (blue-blind)
#D6A197
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #c6ae3a;
/* rgb */ color: rgb(198, 174, 58);
/* oklch */ color: oklch(75.1% 0.134 97.2);
Tailwind
colors: {
  custom: {
    50: '#dbc577',
    500: '#c6ae3a',
    950: '#000000',
  },
}
SCSS
$custom: #c6ae3a;
$custom-light: #dbc577;
$custom-dark: #000000;
JSON
{
  "hex": "#c6ae3a",
  "rgb": {
    "r": 198,
    "g": 174,
    "b": 58
  },
  "hsl": {
    "h": 49.714,
    "s": 55.118,
    "l": 50.196
  },
  "oklch": {
    "l": 0.75102,
    "c": 0.13416,
    "h": 97.2
  },
  "luminance": 0.42583
}

Semantic roles & 50–950 ramp

primary
#C6AE3A
secondary
#8F99CD
accent
#63DE49
background
#FDFCF7
surface
#FBF8EE
border
#D4D1C9
text
#151209
muted
#83817B

Preview Lab

Preview with #C6AE3A

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

Preview Lab → · Contrast checker → · Palette generator →

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