#C9AD3A#C9AD3A

#C9AD3A is a light, vivid yellow. Relative luminance 0.426; OKLCH L 75.2% C 0.134 H 95.1°. Best body text is #000000 at 9.52:1 contrast (WCAG AA passes).

Color values

HEX#C9AD3A
RGBrgb(201, 173, 58)
HSLhsl(48, 57%, 51%)
HSVhsv(48, 71%, 79%)
CMYKcmyk(0%, 13.9%, 71.1%, 21.2%)
CIE-LABlab(71.29, -2.20, 59.87)
CIE-LCHlch(71.29, 59.91, 92.10°)
OKLaboklab(75.18% -0.0118 0.1332)
OKLCHoklch(75.18% 0.134 95.1)
XYZxyz(39.7967, 42.6123, 10.1310)
Luminance0.4261 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C9AD3A #3A56C9
analogous
#C9653A #C9AD3A #9DC93A
triadic
#C9AD3A #3AC9AD #AD3AC9
tetradic
#C9AD3A #3AC965 #3A56C9 #C93A9D
square
#C9AD3A #3AC965 #3A56C9 #C93A9D
split-complementary
#C9AD3A #3A9DC9 #653AC9
monochromatic
#6B5C1D #9B852B #C9AD3A #D6C16A #E3D59A

Accessibility & contrast

On white

2.21
#C9AD3A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.52
#C9AD3A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C9AD3A
9.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C9AD3A#FFFFFF#000000##000000
##C9AD3A1.002.219.529.52
#FFFFFF2.211.0021.0021.00
#0000009.5221.001.001.00
##0000009.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFAA29
Deuteranopia (green-blind)
#C6B240
Tritanopia (blue-blind)
#D9A096
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #c9ad3a;
/* rgb */ color: rgb(201, 173, 58);
/* oklch */ color: oklch(75.2% 0.134 95.1);
Tailwind
colors: {
  custom: {
    50: '#ddc577',
    500: '#c9ad3a',
    950: '#000000',
  },
}
SCSS
$custom: #c9ad3a;
$custom-light: #ddc577;
$custom-dark: #000000;
JSON
{
  "hex": "#c9ad3a",
  "rgb": {
    "r": 201,
    "g": 173,
    "b": 58
  },
  "hsl": {
    "h": 48.252,
    "s": 56.972,
    "l": 50.784
  },
  "oklch": {
    "l": 0.75182,
    "c": 0.13373,
    "h": 95.1
  },
  "luminance": 0.4261
}

Semantic roles & 50–950 ramp

primary
#C9AD3A
secondary
#909CCF
accent
#65E048
background
#FEFCF7
surface
#FCF8ED
border
#D5D1C8
text
#161209
muted
#84817B

Preview Lab

Preview with #C9AD3A

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

Preview Lab → · Contrast checker → · Palette generator →

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