#C9A330#C9A330

#C9A330 is a light, vivid yellow. Relative luminance 0.388; OKLCH L 73.1% C 0.134 H 89.6°. Best body text is #000000 at 8.76:1 contrast (WCAG AA passes).

Color values

HEX#C9A330
RGBrgb(201, 163, 48)
HSLhsl(45, 61%, 49%)
HSVhsv(45, 76%, 79%)
CMYKcmyk(0%, 18.9%, 76.1%, 21.2%)
CIE-LABlab(68.63, 2.67, 61.09)
CIE-LCHlch(68.63, 61.15, 87.50°)
OKLaboklab(73.06% 0.001 0.1339)
OKLCHoklch(73.06% 0.134 89.6)
XYZxyz(37.7203, 38.8277, 8.3035)
Luminance0.3882 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C9A330 #3056C9
analogous
#C95730 #C9A330 #A3C930
triadic
#C9A330 #30C9A3 #A330C9
tetradic
#C9A330 #30C957 #3056C9 #C930A3
square
#C9A330 #30C957 #3056C9 #C930A3
split-complementary
#C9A330 #30A3C9 #5730C9
monochromatic
#665318 #987B24 #C9A330 #D8BA5E #E4CF8F

Accessibility & contrast

On white

2.40
#C9A330 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.76
#C9A330 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C9A330
8.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C9A330#FFFFFF#000000##000000
##C9A3301.002.408.768.76
#FFFFFF2.401.0021.0021.00
#0000008.7621.001.001.00
##0000008.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A11B
Deuteranopia (green-blind)
#BFAC36
Tritanopia (blue-blind)
#DA958D
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #c9a330;
/* rgb */ color: rgb(201, 163, 48);
/* oklch */ color: oklch(73.1% 0.134 89.6);
Tailwind
colors: {
  custom: {
    50: '#debd71',
    500: '#c9a330',
    950: '#000000',
  },
}
SCSS
$custom: #c9a330;
$custom-light: #debd71;
$custom-dark: #000000;
JSON
{
  "hex": "#c9a330",
  "rgb": {
    "r": 201,
    "g": 163,
    "b": 48
  },
  "hsl": {
    "h": 45.098,
    "s": 61.446,
    "l": 48.824
  },
  "oklch": {
    "l": 0.73058,
    "c": 0.13386,
    "h": 89.6
  },
  "luminance": 0.38825
}

Semantic roles & 50–950 ramp

primary
#C9A330
secondary
#8698CF
accent
#6BE543
background
#FEFBF7
surface
#FCF6ED
border
#D5D0C8
text
#161208
muted
#84817B

Preview Lab

Preview with #C9A330

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

Preview Lab → · Contrast checker → · Palette generator →

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