#C9A534#C9A534

#C9A534 is a light, vivid yellow. Relative luminance 0.396; OKLCH L 73.5% C 0.133 H 90.5°. Best body text is #000000 at 8.92:1 contrast (WCAG AA passes).

Color values

HEX#C9A534
RGBrgb(201, 165, 52)
HSLhsl(46, 59%, 50%)
HSVhsv(46, 74%, 79%)
CMYKcmyk(0%, 17.9%, 74.1%, 21.2%)
CIE-LABlab(69.17, 1.77, 60.12)
CIE-LCHlch(69.17, 60.14, 88.31°)
OKLaboklab(73.49% -0.0011 0.1326)
OKLCHoklch(73.49% 0.133 90.5)
XYZxyz(38.1645, 39.5781, 8.8773)
Luminance0.3958 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C9A534 #3458C9
analogous
#C95A34 #C9A534 #A3C934
triadic
#C9A534 #34C9A5 #A534C9
tetradic
#C9A534 #34C95A #3458C9 #C934A3
square
#C9A534 #34C95A #3458C9 #C934A3
split-complementary
#C9A534 #34A3C9 #5A34C9
monochromatic
#68551B #987D27 #C9A534 #D7BB63 #E3D094

Accessibility & contrast

On white

2.36
#C9A534 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.92
#C9A534 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C9A534
8.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C9A534#FFFFFF#000000##000000
##C9A5341.002.368.928.92
#FFFFFF2.361.0021.0021.00
#0000008.9221.001.001.00
##0000008.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A322
Deuteranopia (green-blind)
#C1AD3A
Tritanopia (blue-blind)
#DA978F
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #c9a534;
/* rgb */ color: rgb(201, 165, 52);
/* oklch */ color: oklch(73.5% 0.133 90.5);
Tailwind
colors: {
  custom: {
    50: '#debf73',
    500: '#c9a534',
    950: '#000000',
  },
}
SCSS
$custom: #c9a534;
$custom-light: #debf73;
$custom-dark: #000000;
JSON
{
  "hex": "#c9a534",
  "rgb": {
    "r": 201,
    "g": 165,
    "b": 52
  },
  "hsl": {
    "h": 45.503,
    "s": 58.893,
    "l": 49.608
  },
  "oklch": {
    "l": 0.73493,
    "c": 0.13259,
    "h": 90.5
  },
  "luminance": 0.39576
}

Semantic roles & 50–950 ramp

primary
#C9A534
secondary
#8A9BCE
accent
#6BE246
background
#FEFBF7
surface
#FCF6ED
border
#D5D0C8
text
#161208
muted
#84817B

Preview Lab

Preview with #C9A534

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

Preview Lab → · Contrast checker → · Palette generator →

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