#A5A930#A5A930

#A5A930 is a light, vivid yellow. Relative luminance 0.366; OKLCH L 71.0% C 0.139 H 111.4°. Best body text is #000000 at 8.32:1 contrast (WCAG AA passes).

Color values

HEX#A5A930
RGBrgb(165, 169, 48)
HSLhsl(62, 56%, 43%)
HSVhsv(62, 72%, 66%)
CMYKcmyk(2.4%, 0%, 71.6%, 33.7%)
CIE-LABlab(66.97, -16.28, 58.37)
CIE-LCHlch(66.97, 60.59, 105.59°)
OKLaboklab(70.97% -0.0506 0.1295)
OKLCHoklch(70.97% 0.139 111.4)
XYZxyz(30.2395, 36.5894, 8.2653)
Luminance0.3659 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5A930 #3430A9
analogous
#A97030 #A5A930 #69A930
triadic
#A5A930 #30A5A9 #A930A5
tetradic
#A5A930 #30A970 #3430A9 #A93069
square
#A5A930 #30A970 #3430A9 #A93069
split-complementary
#A5A930 #3069A9 #7030A9
monochromatic
#484A15 #767922 #A5A930 #C7CC4A #D6D97A

Accessibility & contrast

On white

2.52
#A5A930 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.32
#A5A930 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5A930
8.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5A930#FFFFFF#000000##000000
##A5A9301.002.528.328.32
#FFFFFF2.521.0021.0021.00
#0000008.3221.001.001.00
##0000008.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A11A
Deuteranopia (green-blind)
#B7A439
Tritanopia (blue-blind)
#B09E91
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #a5a930;
/* rgb */ color: rgb(165, 169, 48);
/* oklch */ color: oklch(71.0% 0.139 111.4);
Tailwind
colors: {
  custom: {
    50: '#c3c271',
    500: '#a5a930',
    950: '#000000',
  },
}
SCSS
$custom: #a5a930;
$custom-light: #c3c271;
$custom-dark: #000000;
JSON
{
  "hex": "#a5a930",
  "rgb": {
    "r": 165,
    "g": 169,
    "b": 48
  },
  "hsl": {
    "h": 61.983,
    "s": 55.76,
    "l": 42.549
  },
  "oklch": {
    "l": 0.70965,
    "c": 0.13903,
    "h": 111.4
  },
  "luminance": 0.36589
}

Semantic roles & 50–950 ramp

primary
#A5A930
secondary
#7673C2
accent
#49DF4E
background
#FCFBF7
surface
#F8F7ED
border
#D1D0C8
text
#131208
muted
#82817B

Preview Lab

Preview with #A5A930

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

Preview Lab → · Contrast checker → · Palette generator →

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