#A5B132#A5B132

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

Color values

HEX#A5B132
RGBrgb(165, 177, 50)
HSLhsl(66, 56%, 45%)
HSVhsv(66, 72%, 69%)
CMYKcmyk(6.8%, 0%, 71.8%, 30.6%)
CIE-LABlab(69.24, -20.23, 59.84)
CIE-LCHlch(69.24, 63.17, 108.68°)
OKLaboklab(72.79% -0.0614 0.133)
OKLCHoklch(72.79% 0.146 114.8)
XYZxyz(31.8158, 39.6745, 8.9989)
Luminance0.3967 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5B132 #3E32B1
analogous
#B17D32 #A5B132 #66B132
triadic
#A5B132 #32A5B1 #B132A5
tetradic
#A5B132 #32B17D #3E32B1 #B13266
square
#A5B132 #32B17D #3E32B1 #B13266
split-complementary
#A5B132 #3266B1 #7D32B1
monochromatic
#4C5217 #798125 #A5B132 #C2CE52 #D3DC82

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A5B132#FFFFFF#000000##000000
##A5B1321.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)
#BEA81B
Deuteranopia (green-blind)
#BDAA3C
Tritanopia (blue-blind)
#B0A798
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #a5b132;
/* rgb */ color: rgb(165, 177, 50);
/* oklch */ color: oklch(72.8% 0.146 114.8);
Tailwind
colors: {
  custom: {
    50: '#c3c873',
    500: '#a5b132',
    950: '#000000',
  },
}
SCSS
$custom: #a5b132;
$custom-light: #c3c873;
$custom-dark: #000000;
JSON
{
  "hex": "#a5b132",
  "rgb": {
    "r": 165,
    "g": 177,
    "b": 50
  },
  "hsl": {
    "h": 65.669,
    "s": 55.947,
    "l": 44.51
  },
  "oklch": {
    "l": 0.72786,
    "c": 0.14646,
    "h": 114.8
  },
  "luminance": 0.39674
}

Semantic roles & 50–950 ramp

primary
#A5B132
secondary
#817AC5
accent
#49DF57
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A5B132

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

Preview Lab → · Contrast checker → · Palette generator →

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