#C9A733#C9A733

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

Color values

HEX#C9A733
RGBrgb(201, 167, 51)
HSLhsl(46, 60%, 49%)
HSVhsv(46, 75%, 79%)
CMYKcmyk(0%, 16.9%, 74.6%, 21.2%)
CIE-LABlab(69.68, 0.66, 60.99)
CIE-LCHlch(69.68, 60.99, 89.38°)
OKLaboklab(73.9% -0.0044 0.1342)
OKLCHoklch(73.9% 0.134 91.9)
XYZxyz(38.5058, 40.2963, 8.8811)
Luminance0.4029 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C9A733 #3355C9
analogous
#C95C33 #C9A733 #A0C933
triadic
#C9A733 #33C9A7 #A733C9
tetradic
#C9A733 #33C95C #3355C9 #C933A0
square
#C9A733 #33C95C #3355C9 #C933A0
split-complementary
#C9A733 #33A0C9 #5C33C9
monochromatic
#67561A #987E27 #C9A733 #D7BD62 #E4D193

Accessibility & contrast

On white

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

On black

9.06
#C9A733 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C9A733
9.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C9A733#FFFFFF#000000##000000
##C9A7331.002.329.069.06
#FFFFFF2.321.0021.0021.00
#0000009.0621.001.001.00
##0000009.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA51F
Deuteranopia (green-blind)
#C2AE3A
Tritanopia (blue-blind)
#DA9990
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #c9a733;
/* rgb */ color: rgb(201, 167, 51);
/* oklch */ color: oklch(73.9% 0.134 91.9);
Tailwind
colors: {
  custom: {
    50: '#dec073',
    500: '#c9a733',
    950: '#000000',
  },
}
SCSS
$custom: #c9a733;
$custom-light: #dec073;
$custom-dark: #000000;
JSON
{
  "hex": "#c9a733",
  "rgb": {
    "r": 201,
    "g": 167,
    "b": 51
  },
  "hsl": {
    "h": 46.4,
    "s": 59.524,
    "l": 49.412
  },
  "oklch": {
    "l": 0.73895,
    "c": 0.13431,
    "h": 91.9
  },
  "luminance": 0.40294
}

Semantic roles & 50–950 ramp

primary
#C9A733
secondary
#8999CF
accent
#69E345
background
#FEFBF7
surface
#FCF7ED
border
#D5D0C8
text
#161208
muted
#84817B

Preview Lab

Preview with #C9A733

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

Preview Lab → · Contrast checker → · Palette generator →

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