#A5A045#A5A045

#A5A045 is a light, moderate yellow. Relative luminance 0.336; OKLCH L 69.1% C 0.113 H 106.1°. Best body text is #000000 at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#A5A045
RGBrgb(165, 160, 69)
HSLhsl(57, 41%, 46%)
HSVhsv(57, 58%, 65%)
CMYKcmyk(0%, 3%, 58.2%, 35.3%)
CIE-LABlab(64.62, -10.27, 47.08)
CIE-LCHlch(64.62, 48.18, 102.30°)
OKLaboklab(69.15% -0.0314 0.1089)
OKLCHoklch(69.15% 0.113 106.1)
XYZxyz(29.1629, 33.5715, 10.5728)
Luminance0.3357 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5A045 #454AA5
analogous
#A57045 #A5A045 #7AA545
triadic
#A5A045 #45A5A0 #A045A5
tetradic
#A5A045 #45A570 #454AA5 #A5457A
square
#A5A045 #45A570 #454AA5 #A5457A
split-complementary
#A5A045 #457AA5 #7045A5
monochromatic
#4F4C21 #7A7633 #A5A045 #C0BB68 #D2CE93

Accessibility & contrast

On white

2.72
#A5A045 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.71
#A5A045 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5A045
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5A045#FFFFFF#000000##000000
##A5A0451.002.727.717.71
#FFFFFF2.721.0021.0021.00
#0000007.7121.001.001.00
##0000007.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#AC9A3B
Deuteranopia (green-blind)
#AF9F4A
Tritanopia (blue-blind)
#B0968C
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #a5a045;
/* rgb */ color: rgb(165, 160, 69);
/* oklch */ color: oklch(69.1% 0.113 106.1);
Tailwind
colors: {
  custom: {
    50: '#c2bb7c',
    500: '#a5a045',
    950: '#000000',
  },
}
SCSS
$custom: #a5a045;
$custom-light: #c2bb7c;
$custom-dark: #000000;
JSON
{
  "hex": "#a5a045",
  "rgb": {
    "r": 165,
    "g": 160,
    "b": 69
  },
  "hsl": {
    "h": 56.875,
    "s": 41.026,
    "l": 45.882
  },
  "oklch": {
    "l": 0.69146,
    "c": 0.11329,
    "h": 106.1
  },
  "luminance": 0.33571
}

Semantic roles & 50–950 ramp

primary
#A5A045
secondary
#888BBD
accent
#5DD157
background
#FCFBF7
surface
#F8F6EE
border
#D1D0C9
text
#13110A
muted
#82807C

Preview Lab

Preview with #A5A045

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

Preview Lab → · Contrast checker → · Palette generator →

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