#ACB271#ACB271

#ACB271 is a light, moderate yellow. Relative luminance 0.418; OKLCH L 74.3% C 0.087 H 112.8°. Best body text is #000000 at 9.36:1 contrast (WCAG AA passes).

Color values

HEX#ACB271
RGBrgb(172, 178, 113)
HSLhsl(66, 30%, 57%)
HSVhsv(66, 37%, 70%)
CMYKcmyk(3.4%, 0%, 36.5%, 30.2%)
CIE-LABlab(70.74, -12.38, 32.55)
CIE-LCHlch(70.74, 34.82, 110.83°)
OKLaboklab(74.34% -0.0336 0.08)
OKLCHoklch(74.34% 0.087 112.8)
XYZxyz(35.9145, 41.8042, 21.7966)
Luminance0.4180 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ACB271 #7771B2
analogous
#B29771 #ACB271 #8CB271
triadic
#ACB271 #71ACB2 #B271AC
tetradic
#ACB271 #71B297 #7771B2 #B2718C
square
#ACB271 #71B297 #7771B2 #B2718C
split-complementary
#ACB271 #718CB2 #9771B2
monochromatic
#696D3B #8F9551 #ACB271 #C3C899 #DADDC0

Accessibility & contrast

On white

2.24
#ACB271 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.36
#ACB271 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ACB271
9.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ACB271#FFFFFF#000000##000000
##ACB2711.002.249.369.36
#FFFFFF2.241.0021.0021.00
#0000009.3621.001.001.00
##0000009.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBAC6C
Deuteranopia (green-blind)
#BBAE74
Tritanopia (blue-blind)
#B4ABA2
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #acb271;
/* rgb */ color: rgb(172, 178, 113);
/* oklch */ color: oklch(74.3% 0.087 112.8);
Tailwind
colors: {
  custom: {
    50: '#c5c99a',
    500: '#acb271',
    950: '#000000',
  },
}
SCSS
$custom: #acb271;
$custom-light: #c5c99a;
$custom-dark: #000000;
JSON
{
  "hex": "#acb271",
  "rgb": {
    "r": 172,
    "g": 178,
    "b": 113
  },
  "hsl": {
    "h": 65.538,
    "s": 29.68,
    "l": 57.059
  },
  "oklch": {
    "l": 0.74337,
    "c": 0.08682,
    "h": 112.8
  },
  "luminance": 0.41804
}

Semantic roles & 50–950 ramp

primary
#ACB271
secondary
#B5B2CD
accent
#62C66B
background
#FCFCF9
surface
#F8F8F2
border
#D1D1CC
text
#13130E
muted
#82827E

Preview Lab

Preview with #ACB271

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

Preview Lab → · Contrast checker → · Palette generator →

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