#A5B025#A5B025

#A5B025 is a light, vivid yellow. Relative luminance 0.392; OKLCH L 72.5% C 0.153 H 114.3°. Best body text is #000000 at 8.84:1 contrast (WCAG AA passes).

Color values

HEX#A5B025
RGBrgb(165, 176, 37)
HSLhsl(65, 65%, 42%)
HSVhsv(65, 79%, 69%)
CMYKcmyk(6.2%, 0%, 79%, 31%)
CIE-LABlab(68.88, -20.32, 63.79)
CIE-LCHlch(68.88, 66.95, 107.67°)
OKLaboklab(72.48% -0.0628 0.139)
OKLCHoklch(72.48% 0.153 114.3)
XYZxyz(31.3773, 39.1842, 7.6603)
Luminance0.3918 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5B025 #3025B0
analogous
#B07625 #A5B025 #60B025
triadic
#A5B025 #25A5B0 #B025A5
tetradic
#A5B025 #25B076 #3025B0 #B02560
square
#A5B025 #25B076 #3025B0 #B02560
split-complementary
#A5B025 #2560B0 #7625B0
monochromatic
#464B10 #767D1A #A5B025 #CAD63C #D8E16F

Accessibility & contrast

On white

2.38
#A5B025 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.84
#A5B025 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5B025
8.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5B025#FFFFFF#000000##000000
##A5B0251.002.388.848.84
#FFFFFF2.381.0021.0021.00
#0000008.8421.001.001.00
##0000008.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDA700
Deuteranopia (green-blind)
#BDA932
Tritanopia (blue-blind)
#B0A597
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #a5b025;
/* rgb */ color: rgb(165, 176, 37);
/* oklch */ color: oklch(72.5% 0.153 114.3);
Tailwind
colors: {
  custom: {
    50: '#c3c76c',
    500: '#a5b025',
    950: '#000000',
  },
}
SCSS
$custom: #a5b025;
$custom-light: #c3c76c;
$custom-dark: #000000;
JSON
{
  "hex": "#a5b025",
  "rgb": {
    "r": 165,
    "g": 176,
    "b": 37
  },
  "hsl": {
    "h": 64.748,
    "s": 65.258,
    "l": 41.765
  },
  "oklch": {
    "l": 0.72481,
    "c": 0.15253,
    "h": 114.3
  },
  "luminance": 0.39184
}

Semantic roles & 50–950 ramp

primary
#A5B025
secondary
#716AC7
accent
#40E84D
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#131308
muted
#82827A

Preview Lab

Preview with #A5B025

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

Preview Lab → · Contrast checker → · Palette generator →

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