#C9A72E#C9A72E

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

Color values

HEX#C9A72E
RGBrgb(201, 167, 46)
HSLhsl(47, 63%, 48%)
HSVhsv(47, 77%, 79%)
CMYKcmyk(0%, 16.9%, 77.1%, 21.2%)
CIE-LABlab(69.65, 0.45, 62.76)
CIE-LCHlch(69.65, 62.77, 89.59°)
OKLaboklab(73.86% -0.0055 0.137)
OKLCHoklch(73.86% 0.137 92.3)
XYZxyz(38.4015, 40.2545, 8.3315)
Luminance0.4025 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C9A72E #2E50C9
analogous
#C95A2E #C9A72E #9DC92E
triadic
#C9A72E #2EC9A7 #A72EC9
tetradic
#C9A72E #2EC95A #2E50C9 #C92E9D
square
#C9A72E #2EC95A #2E50C9 #C92E9D
split-complementary
#C9A72E #2E9DC9 #5A2EC9
monochromatic
#655417 #977E23 #C9A72E #D9BE5B #E5D18D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C9A72E#FFFFFF#000000##000000
##C9A72E1.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)
#BAA416
Deuteranopia (green-blind)
#C2AE35
Tritanopia (blue-blind)
#DA9990
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #c9a72e;
/* rgb */ color: rgb(201, 167, 46);
/* oklch */ color: oklch(73.9% 0.137 92.3);
Tailwind
colors: {
  custom: {
    50: '#dec070',
    500: '#c9a72e',
    950: '#000000',
  },
}
SCSS
$custom: #c9a72e;
$custom-light: #dec070;
$custom-dark: #000000;
JSON
{
  "hex": "#c9a72e",
  "rgb": {
    "r": 201,
    "g": 167,
    "b": 46
  },
  "hsl": {
    "h": 46.839,
    "s": 62.753,
    "l": 48.431
  },
  "oklch": {
    "l": 0.73862,
    "c": 0.13713,
    "h": 92.3
  },
  "luminance": 0.40252
}

Semantic roles & 50–950 ramp

primary
#C9A72E
secondary
#8494CF
accent
#66E642
background
#FEFBF7
surface
#FCF7ED
border
#D5D0C8
text
#161208
muted
#84817B

Preview Lab

Preview with #C9A72E

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

Preview Lab → · Contrast checker → · Palette generator →

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