#A5A134#A5A134

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

Color values

HEX#A5A134
RGBrgb(165, 161, 52)
HSLhsl(58, 52%, 43%)
HSVhsv(58, 68%, 65%)
CMYKcmyk(0%, 2.4%, 68.5%, 35.3%)
CIE-LABlab(64.75, -11.92, 54.64)
CIE-LCHlch(64.75, 55.92, 102.31°)
OKLaboklab(69.21% -0.038 0.1223)
OKLCHoklch(69.21% 0.128 107.3)
XYZxyz(28.8828, 33.7380, 8.2388)
Luminance0.3374 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5A134 #3438A5
analogous
#A56834 #A5A134 #71A534
triadic
#A5A134 #34A5A1 #A134A5
tetradic
#A5A134 #34A568 #3438A5 #A53471
square
#A5A134 #34A568 #3438A5 #A53471
split-complementary
#A5A134 #3471A5 #6834A5
monochromatic
#484617 #767425 #A5A134 #C7C34F #D6D37D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A5A134#FFFFFF#000000##000000
##A5A1341.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)
#AE9B24
Deuteranopia (green-blind)
#B19F3B
Tritanopia (blue-blind)
#B1978B
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #a5a134;
/* rgb */ color: rgb(165, 161, 52);
/* oklch */ color: oklch(69.2% 0.128 107.3);
Tailwind
colors: {
  custom: {
    50: '#c3bc72',
    500: '#a5a134',
    950: '#000000',
  },
}
SCSS
$custom: #a5a134;
$custom-light: #c3bc72;
$custom-dark: #000000;
JSON
{
  "hex": "#a5a134",
  "rgb": {
    "r": 165,
    "g": 161,
    "b": 52
  },
  "hsl": {
    "h": 57.876,
    "s": 52.074,
    "l": 42.549
  },
  "oklch": {
    "l": 0.69205,
    "c": 0.12809,
    "h": 107.3
  },
  "luminance": 0.33737
}

Semantic roles & 50–950 ramp

primary
#A5A134
secondary
#7678BF
accent
#51DC4C
background
#FCFBF7
surface
#F8F6ED
border
#D1D0C8
text
#131208
muted
#82817B

Preview Lab

Preview with #A5A134

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

Preview Lab → · Contrast checker → · Palette generator →

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