#A5A34B#A5A34B

#A5A34B is a light, moderate yellow. Relative luminance 0.347; OKLCH L 69.9% C 0.111 H 107.8°. Best body text is #000000 at 7.94:1 contrast (WCAG AA passes).

Color values

HEX#A5A34B
RGBrgb(165, 163, 75)
HSLhsl(59, 38%, 47%)
HSVhsv(59, 55%, 65%)
CMYKcmyk(0%, 1.2%, 54.5%, 35.3%)
CIE-LABlab(65.52, -11.37, 45.25)
CIE-LCHlch(65.52, 46.65, 104.10°)
OKLaboklab(69.88% -0.0338 0.1056)
OKLCHoklch(69.88% 0.111 107.8)
XYZxyz(29.8850, 34.7025, 11.7792)
Luminance0.3470 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5A34B #4B4DA5
analogous
#A5764B #A5A34B #7AA54B
triadic
#A5A34B #4BA5A3 #A34BA5
tetradic
#A5A34B #4BA576 #4B4DA5 #A54B7A
square
#A5A34B #4BA576 #4B4DA5 #A54B7A
split-complementary
#A5A34B #4B7AA5 #764BA5
monochromatic
#515025 #7B7938 #A5A34B #BEBC6F #D1D09A

Accessibility & contrast

On white

2.64
#A5A34B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.94
#A5A34B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5A34B
7.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5A34B#FFFFFF#000000##000000
##A5A34B1.002.647.947.94
#FFFFFF2.641.0021.0021.00
#0000007.9421.001.001.00
##0000007.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9D42
Deuteranopia (green-blind)
#B1A150
Tritanopia (blue-blind)
#B09A8F
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #a5a34b;
/* rgb */ color: rgb(165, 163, 75);
/* oklch */ color: oklch(69.9% 0.111 107.8);
Tailwind
colors: {
  custom: {
    50: '#c2be80',
    500: '#a5a34b',
    950: '#000000',
  },
}
SCSS
$custom: #a5a34b;
$custom-light: #c2be80;
$custom-dark: #000000;
JSON
{
  "hex": "#a5a34b",
  "rgb": {
    "r": 165,
    "g": 163,
    "b": 75
  },
  "hsl": {
    "h": 58.667,
    "s": 37.5,
    "l": 47.059
  },
  "oklch": {
    "l": 0.69879,
    "c": 0.11093,
    "h": 107.8
  },
  "luminance": 0.34702
}

Semantic roles & 50–950 ramp

primary
#A5A34B
secondary
#8F90BD
accent
#5DCD5A
background
#FCFBF7
surface
#F8F6EE
border
#D1D0C9
text
#13120A
muted
#82817C

Preview Lab

Preview with #A5A34B

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

Preview Lab → · Contrast checker → · Palette generator →

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