#A5A137#A5A137

#A5A137 is a light, vivid yellow. Relative luminance 0.338; OKLCH L 69.2% C 0.126 H 107.2°. Best body text is #000000 at 7.75:1 contrast (WCAG AA passes).

Color values

HEX#A5A137
RGBrgb(165, 161, 55)
HSLhsl(58, 50%, 43%)
HSVhsv(58, 67%, 65%)
CMYKcmyk(0%, 2.4%, 66.7%, 35.3%)
CIE-LABlab(64.78, -11.75, 53.44)
CIE-LCHlch(64.78, 54.72, 102.40°)
OKLaboklab(69.23% -0.0372 0.1203)
OKLCHoklch(69.23% 0.126 107.2)
XYZxyz(28.9525, 33.7659, 8.6060)
Luminance0.3377 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5A137 #373BA5
analogous
#A56A37 #A5A137 #72A537
triadic
#A5A137 #37A5A1 #A137A5
tetradic
#A5A137 #37A56A #373BA5 #A53772
square
#A5A137 #37A56A #373BA5 #A53772
split-complementary
#A5A137 #3772A5 #6A37A5
monochromatic
#494718 #777428 #A5A137 #C6C253 #D5D281

Accessibility & contrast

On white

2.71
#A5A137 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.75
#A5A137 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5A137
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5A137#FFFFFF#000000##000000
##A5A1371.002.717.757.75
#FFFFFF2.711.0021.0021.00
#0000007.7521.001.001.00
##0000007.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9B28
Deuteranopia (green-blind)
#B09F3E
Tritanopia (blue-blind)
#B1978B
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #a5a137;
/* rgb */ color: rgb(165, 161, 55);
/* oklch */ color: oklch(69.2% 0.126 107.2);
Tailwind
colors: {
  custom: {
    50: '#c3bc74',
    500: '#a5a137',
    950: '#000000',
  },
}
SCSS
$custom: #a5a137;
$custom-light: #c3bc74;
$custom-dark: #000000;
JSON
{
  "hex": "#a5a137",
  "rgb": {
    "r": 165,
    "g": 161,
    "b": 55
  },
  "hsl": {
    "h": 57.818,
    "s": 50,
    "l": 43.137
  },
  "oklch": {
    "l": 0.6923,
    "c": 0.12591,
    "h": 107.2
  },
  "luminance": 0.33765
}

Semantic roles & 50–950 ramp

primary
#A5A137
secondary
#797CBF
accent
#53DA4E
background
#FCFBF7
surface
#F8F6ED
border
#D1D0C8
text
#131208
muted
#82817B

Preview Lab

Preview with #A5A137

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

Preview Lab → · Contrast checker → · Palette generator →

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