#A5BA36#A5BA36

#A5BA36 is a light, vivid yellow. Relative luminance 0.434; OKLCH L 74.9% C 0.154 H 118.2°. Best body text is #000000 at 9.68:1 contrast (WCAG AA passes).

Color values

HEX#A5BA36
RGBrgb(165, 186, 54)
HSLhsl(70, 55%, 47%)
HSVhsv(70, 71%, 73%)
CMYKcmyk(11.3%, 0%, 71%, 27.1%)
CIE-LABlab(71.81, -24.47, 60.91)
CIE-LCHlch(71.81, 65.65, 111.89°)
OKLaboklab(74.86% -0.0728 0.1359)
OKLCHoklch(74.86% 0.154 118.2)
XYZxyz(33.7425, 43.3838, 10.0857)
Luminance0.4338 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5BA36 #4B36BA
analogous
#BA8D36 #A5BA36 #63BA36
triadic
#A5BA36 #36A5BA #BA36A5
tetradic
#A5BA36 #36BA8D #4B36BA #BA3663
square
#A5BA36 #36BA8D #4B36BA #BA3663
split-complementary
#A5BA36 #3663BA #8D36BA
monochromatic
#515B1A #7B8B28 #A5BA36 #BED05D #D1DE8D

Accessibility & contrast

On white

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

On black

9.68
#A5BA36 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5BA36
9.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5BA36#FFFFFF#000000##000000
##A5BA361.002.179.689.68
#FFFFFF2.171.0021.0021.00
#0000009.6821.001.001.00
##0000009.6821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a5ba36;
/* rgb */ color: rgb(165, 186, 54);
/* oklch */ color: oklch(74.9% 0.154 118.2);
Tailwind
colors: {
  custom: {
    50: '#c3ce76',
    500: '#a5ba36',
    950: '#000000',
  },
}
SCSS
$custom: #a5ba36;
$custom-light: #c3ce76;
$custom-dark: #000000;
JSON
{
  "hex": "#a5ba36",
  "rgb": {
    "r": 165,
    "g": 186,
    "b": 54
  },
  "hsl": {
    "h": 69.545,
    "s": 55,
    "l": 47.059
  },
  "oklch": {
    "l": 0.74864,
    "c": 0.15416,
    "h": 118.2
  },
  "luminance": 0.43383
}

Semantic roles & 50–950 ramp

primary
#A5BA36
secondary
#8F84C8
accent
#49DE61
background
#FCFCF7
surface
#F8F9ED
border
#D1D2C8
text
#131309
muted
#82827B

Preview Lab

Preview with #A5BA36

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

Preview Lab → · Contrast checker → · Palette generator →

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