#AC9F2B#AC9F2B

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

Color values

HEX#AC9F2B
RGBrgb(172, 159, 43)
HSLhsl(54, 60%, 42%)
HSVhsv(54, 75%, 67%)
CMYKcmyk(0%, 7.6%, 75%, 32.5%)
CIE-LABlab(64.76, -8.23, 58.26)
CIE-LCHlch(64.76, 58.84, 98.04°)
OKLaboklab(69.34% -0.0289 0.1281)
OKLCHoklch(69.34% 0.131 102.7)
XYZxyz(29.8488, 33.7426, 7.2258)
Luminance0.3374 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC9F2B #2B38AC
analogous
#AC5E2B #AC9F2B #79AC2B
triadic
#AC9F2B #2BAC9F #9F2BAC
tetradic
#AC9F2B #2BAC5E #2B38AC #AC2B79
square
#AC9F2B #2BAC5E #2B38AC #AC2B79
split-complementary
#AC9F2B #2B79AC #5E2BAC
monochromatic
#4A4413 #7B721F #AC9F2B #D0C244 #DCD275

Accessibility & contrast

On white

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

On black

7.75
#AC9F2B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AC9F2B
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC9F2B#FFFFFF#000000##000000
##AC9F2B1.002.717.757.75
#FFFFFF2.711.0021.0021.00
#0000007.7521.001.001.00
##0000007.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9A14
Deuteranopia (green-blind)
#B2A033
Tritanopia (blue-blind)
#B99389
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #ac9f2b;
/* rgb */ color: rgb(172, 159, 43);
/* oklch */ color: oklch(69.3% 0.131 102.7);
Tailwind
colors: {
  custom: {
    50: '#c8bb6d',
    500: '#ac9f2b',
    950: '#000000',
  },
}
SCSS
$custom: #ac9f2b;
$custom-light: #c8bb6d;
$custom-dark: #000000;
JSON
{
  "hex": "#ac9f2b",
  "rgb": {
    "r": 172,
    "g": 159,
    "b": 43
  },
  "hsl": {
    "h": 53.953,
    "s": 60,
    "l": 42.157
  },
  "oklch": {
    "l": 0.69338,
    "c": 0.13132,
    "h": 102.7
  },
  "luminance": 0.33741
}

Semantic roles & 50–950 ramp

primary
#AC9F2B
secondary
#6F77C4
accent
#55E345
background
#FCFBF6
surface
#F9F6EC
border
#D2D0C7
text
#141108
muted
#82807B

Preview Lab

Preview with #AC9F2B

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

Preview Lab → · Contrast checker → · Palette generator →

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