#C6AB25#C6AB25

#C6AB25 is a light, vivid yellow. Relative luminance 0.413; OKLCH L 74.3% C 0.144 H 96.8°. Best body text is #000000 at 9.25:1 contrast (WCAG AA passes).

Color values

HEX#C6AB25
RGBrgb(198, 171, 37)
HSLhsl(50, 69%, 46%)
HSVhsv(50, 81%, 78%)
CMYKcmyk(0%, 13.6%, 81.3%, 22.4%)
CIE-LABlab(70.36, -3.31, 66.18)
CIE-LCHlch(70.36, 66.26, 92.86°)
OKLaboklab(74.34% -0.0169 0.1427)
OKLCHoklch(74.34% 0.144 96.8)
XYZxyz(38.1876, 41.2673, 7.7039)
Luminance0.4127 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C6AB25 #2540C6
analogous
#C65A25 #C6AB25 #90C625
triadic
#C6AB25 #25C6AB #AB25C6
tetradic
#C6AB25 #25C65A #2540C6 #C62590
square
#C6AB25 #25C65A #2540C6 #C62590
split-complementary
#C6AB25 #2590C6 #5A25C6
monochromatic
#5F5212 #927E1B #C6AB25 #DDC54B #E7D57E

Accessibility & contrast

On white

2.27
#C6AB25 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.25
#C6AB25 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C6AB25
9.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C6AB25#FFFFFF#000000##000000
##C6AB251.002.279.259.25
#FFFFFF2.271.0021.0021.00
#0000009.2521.001.001.00
##0000009.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDA700
Deuteranopia (green-blind)
#C4B02F
Tritanopia (blue-blind)
#D69D93
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #c6ab25;
/* rgb */ color: rgb(198, 171, 37);
/* oklch */ color: oklch(74.3% 0.144 96.8);
Tailwind
colors: {
  custom: {
    50: '#dcc36d',
    500: '#c6ab25',
    950: '#000000',
  },
}
SCSS
$custom: #c6ab25;
$custom-light: #dcc36d;
$custom-dark: #000000;
JSON
{
  "hex": "#c6ab25",
  "rgb": {
    "r": 198,
    "g": 171,
    "b": 37
  },
  "hsl": {
    "h": 49.938,
    "s": 68.511,
    "l": 46.078
  },
  "oklch": {
    "l": 0.74343,
    "c": 0.14368,
    "h": 96.8
  },
  "luminance": 0.41265
}

Semantic roles & 50–950 ramp

primary
#C6AB25
secondary
#7786CF
accent
#5AEB3C
background
#FEFBF6
surface
#FCF7EC
border
#D5D0C7
text
#161208
muted
#84817B

Preview Lab

Preview with #C6AB25

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

Preview Lab → · Contrast checker → · Palette generator →

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