#C6AA3C#C6AA3C

#C6AA3C is a light, vivid yellow. Relative luminance 0.411; OKLCH L 74.3% C 0.130 H 94.6°. Best body text is #000000 at 9.22:1 contrast (WCAG AA passes).

Color values

HEX#C6AA3C
RGBrgb(198, 170, 60)
HSLhsl(48, 55%, 51%)
HSVhsv(48, 70%, 78%)
CMYKcmyk(0%, 14.1%, 69.7%, 22.4%)
CIE-LABlab(70.23, -1.81, 57.92)
CIE-LCHlch(70.23, 57.94, 91.79°)
OKLaboklab(74.29% -0.0103 0.1295)
OKLCHoklch(74.29% 0.13 94.6)
XYZxyz(38.4810, 41.0835, 10.1771)
Luminance0.4108 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C6AA3C #3C58C6
analogous
#C6653C #C6AA3C #9DC63C
triadic
#C6AA3C #3CC6AA #AA3CC6
tetradic
#C6AA3C #3CC665 #3C58C6 #C63C9D
square
#C6AA3C #3CC665 #3C58C6 #C63C9D
split-complementary
#C6AA3C #3C9DC6 #653CC6
monochromatic
#695A1F #98822D #C6AA3C #D4BF6B #E2D39B

Accessibility & contrast

On white

2.28
#C6AA3C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.22
#C6AA3C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C6AA3C
9.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C6AA3C#FFFFFF#000000##000000
##C6AA3C1.002.289.229.22
#FFFFFF2.281.0021.0021.00
#0000009.2221.001.001.00
##0000009.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA72D
Deuteranopia (green-blind)
#C3AF42
Tritanopia (blue-blind)
#D69D94
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #c6aa3c;
/* rgb */ color: rgb(198, 170, 60);
/* oklch */ color: oklch(74.3% 0.130 94.6);
Tailwind
colors: {
  custom: {
    50: '#dbc278',
    500: '#c6aa3c',
    950: '#000000',
  },
}
SCSS
$custom: #c6aa3c;
$custom-light: #dbc278;
$custom-dark: #000000;
JSON
{
  "hex": "#c6aa3c",
  "rgb": {
    "r": 198,
    "g": 170,
    "b": 60
  },
  "hsl": {
    "h": 47.826,
    "s": 54.762,
    "l": 50.588
  },
  "oklch": {
    "l": 0.74285,
    "c": 0.12995,
    "h": 94.6
  },
  "luminance": 0.41081
}

Semantic roles & 50–950 ramp

primary
#C6AA3C
secondary
#909DCE
accent
#68DE4A
background
#FDFBF7
surface
#FBF7EE
border
#D4D0C9
text
#151209
muted
#83817B

Preview Lab

Preview with #C6AA3C

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

Preview Lab → · Contrast checker → · Palette generator →

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