#AC9830#AC9830

#AC9830 is a light, vivid yellow. Relative luminance 0.314; OKLCH L 67.9% C 0.122 H 98.0°. Best body text is #000000 at 7.29:1 contrast (WCAG AA passes).

Color values

HEX#AC9830
RGBrgb(172, 152, 48)
HSLhsl(50, 56%, 43%)
HSVhsv(50, 72%, 67%)
CMYKcmyk(0%, 11.6%, 72.1%, 32.5%)
CIE-LABlab(62.88, -4.26, 54.57)
CIE-LCHlch(62.88, 54.73, 94.46°)
OKLaboklab(67.86% -0.0171 0.1212)
OKLCHoklch(67.86% 0.122 98)
XYZxyz(28.7764, 31.4420, 7.3489)
Luminance0.3144 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC9830 #3044AC
analogous
#AC5A30 #AC9830 #82AC30
triadic
#AC9830 #30AC98 #9830AC
tetradic
#AC9830 #30AC5A #3044AC #AC3082
square
#AC9830 #30AC5A #3044AC #AC3082
split-complementary
#AC9830 #3082AC #5A30AC
monochromatic
#4C4315 #7C6E23 #AC9830 #CDB84C #DACB7C

Accessibility & contrast

On white

2.88
#AC9830 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.29
#AC9830 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AC9830
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC9830#FFFFFF#000000##000000
##AC98301.002.887.297.29
#FFFFFF2.881.0021.0021.00
#0000007.2921.001.001.00
##0000007.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#A79420
Deuteranopia (green-blind)
#AC9B36
Tritanopia (blue-blind)
#BA8C83
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #ac9830;
/* rgb */ color: rgb(172, 152, 48);
/* oklch */ color: oklch(67.9% 0.122 98.0);
Tailwind
colors: {
  custom: {
    50: '#c8b66f',
    500: '#ac9830',
    950: '#000000',
  },
}
SCSS
$custom: #ac9830;
$custom-light: #c8b66f;
$custom-dark: #000000;
JSON
{
  "hex": "#ac9830",
  "rgb": {
    "r": 172,
    "g": 152,
    "b": 48
  },
  "hsl": {
    "h": 50.323,
    "s": 56.364,
    "l": 43.137
  },
  "oklch": {
    "l": 0.67857,
    "c": 0.12242,
    "h": 98
  },
  "luminance": 0.31441
}

Semantic roles & 50–950 ramp

primary
#AC9830
secondary
#7581C3
accent
#61E048
background
#FCFBF6
surface
#F9F6EC
border
#D2D0C7
text
#141108
muted
#82807B

Preview Lab

Preview with #AC9830

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

Preview Lab → · Contrast checker → · Palette generator →

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