#C6AB3D#C6AB3D

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

Color values

HEX#C6AB3D
RGBrgb(198, 171, 61)
HSLhsl(48, 55%, 51%)
HSVhsv(48, 69%, 78%)
CMYKcmyk(0%, 13.6%, 69.2%, 22.4%)
CIE-LABlab(70.50, -2.29, 57.78)
CIE-LCHlch(70.50, 57.83, 92.27°)
OKLaboklab(74.5% -0.0116 0.1294)
OKLCHoklch(74.5% 0.13 95.1)
XYZxyz(38.6958, 41.4706, 10.3804)
Luminance0.4147 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C6AB3D #3D58C6
analogous
#C6663D #C6AB3D #9CC63D
triadic
#C6AB3D #3DC6AB #AB3DC6
tetradic
#C6AB3D #3DC666 #3D58C6 #C63D9C
square
#C6AB3D #3DC666 #3D58C6 #C63D9C
split-complementary
#C6AB3D #3D9CC6 #663DC6
monochromatic
#6A5B1F #99842D #C6AB3D #D4BF6C #E2D49C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C6AB3D#FFFFFF#000000##000000
##C6AB3D1.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)
#BCA82E
Deuteranopia (green-blind)
#C3B043
Tritanopia (blue-blind)
#D69E95
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #c6ab3d;
/* rgb */ color: rgb(198, 171, 61);
/* oklch */ color: oklch(74.5% 0.130 95.1);
Tailwind
colors: {
  custom: {
    50: '#dbc379',
    500: '#c6ab3d',
    950: '#000000',
  },
}
SCSS
$custom: #c6ab3d;
$custom-light: #dbc379;
$custom-dark: #000000;
JSON
{
  "hex": "#c6ab3d",
  "rgb": {
    "r": 198,
    "g": 171,
    "b": 61
  },
  "hsl": {
    "h": 48.175,
    "s": 54.582,
    "l": 50.784
  },
  "oklch": {
    "l": 0.745,
    "c": 0.12995,
    "h": 95.1
  },
  "luminance": 0.41469
}

Semantic roles & 50–950 ramp

primary
#C6AB3D
secondary
#919DCE
accent
#67DE4A
background
#FDFBF7
surface
#FBF7EE
border
#D4D0C9
text
#151209
muted
#83817B

Preview Lab

Preview with #C6AB3D

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

Preview Lab → · Contrast checker → · Palette generator →

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