#A5B050#A5B050

#A5B050 is a light, vivid yellow. Relative luminance 0.396; OKLCH L 72.8% C 0.121 H 114.9°. Best body text is #000000 at 8.93:1 contrast (WCAG AA passes).

Color values

HEX#A5B050
RGBrgb(165, 176, 80)
HSLhsl(67, 38%, 50%)
HSVhsv(67, 55%, 69%)
CMYKcmyk(6.2%, 0%, 54.5%, 31%)
CIE-LABlab(69.20, -17.66, 47.11)
CIE-LCHlch(69.20, 50.31, 110.55°)
OKLaboklab(72.84% -0.0512 0.1102)
OKLCHoklch(72.84% 0.122 114.9)
XYZxyz(32.4909, 39.6297, 13.5255)
Luminance0.3963 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5B050 #5B50B0
analogous
#B08B50 #A5B050 #75B050
triadic
#A5B050 #50A5B0 #B050A5
tetradic
#A5B050 #50B08B #5B50B0 #B05075
square
#A5B050 #50B08B #5B50B0 #B05075
split-complementary
#A5B050 #5075B0 #8B50B0
monochromatic
#565C2A #7E863D #A5B050 #BBC37A #D0D6A4

Accessibility & contrast

On white

2.35
#A5B050 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.93
#A5B050 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5B050
8.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5B050#FFFFFF#000000##000000
##A5B0501.002.358.938.93
#FFFFFF2.351.0021.0021.00
#0000008.9321.001.001.00
##0000008.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA846
Deuteranopia (green-blind)
#BAAA55
Tritanopia (blue-blind)
#AEA79B
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #a5b050;
/* rgb */ color: rgb(165, 176, 80);
/* oklch */ color: oklch(72.8% 0.121 114.9);
Tailwind
colors: {
  custom: {
    50: '#c2c784',
    500: '#a5b050',
    950: '#000000',
  },
}
SCSS
$custom: #a5b050;
$custom-light: #c2c784;
$custom-dark: #000000;
JSON
{
  "hex": "#a5b050",
  "rgb": {
    "r": 165,
    "g": 176,
    "b": 80
  },
  "hsl": {
    "h": 66.875,
    "s": 37.795,
    "l": 50.196
  },
  "oklch": {
    "l": 0.72841,
    "c": 0.1215,
    "h": 114.9
  },
  "luminance": 0.39629
}

Semantic roles & 50–950 ramp

primary
#A5B050
secondary
#9D98C3
accent
#5ACE67
background
#FCFCF8
surface
#F8F8EF
border
#D1D1CA
text
#13130B
muted
#82827C

Preview Lab

Preview with #A5B050

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

Preview Lab → · Contrast checker → · Palette generator →

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