#A5BF38#A5BF38

#A5BF38 is a light, vivid yellow-green. Relative luminance 0.455; OKLCH L 76.0% C 0.159 H 119.9°. Best body text is #000000 at 10.11:1 contrast (WCAG AA passes).

Color values

HEX#A5BF38
RGBrgb(165, 191, 56)
HSLhsl(72, 55%, 48%)
HSVhsv(72, 71%, 75%)
CMYKcmyk(13.6%, 0%, 70.7%, 25.1%)
CIE-LABlab(73.25, -26.79, 61.60)
CIE-LCHlch(73.25, 67.17, 113.50°)
OKLaboklab(76.02% -0.0791 0.1376)
OKLCHoklch(76.02% 0.159 119.9)
XYZxyz(34.8623, 45.5466, 10.6954)
Luminance0.4555 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5BF38 #5238BF
analogous
#BF9538 #A5BF38 #61BF38
triadic
#A5BF38 #38A5BF #BF38A5
tetradic
#A5BF38 #38BF95 #5238BF #BF3861
square
#A5BF38 #38BF95 #5238BF #BF3861
split-complementary
#A5BF38 #3861BF #9538BF
monochromatic
#53601C #7C902A #A5BF38 #BCD163 #D0DF92

Accessibility & contrast

On white

2.08
#A5BF38 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.11
#A5BF38 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5BF38
10.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5BF38#FFFFFF#000000##000000
##A5BF381.002.0810.1110.11
#FFFFFF2.081.0021.0021.00
#00000010.1121.001.001.00
##00000010.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBB421
Deuteranopia (green-blind)
#C8B443
Tritanopia (blue-blind)
#AEB5A5
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #a5bf38;
/* rgb */ color: rgb(165, 191, 56);
/* oklch */ color: oklch(76.0% 0.159 119.9);
Tailwind
colors: {
  custom: {
    50: '#c3d277',
    500: '#a5bf38',
    950: '#000000',
  },
}
SCSS
$custom: #a5bf38;
$custom-light: #c3d277;
$custom-dark: #000000;
JSON
{
  "hex": "#a5bf38",
  "rgb": {
    "r": 165,
    "g": 191,
    "b": 56
  },
  "hsl": {
    "h": 71.556,
    "s": 54.656,
    "l": 48.431
  },
  "oklch": {
    "l": 0.76024,
    "c": 0.15873,
    "h": 119.9
  },
  "luminance": 0.45546
}

Semantic roles & 50–950 ramp

primary
#A5BF38
secondary
#9589CA
accent
#4ADE66
background
#FCFCF7
surface
#F8F9EE
border
#D1D2C9
text
#131409
muted
#82827B

Preview Lab

Preview with #A5BF38

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

Preview Lab → · Contrast checker → · Palette generator →

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