#A5AC30#A5AC30

#A5AC30 is a light, vivid yellow. Relative luminance 0.377; OKLCH L 71.6% C 0.142 H 112.7°. Best body text is #000000 at 8.54:1 contrast (WCAG AA passes).

Color values

HEX#A5AC30
RGBrgb(165, 172, 48)
HSLhsl(63, 56%, 43%)
HSVhsv(63, 72%, 67%)
CMYKcmyk(4.1%, 0%, 72.1%, 32.5%)
CIE-LABlab(67.81, -17.81, 59.18)
CIE-LCHlch(67.81, 61.81, 106.75°)
OKLaboklab(71.64% -0.0549 0.1312)
OKLCHoklch(71.64% 0.142 112.7)
XYZxyz(30.8040, 37.7185, 8.4534)
Luminance0.3772 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5AC30 #3730AC
analogous
#AC7530 #A5AC30 #67AC30
triadic
#A5AC30 #30A5AC #AC30A5
tetradic
#A5AC30 #30AC75 #3730AC #AC3067
square
#A5AC30 #30AC75 #3730AC #AC3067
split-complementary
#A5AC30 #3067AC #7530AC
monochromatic
#494C15 #777C23 #A5AC30 #C6CD4C #D5DA7C

Accessibility & contrast

On white

2.46
#A5AC30 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.54
#A5AC30 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5AC30
8.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5AC30#FFFFFF#000000##000000
##A5AC301.002.468.548.54
#FFFFFF2.461.0021.0021.00
#0000008.5421.001.001.00
##0000008.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A419
Deuteranopia (green-blind)
#B9A73A
Tritanopia (blue-blind)
#B0A294
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #a5ac30;
/* rgb */ color: rgb(165, 172, 48);
/* oklch */ color: oklch(71.6% 0.142 112.7);
Tailwind
colors: {
  custom: {
    50: '#c3c471',
    500: '#a5ac30',
    950: '#000000',
  },
}
SCSS
$custom: #a5ac30;
$custom-light: #c3c471;
$custom-dark: #000000;
JSON
{
  "hex": "#a5ac30",
  "rgb": {
    "r": 165,
    "g": 172,
    "b": 48
  },
  "hsl": {
    "h": 63.387,
    "s": 56.364,
    "l": 43.137
  },
  "oklch": {
    "l": 0.71641,
    "c": 0.14223,
    "h": 112.7
  },
  "luminance": 0.37718
}

Semantic roles & 50–950 ramp

primary
#A5AC30
secondary
#7975C3
accent
#48E051
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131208
muted
#82817B

Preview Lab

Preview with #A5AC30

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

Preview Lab → · Contrast checker → · Palette generator →

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