#C9A428#C9A428

#C9A428 is a light, vivid yellow. Relative luminance 0.391; OKLCH L 73.2% C 0.139 H 90.9°. Best body text is #000000 at 8.82:1 contrast (WCAG AA passes).

Color values

HEX#C9A428
RGBrgb(201, 164, 40)
HSLhsl(46, 67%, 47%)
HSVhsv(46, 80%, 79%)
CMYKcmyk(0%, 18.4%, 80.1%, 21.2%)
CIE-LABlab(68.84, 1.83, 64.04)
CIE-LCHlch(68.84, 64.06, 88.36°)
OKLaboklab(73.21% -0.0022 0.1385)
OKLCHoklch(73.21% 0.139 90.9)
XYZxyz(37.7481, 39.1241, 7.5706)
Luminance0.3912 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C9A428 #284DC9
analogous
#C95328 #C9A428 #9EC928
triadic
#C9A428 #28C9A4 #A428C9
tetradic
#C9A428 #28C953 #284DC9 #C9289E
square
#C9A428 #28C953 #284DC9 #C9289E
split-complementary
#C9A428 #289EC9 #5328C9
monochromatic
#635114 #967A1E #C9A428 #DDBD52 #E7D085

Accessibility & contrast

On white

2.38
#C9A428 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.82
#C9A428 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C9A428
8.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C9A428#FFFFFF#000000##000000
##C9A4281.002.388.828.82
#FFFFFF2.381.0021.0021.00
#0000008.8221.001.001.00
##0000008.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A207
Deuteranopia (green-blind)
#C0AC30
Tritanopia (blue-blind)
#DA968D
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #c9a428;
/* rgb */ color: rgb(201, 164, 40);
/* oklch */ color: oklch(73.2% 0.139 90.9);
Tailwind
colors: {
  custom: {
    50: '#debe6d',
    500: '#c9a428',
    950: '#000000',
  },
}
SCSS
$custom: #c9a428;
$custom-light: #debe6d;
$custom-dark: #000000;
JSON
{
  "hex": "#c9a428",
  "rgb": {
    "r": 201,
    "g": 164,
    "b": 40
  },
  "hsl": {
    "h": 46.211,
    "s": 66.805,
    "l": 47.255
  },
  "oklch": {
    "l": 0.73213,
    "c": 0.13852,
    "h": 90.9
  },
  "luminance": 0.39122
}

Semantic roles & 50–950 ramp

primary
#C9A428
secondary
#7D90D0
accent
#66EA3E
background
#FEFBF6
surface
#FCF6EC
border
#D5D0C7
text
#161208
muted
#84817B

Preview Lab

Preview with #C9A428

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

Preview Lab → · Contrast checker → · Palette generator →

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