#A5A35B#A5A35B

#A5A35B is a light, moderate yellow. Relative luminance 0.349; OKLCH L 70.1% C 0.094 H 107.2°. Best body text is #000000 at 7.99:1 contrast (WCAG AA passes).

Color values

HEX#A5A35B
RGBrgb(165, 163, 91)
HSLhsl(58, 29%, 50%)
HSVhsv(58, 45%, 65%)
CMYKcmyk(0%, 1.2%, 44.8%, 35.3%)
CIE-LABlab(65.71, -9.87, 37.51)
CIE-LCHlch(65.71, 38.78, 104.75°)
OKLaboklab(70.1% -0.0279 0.0901)
OKLCHoklch(70.1% 0.094 107.2)
XYZxyz(30.5032, 34.9498, 15.0346)
Luminance0.3495 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5A35B #5B5DA5
analogous
#A57E5B #A5A35B #82A55B
triadic
#A5A35B #5BA5A3 #A35BA5
tetradic
#A5A35B #5BA57E #5B5DA5 #A55B82
square
#A5A35B #5BA57E #5B5DA5 #A55B82
split-complementary
#A5A35B #5B82A5 #7E5BA5
monochromatic
#56552F #7E7C45 #A5A35B #BBB983 #D0CFAA

Accessibility & contrast

On white

2.63
#A5A35B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.99
#A5A35B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5A35B
7.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5A35B#FFFFFF#000000##000000
##A5A35B1.002.637.997.99
#FFFFFF2.631.0021.0021.00
#0000007.9921.001.001.00
##0000007.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9E55
Deuteranopia (green-blind)
#AFA15E
Tritanopia (blue-blind)
#AE9B92
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #a5a35b;
/* rgb */ color: rgb(165, 163, 91);
/* oklch */ color: oklch(70.1% 0.094 107.2);
Tailwind
colors: {
  custom: {
    50: '#c1be8b',
    500: '#a5a35b',
    950: '#000000',
  },
}
SCSS
$custom: #a5a35b;
$custom-light: #c1be8b;
$custom-dark: #000000;
JSON
{
  "hex": "#a5a35b",
  "rgb": {
    "r": 165,
    "g": 163,
    "b": 91
  },
  "hsl": {
    "h": 58.378,
    "s": 29.134,
    "l": 50.196
  },
  "oklch": {
    "l": 0.70095,
    "c": 0.09435,
    "h": 107.2
  },
  "luminance": 0.34949
}

Semantic roles & 50–950 ramp

primary
#A5A35B
secondary
#9D9EBE
accent
#65C562
background
#FCFBF8
surface
#F8F6F0
border
#D1D0CB
text
#12120C
muted
#81817D

Preview Lab

Preview with #A5A35B

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

Preview Lab → · Contrast checker → · Palette generator →

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