#C9AA30#C9AA30

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

Color values

HEX#C9AA30
RGBrgb(201, 170, 48)
HSLhsl(48, 61%, 49%)
HSVhsv(48, 76%, 79%)
CMYKcmyk(0%, 15.4%, 76.1%, 21.2%)
CIE-LABlab(70.44, -1.06, 62.80)
CIE-LCHlch(70.44, 62.81, 90.97°)
OKLaboklab(74.49% -0.0097 0.1375)
OKLCHoklch(74.49% 0.138 94)
XYZxyz(38.9978, 41.3826, 8.7293)
Luminance0.4138 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C9AA30 #304FC9
analogous
#C95E30 #C9AA30 #9CC930
triadic
#C9AA30 #30C9AA #AA30C9
tetradic
#C9AA30 #30C95E #304FC9 #C9309C
square
#C9AA30 #30C95E #304FC9 #C9309C
split-complementary
#C9AA30 #309CC9 #5E30C9
monochromatic
#665618 #988024 #C9AA30 #D8C05E #E4D38F

Accessibility & contrast

On white

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

On black

9.28
#C9AA30 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C9AA30
9.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C9AA30#FFFFFF#000000##000000
##C9AA301.002.269.289.28
#FFFFFF2.261.0021.0021.00
#0000009.2821.001.001.00
##0000009.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDA719
Deuteranopia (green-blind)
#C4B038
Tritanopia (blue-blind)
#D99C93
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #c9aa30;
/* rgb */ color: rgb(201, 170, 48);
/* oklch */ color: oklch(74.5% 0.138 94.0);
Tailwind
colors: {
  custom: {
    50: '#dec272',
    500: '#c9aa30',
    950: '#000000',
  },
}
SCSS
$custom: #c9aa30;
$custom-light: #dec272;
$custom-dark: #000000;
JSON
{
  "hex": "#c9aa30",
  "rgb": {
    "r": 201,
    "g": 170,
    "b": 48
  },
  "hsl": {
    "h": 47.843,
    "s": 61.446,
    "l": 48.824
  },
  "oklch": {
    "l": 0.74492,
    "c": 0.13784,
    "h": 94
  },
  "luminance": 0.4138
}

Semantic roles & 50–950 ramp

primary
#C9AA30
secondary
#8695CF
accent
#64E543
background
#FEFBF7
surface
#FCF7ED
border
#D5D0C8
text
#161208
muted
#84817B

Preview Lab

Preview with #C9AA30

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

Preview Lab → · Contrast checker → · Palette generator →

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