#A5A925#A5A925

#A5A925 is a light, vivid yellow. Relative luminance 0.365; OKLCH L 70.9% C 0.145 H 111.4°. Best body text is #000000 at 8.30:1 contrast (WCAG AA passes).

Color values

HEX#A5A925
RGBrgb(165, 169, 37)
HSLhsl(62, 64%, 40%)
HSVhsv(62, 78%, 66%)
CMYKcmyk(2.4%, 0%, 78.1%, 33.7%)
CIE-LABlab(66.91, -16.78, 62.01)
CIE-LCHlch(66.91, 64.24, 105.14°)
OKLaboklab(70.9% -0.053 0.1352)
OKLCHoklch(70.9% 0.145 111.4)
XYZxyz(30.0400, 36.5096, 7.2145)
Luminance0.3651 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5A925 #2925A9
analogous
#A96B25 #A5A925 #63A925
triadic
#A5A925 #25A5A9 #A925A5
tetradic
#A5A925 #25A96B #2925A9 #A92563
square
#A5A925 #25A96B #2925A9 #A92563
split-complementary
#A5A925 #2563A9 #6B25A9
monochromatic
#43450F #74771A #A5A925 #CFD338 #DBDE6A

Accessibility & contrast

On white

2.53
#A5A925 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.30
#A5A925 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5A925
8.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5A925#FFFFFF#000000##000000
##A5A9251.002.538.308.30
#FFFFFF2.531.0021.0021.00
#0000008.3021.001.001.00
##0000008.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A100
Deuteranopia (green-blind)
#B7A431
Tritanopia (blue-blind)
#B19E91
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #a5a925;
/* rgb */ color: rgb(165, 169, 37);
/* oklch */ color: oklch(70.9% 0.145 111.4);
Tailwind
colors: {
  custom: {
    50: '#c3c26c',
    500: '#a5a925',
    950: '#000000',
  },
}
SCSS
$custom: #a5a925;
$custom-light: #c3c26c;
$custom-dark: #000000;
JSON
{
  "hex": "#a5a925",
  "rgb": {
    "r": 165,
    "g": 169,
    "b": 37
  },
  "hsl": {
    "h": 61.818,
    "s": 64.078,
    "l": 40.392
  },
  "oklch": {
    "l": 0.70897,
    "c": 0.14522,
    "h": 111.4
  },
  "luminance": 0.36509
}

Semantic roles & 50–950 ramp

primary
#A5A925
secondary
#6865C4
accent
#41E746
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#131207
muted
#82817A

Preview Lab

Preview with #A5A925

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

Preview Lab → · Contrast checker → · Palette generator →

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