#C6A333#C6A333

#C6A333 is a light, vivid yellow. Relative luminance 0.384; OKLCH L 72.8% C 0.131 H 90.8°. Best body text is #000000 at 8.69:1 contrast (WCAG AA passes).

Color values

HEX#C6A333
RGBrgb(198, 163, 51)
HSLhsl(46, 59%, 49%)
HSVhsv(46, 74%, 78%)
CMYKcmyk(0%, 17.7%, 74.2%, 22.4%)
CIE-LABlab(68.34, 1.48, 59.60)
CIE-LCHlch(68.34, 59.62, 88.58°)
OKLaboklab(72.77% -0.0019 0.1314)
OKLCHoklch(72.77% 0.131 90.8)
XYZxyz(36.9855, 38.4415, 8.6032)
Luminance0.3844 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C6A333 #3356C6
analogous
#C65A33 #C6A333 #A0C633
triadic
#C6A333 #33C6A3 #A333C6
tetradic
#C6A333 #33C65A #3356C6 #C633A0
square
#C6A333 #33C65A #3356C6 #C633A0
split-complementary
#C6A333 #33A0C6 #5A33C6
monochromatic
#65531A #957B26 #C6A333 #D6BA60 #E3CF91

Accessibility & contrast

On white

2.42
#C6A333 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.69
#C6A333 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C6A333
8.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C6A333#FFFFFF#000000##000000
##C6A3331.002.428.698.69
#FFFFFF2.421.0021.0021.00
#0000008.6921.001.001.00
##0000008.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A121
Deuteranopia (green-blind)
#BEAB39
Tritanopia (blue-blind)
#D6958D
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #c6a333;
/* rgb */ color: rgb(198, 163, 51);
/* oklch */ color: oklch(72.8% 0.131 90.8);
Tailwind
colors: {
  custom: {
    50: '#dbbd72',
    500: '#c6a333',
    950: '#000000',
  },
}
SCSS
$custom: #c6a333;
$custom-light: #dbbd72;
$custom-dark: #000000;
JSON
{
  "hex": "#c6a333",
  "rgb": {
    "r": 198,
    "g": 163,
    "b": 51
  },
  "hsl": {
    "h": 45.714,
    "s": 59.036,
    "l": 48.824
  },
  "oklch": {
    "l": 0.72773,
    "c": 0.13143,
    "h": 90.8
  },
  "luminance": 0.38439
}

Semantic roles & 50–950 ramp

primary
#C6A333
secondary
#8798CD
accent
#6BE246
background
#FEFBF7
surface
#FCF6ED
border
#D5D0C8
text
#161208
muted
#84817B

Preview Lab

Preview with #C6A333

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

Preview Lab → · Contrast checker → · Palette generator →

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