#A5A135#A5A135

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

Color values

HEX#A5A135
RGBrgb(165, 161, 53)
HSLhsl(58, 51%, 43%)
HSVhsv(58, 68%, 65%)
CMYKcmyk(0%, 2.4%, 67.9%, 35.3%)
CIE-LABlab(64.76, -11.87, 54.24)
CIE-LCHlch(64.76, 55.53, 102.34°)
OKLaboklab(69.21% -0.0377 0.1217)
OKLCHoklch(69.21% 0.127 107.2)
XYZxyz(28.9056, 33.7471, 8.3587)
Luminance0.3375 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5A135 #3539A5
analogous
#A56935 #A5A135 #71A535
triadic
#A5A135 #35A5A1 #A135A5
tetradic
#A5A135 #35A569 #3539A5 #A53571
square
#A5A135 #35A569 #3539A5 #A53571
split-complementary
#A5A135 #3571A5 #6935A5
monochromatic
#484717 #777426 #A5A135 #C7C350 #D6D37F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A5A135#FFFFFF#000000##000000
##A5A1351.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)
#AE9B25
Deuteranopia (green-blind)
#B09F3C
Tritanopia (blue-blind)
#B1978B
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #a5a135;
/* rgb */ color: rgb(165, 161, 53);
/* oklch */ color: oklch(69.2% 0.127 107.2);
Tailwind
colors: {
  custom: {
    50: '#c3bc73',
    500: '#a5a135',
    950: '#000000',
  },
}
SCSS
$custom: #a5a135;
$custom-light: #c3bc73;
$custom-dark: #000000;
JSON
{
  "hex": "#a5a135",
  "rgb": {
    "r": 165,
    "g": 161,
    "b": 53
  },
  "hsl": {
    "h": 57.857,
    "s": 51.376,
    "l": 42.745
  },
  "oklch": {
    "l": 0.69214,
    "c": 0.12737,
    "h": 107.2
  },
  "luminance": 0.33746
}

Semantic roles & 50–950 ramp

primary
#A5A135
secondary
#7779BF
accent
#52DB4D
background
#FCFBF7
surface
#F8F6ED
border
#D1D0C8
text
#131208
muted
#82817B

Preview Lab

Preview with #A5A135

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

Preview Lab → · Contrast checker → · Palette generator →

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