#A5A273#A5A273

#A5A273 is a light, moderate yellow. Relative luminance 0.351; OKLCH L 70.3% C 0.064 H 104.9°. Best body text is #000000 at 8.02:1 contrast (WCAG AA passes).

Color values

HEX#A5A273
RGBrgb(165, 162, 115)
HSLhsl(56, 22%, 55%)
HSVhsv(56, 30%, 65%)
CMYKcmyk(0%, 1.8%, 30.3%, 35.3%)
CIE-LABlab(65.81, -6.50, 24.90)
CIE-LCHlch(65.81, 25.74, 104.62°)
OKLaboklab(70.3% -0.0165 0.0623)
OKLCHoklch(70.3% 0.064 104.9)
XYZxyz(31.5321, 35.0784, 21.3261)
Luminance0.3508 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5A273 #7376A5
analogous
#A58973 #A5A273 #8FA573
triadic
#A5A273 #73A5A2 #A273A5
tetradic
#A5A273 #73A589 #7376A5 #A5738F
square
#A5A273 #73A589 #7376A5 #A5738F
split-complementary
#A5A273 #738FA5 #8973A5
monochromatic
#605E3E #858256 #A5A273 #BDBB98 #D5D3BE

Accessibility & contrast

On white

2.62
#A5A273 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.02
#A5A273 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5A273
8.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5A273#FFFFFF#000000##000000
##A5A2731.002.628.028.02
#FFFFFF2.621.0021.0021.00
#0000008.0221.001.001.00
##0000008.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#AA9E70
Deuteranopia (green-blind)
#ACA175
Tritanopia (blue-blind)
#AC9C96
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #a5a273;
/* rgb */ color: rgb(165, 162, 115);
/* oklch */ color: oklch(70.3% 0.064 104.9);
Tailwind
colors: {
  custom: {
    50: '#c0bd9b',
    500: '#a5a273',
    950: '#000000',
  },
}
SCSS
$custom: #a5a273;
$custom-light: #c0bd9b;
$custom-dark: #000000;
JSON
{
  "hex": "#a5a273",
  "rgb": {
    "r": 165,
    "g": 162,
    "b": 115
  },
  "hsl": {
    "h": 56.4,
    "s": 21.739,
    "l": 54.902
  },
  "oklch": {
    "l": 0.70297,
    "c": 0.06441,
    "h": 104.9
  },
  "luminance": 0.35078
}

Semantic roles & 50–950 ramp

primary
#A5A273
secondary
#AFB1C4
accent
#6FBE6A
background
#FBFBF9
surface
#F7F6F2
border
#D0D0CC
text
#12120E
muted
#81817E

Preview Lab

Preview with #A5A273

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

Preview Lab → · Contrast checker → · Palette generator →

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