#A5A25C#A5A25C

#A5A25C is a light, moderate yellow. Relative luminance 0.346; OKLCH L 69.9% C 0.092 H 106.4°. Best body text is #000000 at 7.92:1 contrast (WCAG AA passes).

Color values

HEX#A5A25C
RGBrgb(165, 162, 92)
HSLhsl(58, 29%, 50%)
HSVhsv(58, 44%, 65%)
CMYKcmyk(0%, 1.8%, 44.2%, 35.3%)
CIE-LABlab(65.45, -9.24, 36.66)
CIE-LCHlch(65.45, 37.81, 104.14°)
OKLaboklab(69.89% -0.026 0.0883)
OKLCHoklch(69.89% 0.092 106.4)
XYZxyz(30.3697, 34.6134, 15.2044)
Luminance0.3461 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5A25C #5C5FA5
analogous
#A57D5C #A5A25C #83A55C
triadic
#A5A25C #5CA5A2 #A25CA5
tetradic
#A5A25C #5CA57D #5C5FA5 #A55C83
square
#A5A25C #5CA57D #5C5FA5 #A55C83
split-complementary
#A5A25C #5C83A5 #7D5CA5
monochromatic
#575530 #7E7C46 #A5A25C #BBB883 #D1CFAB

Accessibility & contrast

On white

2.65
#A5A25C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.92
#A5A25C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5A25C
7.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5A25C#FFFFFF#000000##000000
##A5A25C1.002.657.927.92
#FFFFFF2.651.0021.0021.00
#0000007.9221.001.001.00
##0000007.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#AD9D56
Deuteranopia (green-blind)
#AEA05F
Tritanopia (blue-blind)
#AE9A91
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #a5a25c;
/* rgb */ color: rgb(165, 162, 92);
/* oklch */ color: oklch(69.9% 0.092 106.4);
Tailwind
colors: {
  custom: {
    50: '#c1bd8b',
    500: '#a5a25c',
    950: '#000000',
  },
}
SCSS
$custom: #a5a25c;
$custom-light: #c1bd8b;
$custom-dark: #000000;
JSON
{
  "hex": "#a5a25c",
  "rgb": {
    "r": 165,
    "g": 162,
    "b": 92
  },
  "hsl": {
    "h": 57.534,
    "s": 28.854,
    "l": 50.392
  },
  "oklch": {
    "l": 0.69891,
    "c": 0.09206,
    "h": 106.4
  },
  "luminance": 0.34613
}

Semantic roles & 50–950 ramp

primary
#A5A25C
secondary
#9E9FBF
accent
#67C563
background
#FCFBF8
surface
#F8F6F0
border
#D1D0CB
text
#12120C
muted
#81817D

Preview Lab

Preview with #A5A25C

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

Preview Lab → · Contrast checker → · Palette generator →

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