#C6AB3A#C6AB3A

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

Color values

HEX#C6AB3A
RGBrgb(198, 171, 58)
HSLhsl(48, 55%, 50%)
HSVhsv(48, 71%, 78%)
CMYKcmyk(0%, 13.6%, 70.7%, 22.4%)
CIE-LABlab(70.48, -2.44, 58.97)
CIE-LCHlch(70.48, 59.02, 92.37°)
OKLaboklab(74.48% -0.0124 0.1314)
OKLCHoklch(74.48% 0.132 95.4)
XYZxyz(38.6173, 41.4391, 9.9667)
Luminance0.4144 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C6AB3A #3A55C6
analogous
#C6653A #C6AB3A #9BC63A
triadic
#C6AB3A #3AC6AB #AB3AC6
tetradic
#C6AB3A #3AC665 #3A55C6 #C63A9B
square
#C6AB3A #3AC665 #3A55C6 #C63A9B
split-complementary
#C6AB3A #3A9BC6 #653AC6
monochromatic
#68591E #97822C #C6AB3A #D4BF69 #E1D399

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C6AB3A#FFFFFF#000000##000000
##C6AB3A1.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)
#BDA82A
Deuteranopia (green-blind)
#C3B040
Tritanopia (blue-blind)
#D69E94
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #c6ab3a;
/* rgb */ color: rgb(198, 171, 58);
/* oklch */ color: oklch(74.5% 0.132 95.4);
Tailwind
colors: {
  custom: {
    50: '#dbc377',
    500: '#c6ab3a',
    950: '#000000',
  },
}
SCSS
$custom: #c6ab3a;
$custom-light: #dbc377;
$custom-dark: #000000;
JSON
{
  "hex": "#c6ab3a",
  "rgb": {
    "r": 198,
    "g": 171,
    "b": 58
  },
  "hsl": {
    "h": 48.429,
    "s": 55.118,
    "l": 50.196
  },
  "oklch": {
    "l": 0.74476,
    "c": 0.132,
    "h": 95.4
  },
  "luminance": 0.41437
}

Semantic roles & 50–950 ramp

primary
#C6AB3A
secondary
#8F9BCD
accent
#66DE49
background
#FDFBF7
surface
#FBF7ED
border
#D4D0C8
text
#151209
muted
#83817B

Preview Lab

Preview with #C6AB3A

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

Preview Lab → · Contrast checker → · Palette generator →

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