#C6AB39#C6AB39

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

Color values

HEX#C6AB39
RGBrgb(198, 171, 57)
HSLhsl(49, 55%, 50%)
HSVhsv(49, 71%, 78%)
CMYKcmyk(0%, 13.6%, 71.2%, 22.4%)
CIE-LABlab(70.48, -2.49, 59.36)
CIE-LCHlch(70.48, 59.41, 92.41°)
OKLaboklab(74.47% -0.0126 0.1321)
OKLCHoklch(74.47% 0.133 95.5)
XYZxyz(38.5921, 41.4291, 9.8340)
Luminance0.4143 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C6AB39 #3954C6
analogous
#C66539 #C6AB39 #9AC639
triadic
#C6AB39 #39C6AB #AB39C6
tetradic
#C6AB39 #39C665 #3954C6 #C6399A
square
#C6AB39 #39C665 #3954C6 #C6399A
split-complementary
#C6AB39 #399AC6 #6539C6
monochromatic
#67591E #96822B #C6AB39 #D4BF69 #E1D398

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C6AB39#FFFFFF#000000##000000
##C6AB391.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)
#BDA728
Deuteranopia (green-blind)
#C3B03F
Tritanopia (blue-blind)
#D69E94
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #c6ab39;
/* rgb */ color: rgb(198, 171, 57);
/* oklch */ color: oklch(74.5% 0.133 95.5);
Tailwind
colors: {
  custom: {
    50: '#dbc376',
    500: '#c6ab39',
    950: '#000000',
  },
}
SCSS
$custom: #c6ab39;
$custom-light: #dbc376;
$custom-dark: #000000;
JSON
{
  "hex": "#c6ab39",
  "rgb": {
    "r": 198,
    "g": 171,
    "b": 57
  },
  "hsl": {
    "h": 48.511,
    "s": 55.294,
    "l": 50
  },
  "oklch": {
    "l": 0.74468,
    "c": 0.13266,
    "h": 95.5
  },
  "luminance": 0.41427
}

Semantic roles & 50–950 ramp

primary
#C6AB39
secondary
#8E9ACD
accent
#66DF49
background
#FEFBF7
surface
#FCF7ED
border
#D5D0C8
text
#151209
muted
#84817B

Preview Lab

Preview with #C6AB39

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

Preview Lab → · Contrast checker → · Palette generator →

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