#A5A330#A5A330

#A5A330 is a light, vivid yellow. Relative luminance 0.344; OKLCH L 69.6% C 0.133 H 108.4°. Best body text is #000000 at 7.88:1 contrast (WCAG AA passes).

Color values

HEX#A5A330
RGBrgb(165, 163, 48)
HSLhsl(59, 55%, 42%)
HSVhsv(59, 71%, 65%)
CMYKcmyk(0%, 1.2%, 70.9%, 35.3%)
CIE-LABlab(65.29, -13.19, 56.72)
CIE-LCHlch(65.29, 58.24, 103.09°)
OKLaboklab(69.62% -0.0419 0.126)
OKLCHoklch(69.62% 0.133 108.4)
XYZxyz(29.1488, 34.4080, 7.9017)
Luminance0.3441 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5A330 #3032A5
analogous
#A56930 #A5A330 #6DA530
triadic
#A5A330 #30A5A3 #A330A5
tetradic
#A5A330 #30A569 #3032A5 #A5306D
square
#A5A330 #30A569 #3032A5 #A5306D
split-complementary
#A5A330 #306DA5 #6930A5
monochromatic
#464514 #767422 #A5A330 #CAC848 #D8D678

Accessibility & contrast

On white

2.66
#A5A330 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.88
#A5A330 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5A330
7.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5A330#FFFFFF#000000##000000
##A5A3301.002.667.887.88
#FFFFFF2.661.0021.0021.00
#0000007.8821.001.001.00
##0000007.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09C1D
Deuteranopia (green-blind)
#B2A038
Tritanopia (blue-blind)
#B1988C
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #a5a330;
/* rgb */ color: rgb(165, 163, 48);
/* oklch */ color: oklch(69.6% 0.133 108.4);
Tailwind
colors: {
  custom: {
    50: '#c3be70',
    500: '#a5a330',
    950: '#000000',
  },
}
SCSS
$custom: #a5a330;
$custom-light: #c3be70;
$custom-dark: #000000;
JSON
{
  "hex": "#a5a330",
  "rgb": {
    "r": 165,
    "g": 163,
    "b": 48
  },
  "hsl": {
    "h": 58.974,
    "s": 54.93,
    "l": 41.765
  },
  "oklch": {
    "l": 0.6962,
    "c": 0.13282,
    "h": 108.4
  },
  "luminance": 0.34407
}

Semantic roles & 50–950 ramp

primary
#A5A330
secondary
#7172C0
accent
#4CDE4A
background
#FCFBF7
surface
#F8F6ED
border
#D1D0C8
text
#131208
muted
#82817B

Preview Lab

Preview with #A5A330

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

Preview Lab → · Contrast checker → · Palette generator →

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