#A5A725#A5A725

#A5A725 is a light, vivid yellow. Relative luminance 0.358; OKLCH L 70.4% C 0.143 H 110.5°. Best body text is #000000 at 8.15:1 contrast (WCAG AA passes).

Color values

HEX#A5A725
RGBrgb(165, 167, 37)
HSLhsl(61, 64%, 40%)
HSVhsv(61, 78%, 65%)
CMYKcmyk(1.2%, 0%, 77.8%, 34.5%)
CIE-LABlab(66.34, -15.75, 61.51)
CIE-LCHlch(66.34, 63.49, 104.36°)
OKLaboklab(70.45% -0.0501 0.1341)
OKLCHoklch(70.45% 0.143 110.5)
XYZxyz(29.6708, 35.7712, 7.0915)
Luminance0.3577 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5A725 #2725A7
analogous
#A76825 #A5A725 #64A725
triadic
#A5A725 #25A5A7 #A725A5
tetradic
#A5A725 #25A768 #2725A7 #A72564
square
#A5A725 #25A768 #2725A7 #A72564
split-complementary
#A5A725 #2564A7 #6825A7
monochromatic
#42430F #73751A #A5A725 #D0D337 #DCDE69

Accessibility & contrast

On white

2.58
#A5A725 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.15
#A5A725 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5A725
8.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5A725#FFFFFF#000000##000000
##A5A7251.002.588.158.15
#FFFFFF2.581.0021.0021.00
#0000008.1521.001.001.00
##0000008.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B59F00
Deuteranopia (green-blind)
#B6A330
Tritanopia (blue-blind)
#B19C8F
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #a5a725;
/* rgb */ color: rgb(165, 167, 37);
/* oklch */ color: oklch(70.4% 0.143 110.5);
Tailwind
colors: {
  custom: {
    50: '#c3c06b',
    500: '#a5a725',
    950: '#000000',
  },
}
SCSS
$custom: #a5a725;
$custom-light: #c3c06b;
$custom-dark: #000000;
JSON
{
  "hex": "#a5a725",
  "rgb": {
    "r": 165,
    "g": 167,
    "b": 37
  },
  "hsl": {
    "h": 60.923,
    "s": 63.725,
    "l": 40
  },
  "oklch": {
    "l": 0.70447,
    "c": 0.1432,
    "h": 110.5
  },
  "luminance": 0.3577
}

Semantic roles & 50–950 ramp

primary
#A5A725
secondary
#6664C4
accent
#41E744
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#131207
muted
#82817A

Preview Lab

Preview with #A5A725

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

Preview Lab → · Contrast checker → · Palette generator →

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