#A5BC38#A5BC38

#A5BC38 is a light, vivid yellow-green. Relative luminance 0.443; OKLCH L 75.3% C 0.155 H 118.9°. Best body text is #000000 at 9.85:1 contrast (WCAG AA passes).

Color values

HEX#A5BC38
RGBrgb(165, 188, 56)
HSLhsl(70, 54%, 48%)
HSVhsv(70, 70%, 74%)
CMYKcmyk(12.2%, 0%, 70.2%, 26.3%)
CIE-LABlab(72.40, -25.34, 60.75)
CIE-LCHlch(72.40, 65.82, 112.64°)
OKLaboklab(75.34% -0.075 0.1359)
OKLCHoklch(75.34% 0.155 118.9)
XYZxyz(34.2148, 44.2515, 10.4796)
Luminance0.4425 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5BC38 #4F38BC
analogous
#BC9138 #A5BC38 #63BC38
triadic
#A5BC38 #38A5BC #BC38A5
tetradic
#A5BC38 #38BC91 #4F38BC #BC3863
square
#A5BC38 #38BC91 #4F38BC #BC3863
split-complementary
#A5BC38 #3863BC #9138BC
monochromatic
#525E1C #7C8D2A #A5BC38 #BDD061 #D1DE90

Accessibility & contrast

On white

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

On black

9.85
#A5BC38 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5BC38
9.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5BC38#FFFFFF#000000##000000
##A5BC381.002.139.859.85
#FFFFFF2.131.0021.0021.00
#0000009.8521.001.001.00
##0000009.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B122
Deuteranopia (green-blind)
#C6B243
Tritanopia (blue-blind)
#AFB2A2
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #a5bc38;
/* rgb */ color: rgb(165, 188, 56);
/* oklch */ color: oklch(75.3% 0.155 118.9);
Tailwind
colors: {
  custom: {
    50: '#c3d077',
    500: '#a5bc38',
    950: '#000000',
  },
}
SCSS
$custom: #a5bc38;
$custom-light: #c3d077;
$custom-dark: #000000;
JSON
{
  "hex": "#a5bc38",
  "rgb": {
    "r": 165,
    "g": 188,
    "b": 56
  },
  "hsl": {
    "h": 70.455,
    "s": 54.098,
    "l": 47.843
  },
  "oklch": {
    "l": 0.75336,
    "c": 0.15521,
    "h": 118.9
  },
  "luminance": 0.44251
}

Semantic roles & 50–950 ramp

primary
#A5BC38
secondary
#9287C9
accent
#4ADD64
background
#FCFCF7
surface
#F8F9EE
border
#D1D2C9
text
#131309
muted
#82827B

Preview Lab

Preview with #A5BC38

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

Preview Lab → · Contrast checker → · Palette generator →

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