#AC9E2F#AC9E2F

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

Color values

HEX#AC9E2F
RGBrgb(172, 158, 47)
HSLhsl(53, 57%, 43%)
HSVhsv(53, 73%, 67%)
CMYKcmyk(0%, 8.1%, 72.7%, 32.5%)
CIE-LABlab(64.51, -7.52, 56.55)
CIE-LCHlch(64.51, 57.05, 97.57°)
OKLaboklab(69.15% -0.0265 0.1252)
OKLCHoklch(69.15% 0.128 101.9)
XYZxyz(29.7545, 33.4309, 7.5743)
Luminance0.3343 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC9E2F #2F3DAC
analogous
#AC5F2F #AC9E2F #7BAC2F
triadic
#AC9E2F #2FAC9E #9E2FAC
tetradic
#AC9E2F #2FAC5F #2F3DAC #AC2F7B
square
#AC9E2F #2FAC5F #2F3DAC #AC2F7B
split-complementary
#AC9E2F #2F7BAC #5F2FAC
monochromatic
#4C4615 #7C7222 #AC9E2F #CEBF4B #DBD07B

Accessibility & contrast

On white

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

On black

7.69
#AC9E2F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AC9E2F
7.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC9E2F#FFFFFF#000000##000000
##AC9E2F1.002.737.697.69
#FFFFFF2.731.0021.0021.00
#0000007.6921.001.001.00
##0000007.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#AD991C
Deuteranopia (green-blind)
#B19F36
Tritanopia (blue-blind)
#B99388
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #ac9e2f;
/* rgb */ color: rgb(172, 158, 47);
/* oklch */ color: oklch(69.1% 0.128 101.9);
Tailwind
colors: {
  custom: {
    50: '#c8ba6f',
    500: '#ac9e2f',
    950: '#000000',
  },
}
SCSS
$custom: #ac9e2f;
$custom-light: #c8ba6f;
$custom-dark: #000000;
JSON
{
  "hex": "#ac9e2f",
  "rgb": {
    "r": 172,
    "g": 158,
    "b": 47
  },
  "hsl": {
    "h": 53.28,
    "s": 57.078,
    "l": 42.941
  },
  "oklch": {
    "l": 0.69147,
    "c": 0.128,
    "h": 101.9
  },
  "luminance": 0.3343
}

Semantic roles & 50–950 ramp

primary
#AC9E2F
secondary
#747DC3
accent
#59E047
background
#FCFBF7
surface
#F9F6ED
border
#D2D0C8
text
#141108
muted
#82807B

Preview Lab

Preview with #AC9E2F

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

Preview Lab → · Contrast checker → · Palette generator →

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