#A5BB38#A5BB38

#A5BB38 is a light, vivid yellow-green. Relative luminance 0.438; OKLCH L 75.1% C 0.154 H 118.6°. Best body text is #000000 at 9.77:1 contrast (WCAG AA passes).

Color values

HEX#A5BB38
RGBrgb(165, 187, 56)
HSLhsl(70, 54%, 48%)
HSVhsv(70, 70%, 73%)
CMYKcmyk(11.8%, 0%, 70.1%, 26.7%)
CIE-LABlab(72.11, -24.85, 60.47)
CIE-LCHlch(72.11, 65.38, 112.34°)
OKLaboklab(75.11% -0.0737 0.1353)
OKLCHoklch(75.11% 0.154 118.6)
XYZxyz(34.0019, 43.8258, 10.4086)
Luminance0.4383 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5BB38 #4E38BB
analogous
#BB8F38 #A5BB38 #64BB38
triadic
#A5BB38 #38A5BB #BB38A5
tetradic
#A5BB38 #38BB8F #4E38BB #BB3864
square
#A5BB38 #38BB8F #4E38BB #BB3864
split-complementary
#A5BB38 #3864BB #8F38BB
monochromatic
#525D1C #7B8C2A #A5BB38 #BDD061 #D1DE90

Accessibility & contrast

On white

2.15
#A5BB38 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.77
#A5BB38 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5BB38
9.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5BB38#FFFFFF#000000##000000
##A5BB381.002.159.779.77
#FFFFFF2.151.0021.0021.00
#0000009.7721.001.001.00
##0000009.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B122
Deuteranopia (green-blind)
#C5B142
Tritanopia (blue-blind)
#AFB1A1
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #a5bb38;
/* rgb */ color: rgb(165, 187, 56);
/* oklch */ color: oklch(75.1% 0.154 118.6);
Tailwind
colors: {
  custom: {
    50: '#c3cf77',
    500: '#a5bb38',
    950: '#000000',
  },
}
SCSS
$custom: #a5bb38;
$custom-light: #c3cf77;
$custom-dark: #000000;
JSON
{
  "hex": "#a5bb38",
  "rgb": {
    "r": 165,
    "g": 187,
    "b": 56
  },
  "hsl": {
    "h": 70.076,
    "s": 53.909,
    "l": 47.647
  },
  "oklch": {
    "l": 0.75107,
    "c": 0.15404,
    "h": 118.6
  },
  "luminance": 0.43826
}

Semantic roles & 50–950 ramp

primary
#A5BB38
secondary
#9186C8
accent
#4BDD63
background
#FCFCF7
surface
#F8F9EE
border
#D1D2C9
text
#131309
muted
#82827B

Preview Lab

Preview with #A5BB38

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

Preview Lab → · Contrast checker → · Palette generator →

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