#A5BA45#A5BA45

#A5BA45 is a light, vivid yellow-green. Relative luminance 0.435; OKLCH L 75.0% C 0.143 H 118.6°. Best body text is #000000 at 9.71:1 contrast (WCAG AA passes).

Color values

HEX#A5BA45
RGBrgb(165, 186, 69)
HSLhsl(71, 46%, 50%)
HSVhsv(71, 63%, 73%)
CMYKcmyk(11.3%, 0%, 62.9%, 27.1%)
CIE-LABlab(71.92, -23.53, 55.08)
CIE-LCHlch(71.92, 59.90, 113.13°)
OKLaboklab(74.99% -0.0688 0.1259)
OKLCHoklch(74.99% 0.143 118.6)
XYZxyz(34.1507, 43.5471, 12.2354)
Luminance0.4355 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5BA45 #5A45BA
analogous
#BA9445 #A5BA45 #6BBA45
triadic
#A5BA45 #45A5BA #BA45A5
tetradic
#A5BA45 #45BA94 #5A45BA #BA456B
square
#A5BA45 #45BA94 #5A45BA #BA456B
split-complementary
#A5BA45 #456BBA #9445BA
monochromatic
#566124 #7D8D34 #A5BA45 #BBCB72 #D0DB9E

Accessibility & contrast

On white

2.16
#A5BA45 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.71
#A5BA45 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5BA45
9.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5BA45#FFFFFF#000000##000000
##A5BA451.002.169.719.71
#FFFFFF2.161.0021.0021.00
#0000009.7121.001.001.00
##0000009.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6B036
Deuteranopia (green-blind)
#C3B14D
Tritanopia (blue-blind)
#AEB0A2
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #a5ba45;
/* rgb */ color: rgb(165, 186, 69);
/* oklch */ color: oklch(75.0% 0.143 118.6);
Tailwind
colors: {
  custom: {
    50: '#c2ce7e',
    500: '#a5ba45',
    950: '#000000',
  },
}
SCSS
$custom: #a5ba45;
$custom-light: #c2ce7e;
$custom-dark: #000000;
JSON
{
  "hex": "#a5ba45",
  "rgb": {
    "r": 165,
    "g": 186,
    "b": 69
  },
  "hsl": {
    "h": 70.769,
    "s": 45.882,
    "l": 50
  },
  "oklch": {
    "l": 0.74988,
    "c": 0.14342,
    "h": 118.6
  },
  "luminance": 0.43547
}

Semantic roles & 50–950 ramp

primary
#A5BA45
secondary
#9D93C8
accent
#52D66A
background
#FCFCF7
surface
#F8F9EE
border
#D1D2C9
text
#13130A
muted
#82827C

Preview Lab

Preview with #A5BA45

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

Preview Lab → · Contrast checker → · Palette generator →

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