#A5A337#A5A337

#A5A337 is a light, vivid yellow. Relative luminance 0.345; OKLCH L 69.7% C 0.128 H 108.3°. Best body text is #000000 at 7.89:1 contrast (WCAG AA passes).

Color values

HEX#A5A337
RGBrgb(165, 163, 55)
HSLhsl(59, 50%, 43%)
HSVhsv(59, 67%, 65%)
CMYKcmyk(0%, 1.2%, 66.7%, 35.3%)
CIE-LABlab(65.33, -12.80, 54.01)
CIE-LCHlch(65.33, 55.51, 103.33°)
OKLaboklab(69.68% -0.0401 0.1215)
OKLCHoklch(69.68% 0.128 108.3)
XYZxyz(29.3048, 34.4705, 8.7235)
Luminance0.3447 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5A337 #3739A5
analogous
#A56C37 #A5A337 #70A537
triadic
#A5A337 #37A5A3 #A337A5
tetradic
#A5A337 #37A56C #3739A5 #A53770
square
#A5A337 #37A56C #3739A5 #A53770
split-complementary
#A5A337 #3770A5 #6C37A5
monochromatic
#494818 #777628 #A5A337 #C6C453 #D5D481

Accessibility & contrast

On white

2.66
#A5A337 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.89
#A5A337 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5A337
7.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5A337#FFFFFF#000000##000000
##A5A3371.002.667.897.89
#FFFFFF2.661.0021.0021.00
#0000007.8921.001.001.00
##0000007.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09D28
Deuteranopia (green-blind)
#B2A03E
Tritanopia (blue-blind)
#B1998D
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #a5a337;
/* rgb */ color: rgb(165, 163, 55);
/* oklch */ color: oklch(69.7% 0.128 108.3);
Tailwind
colors: {
  custom: {
    50: '#c3be74',
    500: '#a5a337',
    950: '#000000',
  },
}
SCSS
$custom: #a5a337;
$custom-light: #c3be74;
$custom-dark: #000000;
JSON
{
  "hex": "#a5a337",
  "rgb": {
    "r": 165,
    "g": 163,
    "b": 55
  },
  "hsl": {
    "h": 58.909,
    "s": 50,
    "l": 43.137
  },
  "oklch": {
    "l": 0.69675,
    "c": 0.12796,
    "h": 108.3
  },
  "luminance": 0.3447
}

Semantic roles & 50–950 ramp

primary
#A5A337
secondary
#797ABF
accent
#51DA4E
background
#FCFBF7
surface
#F8F6ED
border
#D1D0C8
text
#131208
muted
#82817B

Preview Lab

Preview with #A5A337

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

Preview Lab → · Contrast checker → · Palette generator →

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