#A5A145#A5A145

#A5A145 is a light, moderate yellow. Relative luminance 0.339; OKLCH L 69.4% C 0.114 H 106.7°. Best body text is #000000 at 7.78:1 contrast (WCAG AA passes).

Color values

HEX#A5A145
RGBrgb(165, 161, 69)
HSLhsl(58, 41%, 46%)
HSVhsv(58, 58%, 65%)
CMYKcmyk(0%, 2.4%, 58.2%, 35.3%)
CIE-LABlab(64.90, -10.80, 47.39)
CIE-LCHlch(64.90, 48.60, 102.83°)
OKLaboklab(69.37% -0.0329 0.1095)
OKLCHoklch(69.37% 0.114 106.7)
XYZxyz(29.3370, 33.9196, 10.6308)
Luminance0.3392 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5A145 #4549A5
analogous
#A57145 #A5A145 #79A545
triadic
#A5A145 #45A5A1 #A145A5
tetradic
#A5A145 #45A571 #4549A5 #A54579
square
#A5A145 #45A571 #4549A5 #A54579
split-complementary
#A5A145 #4579A5 #7145A5
monochromatic
#4F4D21 #7A7733 #A5A145 #C0BC68 #D2CF93

Accessibility & contrast

On white

2.70
#A5A145 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.78
#A5A145 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5A145
7.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5A145#FFFFFF#000000##000000
##A5A1451.002.707.787.78
#FFFFFF2.701.0021.0021.00
#0000007.7821.001.001.00
##0000007.7821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a5a145;
/* rgb */ color: rgb(165, 161, 69);
/* oklch */ color: oklch(69.4% 0.114 106.7);
Tailwind
colors: {
  custom: {
    50: '#c2bc7c',
    500: '#a5a145',
    950: '#000000',
  },
}
SCSS
$custom: #a5a145;
$custom-light: #c2bc7c;
$custom-dark: #000000;
JSON
{
  "hex": "#a5a145",
  "rgb": {
    "r": 165,
    "g": 161,
    "b": 69
  },
  "hsl": {
    "h": 57.5,
    "s": 41.026,
    "l": 45.882
  },
  "oklch": {
    "l": 0.69367,
    "c": 0.11434,
    "h": 106.7
  },
  "luminance": 0.33919
}

Semantic roles & 50–950 ramp

primary
#A5A145
secondary
#888BBD
accent
#5CD157
background
#FCFBF7
surface
#F8F6EE
border
#D1D0C9
text
#13120A
muted
#82817C

Preview Lab

Preview with #A5A145

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

Preview Lab → · Contrast checker → · Palette generator →

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