#C6AE40#C6AE40

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

Color values

HEX#C6AE40
RGBrgb(198, 174, 64)
HSLhsl(49, 54%, 51%)
HSVhsv(49, 68%, 78%)
CMYKcmyk(0%, 12.1%, 67.7%, 22.4%)
CIE-LABlab(71.32, -3.71, 57.37)
CIE-LCHlch(71.32, 57.49, 93.70°)
OKLaboklab(75.15% -0.0153 0.1291)
OKLCHoklch(75.15% 0.13 96.8)
XYZxyz(39.3520, 42.6500, 11.0090)
Luminance0.4265 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C6AE40 #4058C6
analogous
#C66B40 #C6AE40 #9BC640
triadic
#C6AE40 #40C6AE #AE40C6
tetradic
#C6AE40 #40C66B #4058C6 #C6409B
square
#C6AE40 #40C66B #4058C6 #C6409B
split-complementary
#C6AE40 #409BC6 #6B40C6
monochromatic
#6C5E20 #9B872E #C6AE40 #D4C26F #E2D69E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C6AE40#FFFFFF#000000##000000
##C6AE401.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)
#BFAA32
Deuteranopia (green-blind)
#C5B246
Tritanopia (blue-blind)
#D5A197
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #c6ae40;
/* rgb */ color: rgb(198, 174, 64);
/* oklch */ color: oklch(75.2% 0.130 96.8);
Tailwind
colors: {
  custom: {
    50: '#dbc57b',
    500: '#c6ae40',
    950: '#000000',
  },
}
SCSS
$custom: #c6ae40;
$custom-light: #dbc57b;
$custom-dark: #000000;
JSON
{
  "hex": "#c6ae40",
  "rgb": {
    "r": 198,
    "g": 174,
    "b": 64
  },
  "hsl": {
    "h": 49.254,
    "s": 54.032,
    "l": 51.373
  },
  "oklch": {
    "l": 0.75151,
    "c": 0.12998,
    "h": 96.8
  },
  "luminance": 0.42648
}

Semantic roles & 50–950 ramp

primary
#C6AE40
secondary
#939ECE
accent
#65DD4A
background
#FDFCF7
surface
#FBF8EE
border
#D4D1C9
text
#15120A
muted
#83817C

Preview Lab

Preview with #C6AE40

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

Preview Lab → · Contrast checker → · Palette generator →

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