#A5A141#A5A141

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

Color values

HEX#A5A141
RGBrgb(165, 161, 65)
HSLhsl(58, 43%, 45%)
HSVhsv(58, 61%, 65%)
CMYKcmyk(0%, 2.4%, 60.6%, 35.3%)
CIE-LABlab(64.86, -11.09, 49.18)
CIE-LCHlch(64.86, 50.42, 102.71°)
OKLaboklab(69.32% -0.0342 0.1128)
OKLCHoklch(69.32% 0.118 106.9)
XYZxyz(29.2170, 33.8716, 9.9988)
Luminance0.3387 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5A141 #4145A5
analogous
#A56F41 #A5A141 #77A541
triadic
#A5A141 #41A5A1 #A141A5
tetradic
#A5A141 #41A56F #4145A5 #A54177
square
#A5A141 #41A56F #4145A5 #A54177
split-complementary
#A5A141 #4177A5 #6F41A5
monochromatic
#4D4B1E #797630 #A5A141 #C1BD62 #D2D08E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A5A141#FFFFFF#000000##000000
##A5A1411.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)
#AE9B36
Deuteranopia (green-blind)
#B09F46
Tritanopia (blue-blind)
#B0978C
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #a5a141;
/* rgb */ color: rgb(165, 161, 65);
/* oklch */ color: oklch(69.3% 0.118 106.9);
Tailwind
colors: {
  custom: {
    50: '#c2bc7a',
    500: '#a5a141',
    950: '#000000',
  },
}
SCSS
$custom: #a5a141;
$custom-light: #c2bc7a;
$custom-dark: #000000;
JSON
{
  "hex": "#a5a141",
  "rgb": {
    "r": 165,
    "g": 161,
    "b": 65
  },
  "hsl": {
    "h": 57.6,
    "s": 43.478,
    "l": 45.098
  },
  "oklch": {
    "l": 0.69324,
    "c": 0.11788,
    "h": 106.9
  },
  "luminance": 0.33871
}

Semantic roles & 50–950 ramp

primary
#A5A141
secondary
#8487BE
accent
#5AD355
background
#FCFBF7
surface
#F8F6EE
border
#D1D0C9
text
#131209
muted
#82817B

Preview Lab

Preview with #A5A141

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

Preview Lab → · Contrast checker → · Palette generator →

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