#A5B832#A5B832

#A5B832 is a light, vivid yellow. Relative luminance 0.425; OKLCH L 74.4% C 0.154 H 117.4°. Best body text is #000000 at 9.50:1 contrast (WCAG AA passes).

Color values

HEX#A5B832
RGBrgb(165, 184, 50)
HSLhsl(69, 57%, 46%)
HSVhsv(69, 73%, 72%)
CMYKcmyk(10.3%, 0%, 72.8%, 27.8%)
CIE-LABlab(71.22, -23.71, 61.77)
CIE-LCHlch(71.22, 66.16, 111.00°)
OKLaboklab(74.38% -0.0711 0.137)
OKLCHoklch(74.38% 0.154 117.4)
XYZxyz(33.2340, 42.5110, 9.4717)
Luminance0.4251 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5B832 #4532B8
analogous
#B88832 #A5B832 #62B832
triadic
#A5B832 #32A5B8 #B832A5
tetradic
#A5B832 #32B888 #4532B8 #B83262
square
#A5B832 #32B888 #4532B8 #B83262
split-complementary
#A5B832 #3262B8 #8832B8
monochromatic
#4F5818 #7A8825 #A5B832 #C0D156 #D2DE86

Accessibility & contrast

On white

2.21
#A5B832 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.50
#A5B832 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5B832
9.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5B832#FFFFFF#000000##000000
##A5B8321.002.219.509.50
#FFFFFF2.211.0021.0021.00
#0000009.5021.001.001.00
##0000009.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5AE18
Deuteranopia (green-blind)
#C3AF3D
Tritanopia (blue-blind)
#AFAE9E
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #a5b832;
/* rgb */ color: rgb(165, 184, 50);
/* oklch */ color: oklch(74.4% 0.154 117.4);
Tailwind
colors: {
  custom: {
    50: '#c3cd73',
    500: '#a5b832',
    950: '#000000',
  },
}
SCSS
$custom: #a5b832;
$custom-light: #c3cd73;
$custom-dark: #000000;
JSON
{
  "hex": "#a5b832",
  "rgb": {
    "r": 165,
    "g": 184,
    "b": 50
  },
  "hsl": {
    "h": 68.507,
    "s": 57.265,
    "l": 45.882
  },
  "oklch": {
    "l": 0.7438,
    "c": 0.15434,
    "h": 117.4
  },
  "luminance": 0.42511
}

Semantic roles & 50–950 ramp

primary
#A5B832
secondary
#887EC8
accent
#47E15D
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131309
muted
#82827B

Preview Lab

Preview with #A5B832

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

Preview Lab → · Contrast checker → · Palette generator →

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