#A5BF26#A5BF26

#A5BF26 is a light, vivid yellow-green. Relative luminance 0.454; OKLCH L 75.9% C 0.168 H 119.4°. Best body text is #000000 at 10.08:1 contrast (WCAG AA passes).

Color values

HEX#A5BF26
RGBrgb(165, 191, 38)
HSLhsl(70, 67%, 45%)
HSVhsv(70, 80%, 75%)
CMYKcmyk(13.6%, 0%, 80.1%, 25.1%)
CIE-LABlab(73.16, -27.63, 67.31)
CIE-LCHlch(73.16, 72.76, 112.31°)
OKLaboklab(75.92% -0.0828 0.1467)
OKLCHoklch(75.92% 0.168 119.4)
XYZxyz(34.4985, 45.4011, 8.7792)
Luminance0.4540 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5BF26 #4026BF
analogous
#BF8C26 #A5BF26 #59BF26
triadic
#A5BF26 #26A5BF #BF26A5
tetradic
#A5BF26 #26BF8C #4026BF #BF2659
square
#A5BF26 #26BF8C #4026BF #BF2659
split-complementary
#A5BF26 #2659BF #8C26BF
monochromatic
#4D5912 #798C1C #A5BF26 #C2DB48 #D3E57B

Accessibility & contrast

On white

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

On black

10.08
#A5BF26 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5BF26
10.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5BF26#FFFFFF#000000##000000
##A5BF261.002.0810.0810.08
#FFFFFF2.081.0021.0021.00
#00000010.0821.001.001.00
##00000010.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCB400
Deuteranopia (green-blind)
#C9B436
Tritanopia (blue-blind)
#AFB4A3
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #a5bf26;
/* rgb */ color: rgb(165, 191, 38);
/* oklch */ color: oklch(75.9% 0.168 119.4);
Tailwind
colors: {
  custom: {
    50: '#c4d26f',
    500: '#a5bf26',
    950: '#000000',
  },
}
SCSS
$custom: #a5bf26;
$custom-light: #c4d26f;
$custom-dark: #000000;
JSON
{
  "hex": "#a5bf26",
  "rgb": {
    "r": 165,
    "g": 191,
    "b": 38
  },
  "hsl": {
    "h": 70.196,
    "s": 66.812,
    "l": 44.902
  },
  "oklch": {
    "l": 0.75917,
    "c": 0.16847,
    "h": 119.4
  },
  "luminance": 0.45401
}

Semantic roles & 50–950 ramp

primary
#A5BF26
secondary
#8374CD
accent
#3EEA5B
background
#FCFCF7
surface
#F8F9ED
border
#D1D2C8
text
#131408
muted
#82827B

Preview Lab

Preview with #A5BF26

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

Preview Lab → · Contrast checker → · Palette generator →

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