#C9A82E#C9A82E

#C9A82E is a light, vivid yellow. Relative luminance 0.406; OKLCH L 74.1% C 0.138 H 92.9°. Best body text is #000000 at 9.12:1 contrast (WCAG AA passes).

Color values

HEX#C9A82E
RGBrgb(201, 168, 46)
HSLhsl(47, 63%, 48%)
HSVhsv(47, 77%, 79%)
CMYKcmyk(0%, 16.4%, 77.1%, 21.2%)
CIE-LABlab(69.91, -0.08, 63.01)
CIE-LCHlch(69.91, 63.01, 90.07°)
OKLaboklab(74.07% -0.0071 0.1375)
OKLCHoklch(74.07% 0.138 92.9)
XYZxyz(38.5854, 40.6223, 8.3928)
Luminance0.4062 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C9A82E #2E4FC9
analogous
#C95A2E #C9A82E #9CC92E
triadic
#C9A82E #2EC9A8 #A82EC9
tetradic
#C9A82E #2EC95A #2E4FC9 #C92E9C
square
#C9A82E #2EC95A #2E4FC9 #C92E9C
split-complementary
#C9A82E #2E9CC9 #5A2EC9
monochromatic
#655517 #977E23 #C9A82E #D9BE5B #E5D28D

Accessibility & contrast

On white

2.30
#C9A82E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.12
#C9A82E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C9A82E
9.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C9A82E#FFFFFF#000000##000000
##C9A82E1.002.309.129.12
#FFFFFF2.301.0021.0021.00
#0000009.1221.001.001.00
##0000009.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA515
Deuteranopia (green-blind)
#C3AF36
Tritanopia (blue-blind)
#DA9A91
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #c9a82e;
/* rgb */ color: rgb(201, 168, 46);
/* oklch */ color: oklch(74.1% 0.138 92.9);
Tailwind
colors: {
  custom: {
    50: '#dec170',
    500: '#c9a82e',
    950: '#000000',
  },
}
SCSS
$custom: #c9a82e;
$custom-light: #dec170;
$custom-dark: #000000;
JSON
{
  "hex": "#c9a82e",
  "rgb": {
    "r": 201,
    "g": 168,
    "b": 46
  },
  "hsl": {
    "h": 47.226,
    "s": 62.753,
    "l": 48.431
  },
  "oklch": {
    "l": 0.74067,
    "c": 0.13772,
    "h": 92.9
  },
  "luminance": 0.4062
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C9A82E

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

Preview Lab → · Contrast checker → · Palette generator →

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