#C6AB42#C6AB42

#C6AB42 is a light, vivid yellow. Relative luminance 0.415; OKLCH L 74.5% C 0.126 H 94.6°. Best body text is #000000 at 9.31:1 contrast (WCAG AA passes).

Color values

HEX#C6AB42
RGBrgb(198, 171, 66)
HSLhsl(48, 54%, 52%)
HSVhsv(48, 67%, 78%)
CMYKcmyk(0%, 13.6%, 66.7%, 22.4%)
CIE-LABlab(70.54, -2.01, 55.72)
CIE-LCHlch(70.54, 55.75, 92.06°)
OKLaboklab(74.54% -0.0102 0.1259)
OKLCHoklch(74.54% 0.126 94.6)
XYZxyz(38.8369, 41.5270, 11.1231)
Luminance0.4153 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C6AB42 #425DC6
analogous
#C66942 #C6AB42 #9FC642
triadic
#C6AB42 #42C6AB #AB42C6
tetradic
#C6AB42 #42C669 #425DC6 #C6429F
square
#C6AB42 #42C669 #425DC6 #C6429F
split-complementary
#C6AB42 #429FC6 #6942C6
monochromatic
#6D5D21 #9C862F #C6AB42 #D4C071 #E2D5A0

Accessibility & contrast

On white

2.26
#C6AB42 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.31
#C6AB42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C6AB42
9.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C6AB42#FFFFFF#000000##000000
##C6AB421.002.269.319.31
#FFFFFF2.261.0021.0021.00
#0000009.3121.001.001.00
##0000009.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA835
Deuteranopia (green-blind)
#C3B047
Tritanopia (blue-blind)
#D59E95
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #c6ab42;
/* rgb */ color: rgb(198, 171, 66);
/* oklch */ color: oklch(74.5% 0.126 94.6);
Tailwind
colors: {
  custom: {
    50: '#dbc37b',
    500: '#c6ab42',
    950: '#000000',
  },
}
SCSS
$custom: #c6ab42;
$custom-light: #dbc37b;
$custom-dark: #000000;
JSON
{
  "hex": "#c6ab42",
  "rgb": {
    "r": 198,
    "g": 171,
    "b": 66
  },
  "hsl": {
    "h": 47.727,
    "s": 53.659,
    "l": 51.765
  },
  "oklch": {
    "l": 0.74544,
    "c": 0.12632,
    "h": 94.6
  },
  "luminance": 0.41525
}

Semantic roles & 50–950 ramp

primary
#C6AB42
secondary
#95A1CF
accent
#69DD4B
background
#FDFBF7
surface
#FBF7EE
border
#D4D0C9
text
#15120A
muted
#83817C

Preview Lab

Preview with #C6AB42

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

Preview Lab → · Contrast checker → · Palette generator →

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