#C6AB3C#C6AB3C

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

Color values

HEX#C6AB3C
RGBrgb(198, 171, 60)
HSLhsl(48, 55%, 51%)
HSVhsv(48, 70%, 78%)
CMYKcmyk(0%, 13.6%, 69.7%, 22.4%)
CIE-LABlab(70.50, -2.34, 58.18)
CIE-LCHlch(70.50, 58.23, 92.30°)
OKLaboklab(74.49% -0.0118 0.1301)
OKLCHoklch(74.49% 0.131 95.2)
XYZxyz(38.6692, 41.4599, 10.2398)
Luminance0.4146 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C6AB3C #3C57C6
analogous
#C6663C #C6AB3C #9CC63C
triadic
#C6AB3C #3CC6AB #AB3CC6
tetradic
#C6AB3C #3CC666 #3C57C6 #C63C9C
square
#C6AB3C #3CC666 #3C57C6 #C63C9C
split-complementary
#C6AB3C #3C9CC6 #663CC6
monochromatic
#695A1F #98832D #C6AB3C #D4BF6B #E2D49B

Accessibility & contrast

On white

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

On black

9.29
#C6AB3C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C6AB3C
9.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C6AB3C#FFFFFF#000000##000000
##C6AB3C1.002.269.299.29
#FFFFFF2.261.0021.0021.00
#0000009.2921.001.001.00
##0000009.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA82D
Deuteranopia (green-blind)
#C3B042
Tritanopia (blue-blind)
#D69E94
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #c6ab3c;
/* rgb */ color: rgb(198, 171, 60);
/* oklch */ color: oklch(74.5% 0.131 95.2);
Tailwind
colors: {
  custom: {
    50: '#dbc378',
    500: '#c6ab3c',
    950: '#000000',
  },
}
SCSS
$custom: #c6ab3c;
$custom-light: #dbc378;
$custom-dark: #000000;
JSON
{
  "hex": "#c6ab3c",
  "rgb": {
    "r": 198,
    "g": 171,
    "b": 60
  },
  "hsl": {
    "h": 48.261,
    "s": 54.762,
    "l": 50.588
  },
  "oklch": {
    "l": 0.74492,
    "c": 0.13064,
    "h": 95.2
  },
  "luminance": 0.41458
}

Semantic roles & 50–950 ramp

primary
#C6AB3C
secondary
#909CCE
accent
#67DE4A
background
#FDFBF7
surface
#FBF7EE
border
#D4D0C9
text
#151209
muted
#83817B

Preview Lab

Preview with #C6AB3C

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

Preview Lab → · Contrast checker → · Palette generator →

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