#C6AE42#C6AE42

#C6AE42 is a light, vivid yellow. Relative luminance 0.427; OKLCH L 75.2% C 0.129 H 96.6°. Best body text is #000000 at 9.53:1 contrast (WCAG AA passes).

Color values

HEX#C6AE42
RGBrgb(198, 174, 66)
HSLhsl(49, 54%, 52%)
HSVhsv(49, 67%, 78%)
CMYKcmyk(0%, 12.1%, 66.7%, 22.4%)
CIE-LABlab(71.33, -3.59, 56.55)
CIE-LCHlch(71.33, 56.66, 93.63°)
OKLaboklab(75.17% -0.0147 0.1277)
OKLCHoklch(75.17% 0.129 96.6)
XYZxyz(39.4100, 42.6732, 11.3141)
Luminance0.4267 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C6AE42 #425AC6
analogous
#C66C42 #C6AE42 #9CC642
triadic
#C6AE42 #42C6AE #AE42C6
tetradic
#C6AE42 #42C66C #425AC6 #C6429C
square
#C6AE42 #42C66C #425AC6 #C6429C
split-complementary
#C6AE42 #429CC6 #6C42C6
monochromatic
#6D5F21 #9C882F #C6AE42 #D4C271 #E2D6A0

Accessibility & contrast

On white

2.20
#C6AE42 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.53
#C6AE42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C6AE42
9.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C6AE42#FFFFFF#000000##000000
##C6AE421.002.209.539.53
#FFFFFF2.201.0021.0021.00
#0000009.5321.001.001.00
##0000009.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFAA34
Deuteranopia (green-blind)
#C5B248
Tritanopia (blue-blind)
#D5A198
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #c6ae42;
/* rgb */ color: rgb(198, 174, 66);
/* oklch */ color: oklch(75.2% 0.129 96.6);
Tailwind
colors: {
  custom: {
    50: '#dbc57c',
    500: '#c6ae42',
    950: '#000000',
  },
}
SCSS
$custom: #c6ae42;
$custom-light: #dbc57c;
$custom-dark: #000000;
JSON
{
  "hex": "#c6ae42",
  "rgb": {
    "r": 198,
    "g": 174,
    "b": 66
  },
  "hsl": {
    "h": 49.091,
    "s": 53.659,
    "l": 51.765
  },
  "oklch": {
    "l": 0.75168,
    "c": 0.12851,
    "h": 96.6
  },
  "luminance": 0.42671
}

Semantic roles & 50–950 ramp

primary
#C6AE42
secondary
#959FCF
accent
#65DD4B
background
#FDFCF7
surface
#FBF8EE
border
#D4D1C9
text
#15120A
muted
#83817C

Preview Lab

Preview with #C6AE42

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

Preview Lab → · Contrast checker → · Palette generator →

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