#C9AE2E#C9AE2E

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

Color values

HEX#C9AE2E
RGBrgb(201, 174, 46)
HSLhsl(50, 63%, 48%)
HSVhsv(50, 77%, 79%)
CMYKcmyk(0%, 13.4%, 77.1%, 21.2%)
CIE-LABlab(71.48, -3.25, 64.45)
CIE-LCHlch(71.48, 64.53, 92.89°)
OKLaboklab(75.31% -0.0161 0.1406)
OKLCHoklch(75.31% 0.142 96.5)
XYZxyz(39.7187, 42.8890, 8.7706)
Luminance0.4289 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C9AE2E #2E49C9
analogous
#C9602E #C9AE2E #96C92E
triadic
#C9AE2E #2EC9AE #AE2EC9
tetradic
#C9AE2E #2EC960 #2E49C9 #C92E96
square
#C9AE2E #2EC960 #2E49C9 #C92E96
split-complementary
#C9AE2E #2E96C9 #602EC9
monochromatic
#655817 #978323 #C9AE2E #D9C35B #E5D58D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C9AE2E#FFFFFF#000000##000000
##C9AE2E1.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)
#C0AA12
Deuteranopia (green-blind)
#C7B337
Tritanopia (blue-blind)
#D9A096
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #c9ae2e;
/* rgb */ color: rgb(201, 174, 46);
/* oklch */ color: oklch(75.3% 0.142 96.5);
Tailwind
colors: {
  custom: {
    50: '#dec571',
    500: '#c9ae2e',
    950: '#000000',
  },
}
SCSS
$custom: #c9ae2e;
$custom-light: #dec571;
$custom-dark: #000000;
JSON
{
  "hex": "#c9ae2e",
  "rgb": {
    "r": 201,
    "g": 174,
    "b": 46
  },
  "hsl": {
    "h": 49.548,
    "s": 62.753,
    "l": 48.431
  },
  "oklch": {
    "l": 0.75308,
    "c": 0.14155,
    "h": 96.5
  },
  "luminance": 0.42887
}

Semantic roles & 50–950 ramp

primary
#C9AE2E
secondary
#8491CF
accent
#5FE642
background
#FEFCF7
surface
#FCF8ED
border
#D5D1C8
text
#161208
muted
#84817B

Preview Lab

Preview with #C9AE2E

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

Preview Lab → · Contrast checker → · Palette generator →

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