#A5A149#A5A149

#A5A149 is a light, moderate yellow. Relative luminance 0.340; OKLCH L 69.4% C 0.111 H 106.6°. Best body text is #000000 at 7.79:1 contrast (WCAG AA passes).

Color values

HEX#A5A149
RGBrgb(165, 161, 73)
HSLhsl(57, 39%, 47%)
HSVhsv(57, 56%, 65%)
CMYKcmyk(0%, 2.4%, 55.8%, 35.3%)
CIE-LABlab(64.94, -10.48, 45.54)
CIE-LCHlch(64.94, 46.73, 102.96°)
OKLaboklab(69.41% -0.0315 0.1061)
OKLCHoklch(69.41% 0.111 106.6)
XYZxyz(29.4654, 33.9710, 11.3070)
Luminance0.3397 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5A149 #494DA5
analogous
#A57349 #A5A149 #7BA549
triadic
#A5A149 #49A5A1 #A149A5
tetradic
#A5A149 #49A573 #494DA5 #A5497B
square
#A5A149 #49A573 #494DA5 #A5497B
split-complementary
#A5A149 #497BA5 #7349A5
monochromatic
#504E23 #7B7836 #A5A149 #BEBB6D #D1CF97

Accessibility & contrast

On white

2.69
#A5A149 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.79
#A5A149 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5A149
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5A149#FFFFFF#000000##000000
##A5A1491.002.697.797.79
#FFFFFF2.691.0021.0021.00
#0000007.7921.001.001.00
##0000007.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#AD9B40
Deuteranopia (green-blind)
#AF9F4E
Tritanopia (blue-blind)
#B0988E
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #a5a149;
/* rgb */ color: rgb(165, 161, 73);
/* oklch */ color: oklch(69.4% 0.111 106.6);
Tailwind
colors: {
  custom: {
    50: '#c2bc7f',
    500: '#a5a149',
    950: '#000000',
  },
}
SCSS
$custom: #a5a149;
$custom-light: #c2bc7f;
$custom-dark: #000000;
JSON
{
  "hex": "#a5a149",
  "rgb": {
    "r": 165,
    "g": 161,
    "b": 73
  },
  "hsl": {
    "h": 57.391,
    "s": 38.655,
    "l": 46.667
  },
  "oklch": {
    "l": 0.69413,
    "c": 0.11064,
    "h": 106.6
  },
  "luminance": 0.3397
}

Semantic roles & 50–950 ramp

primary
#A5A149
secondary
#8D8FBD
accent
#5ECF59
background
#FCFBF7
surface
#F8F6EE
border
#D1D0C9
text
#13120A
muted
#82817C

Preview Lab

Preview with #A5A149

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

Preview Lab → · Contrast checker → · Palette generator →

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