#A5BA32#A5BA32

#A5BA32 is a light, vivid yellow. Relative luminance 0.433; OKLCH L 74.8% C 0.157 H 118.1°. Best body text is #000000 at 9.67:1 contrast (WCAG AA passes).

Color values

HEX#A5BA32
RGBrgb(165, 186, 50)
HSLhsl(69, 58%, 46%)
HSVhsv(69, 73%, 73%)
CMYKcmyk(11.3%, 0%, 73.1%, 27.1%)
CIE-LABlab(71.79, -24.68, 62.31)
CIE-LCHlch(71.79, 67.02, 111.61°)
OKLaboklab(74.84% -0.0738 0.1382)
OKLCHoklch(74.84% 0.157 118.1)
XYZxyz(33.6524, 43.3477, 9.6111)
Luminance0.4335 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5BA32 #4732BA
analogous
#BA8B32 #A5BA32 #61BA32
triadic
#A5BA32 #32A5BA #BA32A5
tetradic
#A5BA32 #32BA8B #4732BA #BA3261
square
#A5BA32 #32BA8B #4732BA #BA3261
split-complementary
#A5BA32 #3261BA #8B32BA
monochromatic
#4F5A18 #7A8A25 #A5BA32 #BFD257 #D1DF88

Accessibility & contrast

On white

2.17
#A5BA32 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.67
#A5BA32 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5BA32
9.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5BA32#FFFFFF#000000##000000
##A5BA321.002.179.679.67
#FFFFFF2.171.0021.0021.00
#0000009.6721.001.001.00
##0000009.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6B017
Deuteranopia (green-blind)
#C4B13E
Tritanopia (blue-blind)
#AFB0A0
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #a5ba32;
/* rgb */ color: rgb(165, 186, 50);
/* oklch */ color: oklch(74.8% 0.157 118.1);
Tailwind
colors: {
  custom: {
    50: '#c3ce74',
    500: '#a5ba32',
    950: '#000000',
  },
}
SCSS
$custom: #a5ba32;
$custom-light: #c3ce74;
$custom-dark: #000000;
JSON
{
  "hex": "#a5ba32",
  "rgb": {
    "r": 165,
    "g": 186,
    "b": 50
  },
  "hsl": {
    "h": 69.265,
    "s": 57.627,
    "l": 46.275
  },
  "oklch": {
    "l": 0.74837,
    "c": 0.15662,
    "h": 118.1
  },
  "luminance": 0.43347
}

Semantic roles & 50–950 ramp

primary
#A5BA32
secondary
#8B7FC9
accent
#47E15F
background
#FCFCF7
surface
#F8F9ED
border
#D1D2C8
text
#131309
muted
#82827B

Preview Lab

Preview with #A5BA32

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

Preview Lab → · Contrast checker → · Palette generator →

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