#C9AE31#C9AE31

#C9AE31 is a light, vivid yellow. Relative luminance 0.429; OKLCH L 75.3% C 0.140 H 96.3°. Best body text is #000000 at 9.58:1 contrast (WCAG AA passes).

Color values

HEX#C9AE31
RGBrgb(201, 174, 49)
HSLhsl(49, 61%, 49%)
HSVhsv(49, 76%, 79%)
CMYKcmyk(0%, 13.4%, 75.6%, 21.2%)
CIE-LABlab(71.50, -3.13, 63.44)
CIE-LCHlch(71.50, 63.51, 92.83°)
OKLaboklab(75.33% -0.0154 0.1391)
OKLCHoklch(75.33% 0.14 96.3)
XYZxyz(39.7799, 42.9135, 9.0930)
Luminance0.4291 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C9AE31 #314CC9
analogous
#C96231 #C9AE31 #98C931
triadic
#C9AE31 #31C9AE #AE31C9
tetradic
#C9AE31 #31C962 #314CC9 #C93198
square
#C9AE31 #31C962 #314CC9 #C93198
split-complementary
#C9AE31 #3198C9 #6231C9
monochromatic
#675919 #988325 #C9AE31 #D8C35F #E4D590

Accessibility & contrast

On white

2.19
#C9AE31 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.58
#C9AE31 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C9AE31
9.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C9AE31#FFFFFF#000000##000000
##C9AE311.002.199.589.58
#FFFFFF2.191.0021.0021.00
#0000009.5821.001.001.00
##0000009.5821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c9ae31;
/* rgb */ color: rgb(201, 174, 49);
/* oklch */ color: oklch(75.3% 0.140 96.3);
Tailwind
colors: {
  custom: {
    50: '#dec573',
    500: '#c9ae31',
    950: '#000000',
  },
}
SCSS
$custom: #c9ae31;
$custom-light: #dec573;
$custom-dark: #000000;
JSON
{
  "hex": "#c9ae31",
  "rgb": {
    "r": 201,
    "g": 174,
    "b": 49
  },
  "hsl": {
    "h": 49.342,
    "s": 60.8,
    "l": 49.02
  },
  "oklch": {
    "l": 0.75326,
    "c": 0.13991,
    "h": 96.3
  },
  "luminance": 0.42911
}

Semantic roles & 50–950 ramp

primary
#C9AE31
secondary
#8794CF
accent
#60E444
background
#FEFCF7
surface
#FCF8ED
border
#D5D1C8
text
#161208
muted
#84817B

Preview Lab

Preview with #C9AE31

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

Preview Lab → · Contrast checker → · Palette generator →

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