#C6AC34#C6AC34

#C6AC34 is a light, vivid yellow. Relative luminance 0.418; OKLCH L 74.6% C 0.137 H 96.5°. Best body text is #000000 at 9.35:1 contrast (WCAG AA passes).

Color values

HEX#C6AC34
RGBrgb(198, 172, 52)
HSLhsl(49, 58%, 49%)
HSVhsv(49, 74%, 78%)
CMYKcmyk(0%, 13.1%, 73.7%, 22.4%)
CIE-LABlab(70.71, -3.26, 61.50)
CIE-LCHlch(70.71, 61.59, 93.03°)
OKLaboklab(74.64% -0.0153 0.1357)
OKLCHoklch(74.64% 0.137 96.5)
XYZxyz(38.6630, 41.7608, 9.2723)
Luminance0.4176 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C6AC34 #344EC6
analogous
#C66334 #C6AC34 #97C634
triadic
#C6AC34 #34C6AC #AC34C6
tetradic
#C6AC34 #34C663 #344EC6 #C63497
square
#C6AC34 #34C663 #344EC6 #C63497
split-complementary
#C6AC34 #3497C6 #6334C6
monochromatic
#65581B #968227 #C6AC34 #D6C162 #E2D492

Accessibility & contrast

On white

2.25
#C6AC34 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.35
#C6AC34 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C6AC34
9.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C6AC34#FFFFFF#000000##000000
##C6AC341.002.259.359.35
#FFFFFF2.251.0021.0021.00
#0000009.3521.001.001.00
##0000009.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEA820
Deuteranopia (green-blind)
#C4B13B
Tritanopia (blue-blind)
#D69F94
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #c6ac34;
/* rgb */ color: rgb(198, 172, 52);
/* oklch */ color: oklch(74.6% 0.137 96.5);
Tailwind
colors: {
  custom: {
    50: '#dbc474',
    500: '#c6ac34',
    950: '#000000',
  },
}
SCSS
$custom: #c6ac34;
$custom-light: #dbc474;
$custom-dark: #000000;
JSON
{
  "hex": "#c6ac34",
  "rgb": {
    "r": 198,
    "g": 172,
    "b": 52
  },
  "hsl": {
    "h": 49.315,
    "s": 58.4,
    "l": 49.02
  },
  "oklch": {
    "l": 0.7464,
    "c": 0.13651,
    "h": 96.5
  },
  "luminance": 0.41759
}

Semantic roles & 50–950 ramp

primary
#C6AC34
secondary
#8995CD
accent
#62E246
background
#FEFCF7
surface
#FCF8ED
border
#D5D1C8
text
#161209
muted
#84817B

Preview Lab

Preview with #C6AC34

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

Preview Lab → · Contrast checker → · Palette generator →

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