#AC9E2B#AC9E2B

#AC9E2B is a light, vivid yellow. Relative luminance 0.334; OKLCH L 69.1% C 0.130 H 102.1°. Best body text is #000000 at 7.68:1 contrast (WCAG AA passes).

Color values

HEX#AC9E2B
RGBrgb(172, 158, 43)
HSLhsl(53, 60%, 42%)
HSVhsv(53, 75%, 67%)
CMYKcmyk(0%, 8.1%, 75%, 32.5%)
CIE-LABlab(64.48, -7.70, 58.01)
CIE-LCHlch(64.48, 58.52, 97.57°)
OKLaboklab(69.12% -0.0274 0.1276)
OKLCHoklch(69.12% 0.13 102.1)
XYZxyz(29.6775, 33.4001, 7.1687)
Luminance0.3340 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC9E2B #2B39AC
analogous
#AC5D2B #AC9E2B #7AAC2B
triadic
#AC9E2B #2BAC9E #9E2BAC
tetradic
#AC9E2B #2BAC5D #2B39AC #AC2B7A
square
#AC9E2B #2BAC5D #2B39AC #AC2B7A
split-complementary
#AC9E2B #2B7AAC #5D2BAC
monochromatic
#4A4413 #7B711F #AC9E2B #D0C144 #DCD175

Accessibility & contrast

On white

2.73
#AC9E2B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.68
#AC9E2B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AC9E2B
7.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC9E2B#FFFFFF#000000##000000
##AC9E2B1.002.737.687.68
#FFFFFF2.731.0021.0021.00
#0000007.6821.001.001.00
##0000007.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#AD9915
Deuteranopia (green-blind)
#B19F33
Tritanopia (blue-blind)
#B99288
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #ac9e2b;
/* rgb */ color: rgb(172, 158, 43);
/* oklch */ color: oklch(69.1% 0.130 102.1);
Tailwind
colors: {
  custom: {
    50: '#c8ba6d',
    500: '#ac9e2b',
    950: '#000000',
  },
}
SCSS
$custom: #ac9e2b;
$custom-light: #c8ba6d;
$custom-dark: #000000;
JSON
{
  "hex": "#ac9e2b",
  "rgb": {
    "r": 172,
    "g": 158,
    "b": 43
  },
  "hsl": {
    "h": 53.488,
    "s": 60,
    "l": 42.157
  },
  "oklch": {
    "l": 0.6912,
    "c": 0.13046,
    "h": 102.1
  },
  "luminance": 0.33399
}

Semantic roles & 50–950 ramp

primary
#AC9E2B
secondary
#6F78C4
accent
#56E345
background
#FCFBF6
surface
#F9F6EC
border
#D2D0C7
text
#141107
muted
#82807A

Preview Lab

Preview with #AC9E2B

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

Preview Lab → · Contrast checker → · Palette generator →

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