#C6A832#C6A832

#C6A832 is a light, vivid yellow. Relative luminance 0.402; OKLCH L 73.8% C 0.135 H 94.1°. Best body text is #000000 at 9.05:1 contrast (WCAG AA passes).

Color values

HEX#C6A832
RGBrgb(198, 168, 50)
HSLhsl(48, 60%, 49%)
HSVhsv(48, 75%, 78%)
CMYKcmyk(0%, 15.2%, 74.7%, 22.4%)
CIE-LABlab(69.64, -1.23, 61.22)
CIE-LCHlch(69.64, 61.23, 91.15°)
OKLaboklab(73.8% -0.0098 0.1347)
OKLCHoklch(73.8% 0.135 94.1)
XYZxyz(37.8691, 40.2435, 8.7901)
Luminance0.4024 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C6A832 #3250C6
analogous
#C65E32 #C6A832 #9AC632
triadic
#C6A832 #32C6A8 #A832C6
tetradic
#C6A832 #32C65E #3250C6 #C6329A
square
#C6A832 #32C65E #3250C6 #C6329A
split-complementary
#C6A832 #329AC6 #5E32C6
monochromatic
#645519 #957F26 #C6A832 #D7BE5F #E3D290

Accessibility & contrast

On white

2.32
#C6A832 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.05
#C6A832 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C6A832
9.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C6A832#FFFFFF#000000##000000
##C6A8321.002.329.059.05
#FFFFFF2.321.0021.0021.00
#0000009.0521.001.001.00
##0000009.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA51D
Deuteranopia (green-blind)
#C2AE39
Tritanopia (blue-blind)
#D69A91
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #c6a832;
/* rgb */ color: rgb(198, 168, 50);
/* oklch */ color: oklch(73.8% 0.135 94.1);
Tailwind
colors: {
  custom: {
    50: '#dbc172',
    500: '#c6a832',
    950: '#000000',
  },
}
SCSS
$custom: #c6a832;
$custom-light: #dbc172;
$custom-dark: #000000;
JSON
{
  "hex": "#c6a832",
  "rgb": {
    "r": 198,
    "g": 168,
    "b": 50
  },
  "hsl": {
    "h": 47.838,
    "s": 59.677,
    "l": 48.627
  },
  "oklch": {
    "l": 0.73795,
    "c": 0.13502,
    "h": 94.1
  },
  "luminance": 0.40241
}

Semantic roles & 50–950 ramp

primary
#C6A832
secondary
#8695CD
accent
#65E345
background
#FEFBF7
surface
#FCF7ED
border
#D5D0C8
text
#161208
muted
#84817B

Preview Lab

Preview with #C6A832

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

Preview Lab → · Contrast checker → · Palette generator →

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