#C9A833#C9A833

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

Color values

HEX#C9A833
RGBrgb(201, 168, 51)
HSLhsl(47, 60%, 49%)
HSVhsv(47, 75%, 79%)
CMYKcmyk(0%, 16.4%, 74.6%, 21.2%)
CIE-LABlab(69.94, 0.13, 61.24)
CIE-LCHlch(69.94, 61.24, 89.88°)
OKLaboklab(74.1% -0.006 0.1348)
OKLCHoklch(74.1% 0.135 92.5)
XYZxyz(38.6897, 40.6641, 8.9424)
Luminance0.4066 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C9A833 #3354C9
analogous
#C95D33 #C9A833 #9FC933
triadic
#C9A833 #33C9A8 #A833C9
tetradic
#C9A833 #33C95D #3354C9 #C9339F
square
#C9A833 #33C95D #3354C9 #C9339F
split-complementary
#C9A833 #339FC9 #5D33C9
monochromatic
#67561A #987F27 #C9A833 #D7BD62 #E4D293

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C9A833#FFFFFF#000000##000000
##C9A8331.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)
#BBA51F
Deuteranopia (green-blind)
#C3AF3A
Tritanopia (blue-blind)
#D99A91
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #c9a833;
/* rgb */ color: rgb(201, 168, 51);
/* oklch */ color: oklch(74.1% 0.135 92.5);
Tailwind
colors: {
  custom: {
    50: '#dec173',
    500: '#c9a833',
    950: '#000000',
  },
}
SCSS
$custom: #c9a833;
$custom-light: #dec173;
$custom-dark: #000000;
JSON
{
  "hex": "#c9a833",
  "rgb": {
    "r": 201,
    "g": 168,
    "b": 51
  },
  "hsl": {
    "h": 46.8,
    "s": 59.524,
    "l": 49.412
  },
  "oklch": {
    "l": 0.741,
    "c": 0.1349,
    "h": 92.5
  },
  "luminance": 0.40662
}

Semantic roles & 50–950 ramp

primary
#C9A833
secondary
#8999CF
accent
#68E345
background
#FEFBF7
surface
#FCF7ED
border
#D5D0C8
text
#161208
muted
#84817B

Preview Lab

Preview with #C9A833

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

Preview Lab → · Contrast checker → · Palette generator →

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