#C9A830#C9A830

#C9A830 is a light, vivid yellow. Relative luminance 0.406; OKLCH L 74.1% C 0.137 H 92.8°. Best body text is #000000 at 9.13:1 contrast (WCAG AA passes).

Color values

HEX#C9A830
RGBrgb(201, 168, 48)
HSLhsl(47, 61%, 49%)
HSVhsv(47, 76%, 79%)
CMYKcmyk(0%, 16.4%, 76.1%, 21.2%)
CIE-LABlab(69.92, 0.00, 62.31)
CIE-LCHlch(69.92, 62.31, 90.00°)
OKLaboklab(74.08% -0.0066 0.1365)
OKLCHoklch(74.08% 0.137 92.8)
XYZxyz(38.6257, 40.6385, 8.6053)
Luminance0.4064 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C9A830 #3051C9
analogous
#C95C30 #C9A830 #9EC930
triadic
#C9A830 #30C9A8 #A830C9
tetradic
#C9A830 #30C95C #3051C9 #C9309E
square
#C9A830 #30C95C #3051C9 #C9309E
split-complementary
#C9A830 #309EC9 #5C30C9
monochromatic
#665518 #987F24 #C9A830 #D8BE5E #E4D28F

Accessibility & contrast

On white

2.30
#C9A830 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.13
#C9A830 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C9A830
9.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C9A830#FFFFFF#000000##000000
##C9A8301.002.309.139.13
#FFFFFF2.301.0021.0021.00
#0000009.1321.001.001.00
##0000009.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA519
Deuteranopia (green-blind)
#C3AF37
Tritanopia (blue-blind)
#DA9A91
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #c9a830;
/* rgb */ color: rgb(201, 168, 48);
/* oklch */ color: oklch(74.1% 0.137 92.8);
Tailwind
colors: {
  custom: {
    50: '#dec171',
    500: '#c9a830',
    950: '#000000',
  },
}
SCSS
$custom: #c9a830;
$custom-light: #dec171;
$custom-dark: #000000;
JSON
{
  "hex": "#c9a830",
  "rgb": {
    "r": 201,
    "g": 168,
    "b": 48
  },
  "hsl": {
    "h": 47.059,
    "s": 61.446,
    "l": 48.824
  },
  "oklch": {
    "l": 0.7408,
    "c": 0.13662,
    "h": 92.8
  },
  "luminance": 0.40636
}

Semantic roles & 50–950 ramp

primary
#C9A830
secondary
#8696CF
accent
#66E543
background
#FEFBF7
surface
#FCF7ED
border
#D5D0C8
text
#161208
muted
#84817B

Preview Lab

Preview with #C9A830

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

Preview Lab → · Contrast checker → · Palette generator →

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