#A5A140#A5A140

#A5A140 is a light, moderate yellow. Relative luminance 0.339; OKLCH L 69.3% C 0.119 H 106.9°. Best body text is #000000 at 7.77:1 contrast (WCAG AA passes).

Color values

HEX#A5A140
RGBrgb(165, 161, 64)
HSLhsl(58, 44%, 45%)
HSVhsv(58, 61%, 65%)
CMYKcmyk(0%, 2.4%, 61.2%, 35.3%)
CIE-LABlab(64.85, -11.16, 49.62)
CIE-LCHlch(64.85, 50.86, 102.68°)
OKLaboklab(69.31% -0.0345 0.1136)
OKLCHoklch(69.31% 0.119 106.9)
XYZxyz(29.1883, 33.8601, 9.8476)
Luminance0.3386 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5A140 #4044A5
analogous
#A56F40 #A5A140 #76A540
triadic
#A5A140 #40A5A1 #A140A5
tetradic
#A5A140 #40A56F #4044A5 #A54076
square
#A5A140 #40A56F #4044A5 #A54076
split-complementary
#A5A140 #4076A5 #6F40A5
monochromatic
#4D4B1E #79762F #A5A140 #C2BE61 #D3D08D

Accessibility & contrast

On white

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

On black

7.77
#A5A140 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5A140
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5A140#FFFFFF#000000##000000
##A5A1401.002.707.777.77
#FFFFFF2.701.0021.0021.00
#0000007.7721.001.001.00
##0000007.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9B35
Deuteranopia (green-blind)
#B09F46
Tritanopia (blue-blind)
#B0978C
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #a5a140;
/* rgb */ color: rgb(165, 161, 64);
/* oklch */ color: oklch(69.3% 0.119 106.9);
Tailwind
colors: {
  custom: {
    50: '#c2bc79',
    500: '#a5a140',
    950: '#000000',
  },
}
SCSS
$custom: #a5a140;
$custom-light: #c2bc79;
$custom-dark: #000000;
JSON
{
  "hex": "#a5a140",
  "rgb": {
    "r": 165,
    "g": 161,
    "b": 64
  },
  "hsl": {
    "h": 57.624,
    "s": 44.105,
    "l": 44.902
  },
  "oklch": {
    "l": 0.69314,
    "c": 0.11873,
    "h": 106.9
  },
  "luminance": 0.33859
}

Semantic roles & 50–950 ramp

primary
#A5A140
secondary
#8386BE
accent
#59D454
background
#FCFBF7
surface
#F8F6EE
border
#D1D0C9
text
#131209
muted
#82817B

Preview Lab

Preview with #A5A140

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

Preview Lab → · Contrast checker → · Palette generator →

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