#C6A834#C6A834

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

Color values

HEX#C6A834
RGBrgb(198, 168, 52)
HSLhsl(48, 58%, 49%)
HSVhsv(48, 74%, 78%)
CMYKcmyk(0%, 15.2%, 73.7%, 22.4%)
CIE-LABlab(69.66, -1.14, 60.49)
CIE-LCHlch(69.66, 60.50, 91.08°)
OKLaboklab(73.81% -0.0093 0.1335)
OKLCHoklch(73.81% 0.134 94)
XYZxyz(37.9132, 40.2611, 9.0224)
Luminance0.4026 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C6A834 #3452C6
analogous
#C65F34 #C6A834 #9BC634
triadic
#C6A834 #34C6A8 #A834C6
tetradic
#C6A834 #34C65F #3452C6 #C6349B
square
#C6A834 #34C65F #3452C6 #C6349B
split-complementary
#C6A834 #349BC6 #5F34C6
monochromatic
#65561B #967F27 #C6A834 #D6BE62 #E2D292

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C6A834#FFFFFF#000000##000000
##C6A8341.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)
#BAA521
Deuteranopia (green-blind)
#C2AE3B
Tritanopia (blue-blind)
#D69A91
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #c6a834;
/* rgb */ color: rgb(198, 168, 52);
/* oklch */ color: oklch(73.8% 0.134 94.0);
Tailwind
colors: {
  custom: {
    50: '#dbc173',
    500: '#c6a834',
    950: '#000000',
  },
}
SCSS
$custom: #c6a834;
$custom-light: #dbc173;
$custom-dark: #000000;
JSON
{
  "hex": "#c6a834",
  "rgb": {
    "r": 198,
    "g": 168,
    "b": 52
  },
  "hsl": {
    "h": 47.671,
    "s": 58.4,
    "l": 49.02
  },
  "oklch": {
    "l": 0.73809,
    "c": 0.13382,
    "h": 94
  },
  "luminance": 0.40259
}

Semantic roles & 50–950 ramp

primary
#C6A834
secondary
#8997CD
accent
#66E246
background
#FEFBF7
surface
#FCF7ED
border
#D5D0C8
text
#161209
muted
#84817B

Preview Lab

Preview with #C6A834

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

Preview Lab → · Contrast checker → · Palette generator →

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