#AC9F28#AC9F28

#AC9F28 is a light, vivid yellow. Relative luminance 0.337; OKLCH L 69.3% C 0.133 H 102.8°. Best body text is #000000 at 7.74:1 contrast (WCAG AA passes).

Color values

HEX#AC9F28
RGBrgb(172, 159, 40)
HSLhsl(54, 62%, 42%)
HSVhsv(54, 77%, 67%)
CMYKcmyk(0%, 7.6%, 76.7%, 32.5%)
CIE-LABlab(64.74, -8.36, 59.29)
CIE-LCHlch(64.74, 59.88, 98.03°)
OKLaboklab(69.32% -0.0296 0.1297)
OKLCHoklch(69.32% 0.133 102.8)
XYZxyz(29.7958, 33.7214, 6.9465)
Luminance0.3372 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC9F28 #2835AC
analogous
#AC5D28 #AC9F28 #77AC28
triadic
#AC9F28 #28AC9F #9F28AC
tetradic
#AC9F28 #28AC5D #2835AC #AC2877
square
#AC9F28 #28AC5D #2835AC #AC2877
split-complementary
#AC9F28 #2877AC #5D28AC
monochromatic
#494311 #7A711C #AC9F28 #D2C43F #DED371

Accessibility & contrast

On white

2.71
#AC9F28 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.74
#AC9F28 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AC9F28
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC9F28#FFFFFF#000000##000000
##AC9F281.002.717.747.74
#FFFFFF2.711.0021.0021.00
#0000007.7421.001.001.00
##0000007.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9A0D
Deuteranopia (green-blind)
#B2A031
Tritanopia (blue-blind)
#B99388
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #ac9f28;
/* rgb */ color: rgb(172, 159, 40);
/* oklch */ color: oklch(69.3% 0.133 102.8);
Tailwind
colors: {
  custom: {
    50: '#c9bb6c',
    500: '#ac9f28',
    950: '#000000',
  },
}
SCSS
$custom: #ac9f28;
$custom-light: #c9bb6c;
$custom-dark: #000000;
JSON
{
  "hex": "#ac9f28",
  "rgb": {
    "r": 172,
    "g": 159,
    "b": 40
  },
  "hsl": {
    "h": 54.091,
    "s": 62.264,
    "l": 41.569
  },
  "oklch": {
    "l": 0.69319,
    "c": 0.13303,
    "h": 102.8
  },
  "luminance": 0.3372
}

Semantic roles & 50–950 ramp

primary
#AC9F28
secondary
#6B74C5
accent
#53E542
background
#FCFBF6
surface
#F9F6EC
border
#D2D0C7
text
#141107
muted
#82807A

Preview Lab

Preview with #AC9F28

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

Preview Lab → · Contrast checker → · Palette generator →

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