#C6AB36#C6AB36

#C6AB36 is a light, vivid yellow. Relative luminance 0.414; OKLCH L 74.4% C 0.135 H 95.7°. Best body text is #000000 at 9.28:1 contrast (WCAG AA passes).

Color values

HEX#C6AB36
RGBrgb(198, 171, 54)
HSLhsl(49, 57%, 49%)
HSVhsv(49, 73%, 78%)
CMYKcmyk(0%, 13.6%, 72.7%, 22.4%)
CIE-LABlab(70.46, -2.64, 60.51)
CIE-LCHlch(70.46, 60.56, 92.50°)
OKLaboklab(74.45% -0.0134 0.1339)
OKLCHoklch(74.45% 0.135 95.7)
XYZxyz(38.5194, 41.4000, 9.4514)
Luminance0.4140 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C6AB36 #3651C6
analogous
#C66336 #C6AB36 #99C636
triadic
#C6AB36 #36C6AB #AB36C6
tetradic
#C6AB36 #36C663 #3651C6 #C63699
square
#C6AB36 #36C663 #3651C6 #C63699
split-complementary
#C6AB36 #3699C6 #6336C6
monochromatic
#66581C #968129 #C6AB36 #D5C064 #E2D394

Accessibility & contrast

On white

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

On black

9.28
#C6AB36 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C6AB36
9.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C6AB36#FFFFFF#000000##000000
##C6AB361.002.269.289.28
#FFFFFF2.261.0021.0021.00
#0000009.2821.001.001.00
##0000009.2821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c6ab36;
/* rgb */ color: rgb(198, 171, 54);
/* oklch */ color: oklch(74.4% 0.135 95.7);
Tailwind
colors: {
  custom: {
    50: '#dbc375',
    500: '#c6ab36',
    950: '#000000',
  },
}
SCSS
$custom: #c6ab36;
$custom-light: #dbc375;
$custom-dark: #000000;
JSON
{
  "hex": "#c6ab36",
  "rgb": {
    "r": 198,
    "g": 171,
    "b": 54
  },
  "hsl": {
    "h": 48.75,
    "s": 57.143,
    "l": 49.412
  },
  "oklch": {
    "l": 0.74446,
    "c": 0.13458,
    "h": 95.7
  },
  "luminance": 0.41398
}

Semantic roles & 50–950 ramp

primary
#C6AB36
secondary
#8B97CD
accent
#64E047
background
#FEFBF7
surface
#FCF7ED
border
#D5D0C8
text
#161209
muted
#84817B

Preview Lab

Preview with #C6AB36

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

Preview Lab → · Contrast checker → · Palette generator →

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