#C9AA2E#C9AA2E

#C9AA2E is a light, vivid yellow. Relative luminance 0.414; OKLCH L 74.5% C 0.139 H 94.2°. Best body text is #000000 at 9.27:1 contrast (WCAG AA passes).

Color values

HEX#C9AA2E
RGBrgb(201, 170, 46)
HSLhsl(48, 63%, 48%)
HSVhsv(48, 77%, 79%)
CMYKcmyk(0%, 15.4%, 77.1%, 21.2%)
CIE-LABlab(70.43, -1.14, 63.49)
CIE-LCHlch(70.43, 63.50, 91.03°)
OKLaboklab(74.48% -0.0101 0.1386)
OKLCHoklch(74.48% 0.139 94.2)
XYZxyz(38.9574, 41.3665, 8.5168)
Luminance0.4136 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C9AA2E #2E4DC9
analogous
#C95C2E #C9AA2E #9AC92E
triadic
#C9AA2E #2EC9AA #AA2EC9
tetradic
#C9AA2E #2EC95C #2E4DC9 #C92E9A
square
#C9AA2E #2EC95C #2E4DC9 #C92E9A
split-complementary
#C9AA2E #2E9AC9 #5C2EC9
monochromatic
#655617 #978023 #C9AA2E #D9C05B #E5D38D

Accessibility & contrast

On white

2.26
#C9AA2E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.27
#C9AA2E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C9AA2E
9.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C9AA2E#FFFFFF#000000##000000
##C9AA2E1.002.269.279.27
#FFFFFF2.261.0021.0021.00
#0000009.2721.001.001.00
##0000009.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDA714
Deuteranopia (green-blind)
#C4B036
Tritanopia (blue-blind)
#DA9C92
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #c9aa2e;
/* rgb */ color: rgb(201, 170, 46);
/* oklch */ color: oklch(74.5% 0.139 94.2);
Tailwind
colors: {
  custom: {
    50: '#dec271',
    500: '#c9aa2e',
    950: '#000000',
  },
}
SCSS
$custom: #c9aa2e;
$custom-light: #dec271;
$custom-dark: #000000;
JSON
{
  "hex": "#c9aa2e",
  "rgb": {
    "r": 201,
    "g": 170,
    "b": 46
  },
  "hsl": {
    "h": 48,
    "s": 62.753,
    "l": 48.431
  },
  "oklch": {
    "l": 0.74479,
    "c": 0.13894,
    "h": 94.2
  },
  "luminance": 0.41364
}

Semantic roles & 50–950 ramp

primary
#C9AA2E
secondary
#8493CF
accent
#63E642
background
#FEFBF7
surface
#FCF7ED
border
#D5D0C8
text
#161208
muted
#84817B

Preview Lab

Preview with #C9AA2E

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

Preview Lab → · Contrast checker → · Palette generator →

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