#C9AA2F#C9AA2F

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

Color values

HEX#C9AA2F
RGBrgb(201, 170, 47)
HSLhsl(48, 62%, 49%)
HSVhsv(48, 77%, 79%)
CMYKcmyk(0%, 15.4%, 76.6%, 21.2%)
CIE-LABlab(70.44, -1.10, 63.15)
CIE-LCHlch(70.44, 63.16, 91.00°)
OKLaboklab(74.49% -0.0099 0.138)
OKLCHoklch(74.49% 0.138 94.1)
XYZxyz(38.9774, 41.3745, 8.6218)
Luminance0.4137 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C9AA2F #2F4EC9
analogous
#C95D2F #C9AA2F #9BC92F
triadic
#C9AA2F #2FC9AA #AA2FC9
tetradic
#C9AA2F #2FC95D #2F4EC9 #C92F9B
square
#C9AA2F #2FC95D #2F4EC9 #C92F9B
split-complementary
#C9AA2F #2F9BC9 #5D2FC9
monochromatic
#665618 #978023 #C9AA2F #D9C05C #E5D38E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C9AA2F#FFFFFF#000000##000000
##C9AA2F1.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)
#BDA717
Deuteranopia (green-blind)
#C4B037
Tritanopia (blue-blind)
#D99C92
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #c9aa2f;
/* rgb */ color: rgb(201, 170, 47);
/* oklch */ color: oklch(74.5% 0.138 94.1);
Tailwind
colors: {
  custom: {
    50: '#dec271',
    500: '#c9aa2f',
    950: '#000000',
  },
}
SCSS
$custom: #c9aa2f;
$custom-light: #dec271;
$custom-dark: #000000;
JSON
{
  "hex": "#c9aa2f",
  "rgb": {
    "r": 201,
    "g": 170,
    "b": 47
  },
  "hsl": {
    "h": 47.922,
    "s": 62.097,
    "l": 48.627
  },
  "oklch": {
    "l": 0.74485,
    "c": 0.13839,
    "h": 94.1
  },
  "luminance": 0.41372
}

Semantic roles & 50–950 ramp

primary
#C9AA2F
secondary
#8594CF
accent
#63E543
background
#FEFBF7
surface
#FCF7ED
border
#D5D0C8
text
#161208
muted
#84817B

Preview Lab

Preview with #C9AA2F

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

Preview Lab → · Contrast checker → · Palette generator →

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