#A5BC42#A5BC42

#A5BC42 is a light, vivid yellow-green. Relative luminance 0.444; OKLCH L 75.4% C 0.148 H 119.2°. Best body text is #000000 at 9.87:1 contrast (WCAG AA passes).

Color values

HEX#A5BC42
RGBrgb(165, 188, 66)
HSLhsl(71, 48%, 50%)
HSVhsv(71, 65%, 74%)
CMYKcmyk(12.2%, 0%, 64.9%, 26.3%)
CIE-LABlab(72.47, -24.71, 56.91)
CIE-LCHlch(72.47, 62.05, 113.47°)
OKLaboklab(75.42% -0.0724 0.1293)
OKLCHoklch(75.42% 0.148 119.2)
XYZxyz(34.4842, 44.3593, 11.8987)
Luminance0.4436 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5BC42 #5942BC
analogous
#BC9642 #A5BC42 #68BC42
triadic
#A5BC42 #42A5BC #BC42A5
tetradic
#A5BC42 #42BC96 #5942BC #BC4268
square
#A5BC42 #42BC96 #5942BC #BC4268
split-complementary
#A5BC42 #4268BC #9642BC
monochromatic
#556122 #7D8F32 #A5BC42 #BBCC6F #D0DC9C

Accessibility & contrast

On white

2.13
#A5BC42 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.87
#A5BC42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5BC42
9.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5BC42#FFFFFF#000000##000000
##A5BC421.002.139.879.87
#FFFFFF2.131.0021.0021.00
#0000009.8721.001.001.00
##0000009.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B232
Deuteranopia (green-blind)
#C5B24B
Tritanopia (blue-blind)
#AEB2A3
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #a5bc42;
/* rgb */ color: rgb(165, 188, 66);
/* oklch */ color: oklch(75.4% 0.148 119.2);
Tailwind
colors: {
  custom: {
    50: '#c2d07c',
    500: '#a5bc42',
    950: '#000000',
  },
}
SCSS
$custom: #a5bc42;
$custom-light: #c2d07c;
$custom-dark: #000000;
JSON
{
  "hex": "#a5bc42",
  "rgb": {
    "r": 165,
    "g": 188,
    "b": 66
  },
  "hsl": {
    "h": 71.311,
    "s": 48.031,
    "l": 49.804
  },
  "oklch": {
    "l": 0.75417,
    "c": 0.14818,
    "h": 119.2
  },
  "luminance": 0.44359
}

Semantic roles & 50–950 ramp

primary
#A5BC42
secondary
#9C91C9
accent
#50D86A
background
#FCFCF7
surface
#F8F9EE
border
#D1D2C9
text
#13140A
muted
#82827C

Preview Lab

Preview with #A5BC42

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

Preview Lab → · Contrast checker → · Palette generator →

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