#A0AC38#A0AC38

#A0AC38 is a light, vivid yellow. Relative luminance 0.373; OKLCH L 71.3% C 0.138 H 115.0°. Best body text is #000000 at 8.45:1 contrast (WCAG AA passes).

Color values

HEX#A0AC38
RGBrgb(160, 172, 56)
HSLhsl(66, 51%, 45%)
HSVhsv(66, 67%, 67%)
CMYKcmyk(7%, 0%, 67.4%, 32.5%)
CIE-LABlab(67.48, -19.51, 55.67)
CIE-LCHlch(67.48, 58.99, 109.31°)
OKLaboklab(71.29% -0.0585 0.1253)
OKLCHoklch(71.29% 0.138 115)
XYZxyz(29.9643, 37.2646, 9.3549)
Luminance0.3726 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A0AC38 #4438AC
analogous
#AC7E38 #A0AC38 #66AC38
triadic
#A0AC38 #38A0AC #AC38A0
tetradic
#A0AC38 #38AC7E #4438AC #AC3866
square
#A0AC38 #38AC7E #4438AC #AC3866
split-complementary
#A0AC38 #3866AC #7E38AC
monochromatic
#4A501A #757E29 #A0AC38 #BDC958 #CFD887

Accessibility & contrast

On white

2.48
#A0AC38 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.45
#A0AC38 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A0AC38
8.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A0AC38#FFFFFF#000000##000000
##A0AC381.002.488.458.45
#FFFFFF2.481.0021.0021.00
#0000008.4521.001.001.00
##0000008.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A327
Deuteranopia (green-blind)
#B7A540
Tritanopia (blue-blind)
#AAA295
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #a0ac38;
/* rgb */ color: rgb(160, 172, 56);
/* oklch */ color: oklch(71.3% 0.138 115.0);
Tailwind
colors: {
  custom: {
    50: '#bfc475',
    500: '#a0ac38',
    950: '#000000',
  },
}
SCSS
$custom: #a0ac38;
$custom-light: #bfc475;
$custom-dark: #000000;
JSON
{
  "hex": "#a0ac38",
  "rgb": {
    "r": 160,
    "g": 172,
    "b": 56
  },
  "hsl": {
    "h": 66.207,
    "s": 50.877,
    "l": 44.706
  },
  "oklch": {
    "l": 0.71291,
    "c": 0.1383,
    "h": 115
  },
  "luminance": 0.37264
}

Semantic roles & 50–950 ramp

primary
#A0AC38
secondary
#857EC2
accent
#4DDA5C
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131209
muted
#82817B

Preview Lab

Preview with #A0AC38

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

Preview Lab → · Contrast checker → · Palette generator →

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