#A5BA26#A5BA26

#A5BA26 is a light, vivid yellow. Relative luminance 0.433; OKLCH L 74.8% C 0.163 H 117.9°. Best body text is #000000 at 9.65:1 contrast (WCAG AA passes).

Color values

HEX#A5BA26
RGBrgb(165, 186, 38)
HSLhsl(69, 66%, 44%)
HSVhsv(69, 80%, 73%)
CMYKcmyk(11.3%, 0%, 79.6%, 27.1%)
CIE-LABlab(71.73, -25.21, 66.04)
CIE-LCHlch(71.73, 70.69, 110.90°)
OKLaboklab(74.77% -0.0762 0.144)
OKLCHoklch(74.77% 0.163 117.9)
XYZxyz(33.4266, 43.2574, 8.4220)
Luminance0.4326 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5BA26 #3B26BA
analogous
#BA8526 #A5BA26 #5BBA26
triadic
#A5BA26 #26A5BA #BA26A5
tetradic
#A5BA26 #26BA85 #3B26BA #BA265B
square
#A5BA26 #26BA85 #3B26BA #BA265B
split-complementary
#A5BA26 #265BBA #8526BA
monochromatic
#4B5411 #78871C #A5BA26 #C4D944 #D4E377

Accessibility & contrast

On white

2.18
#A5BA26 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.65
#A5BA26 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5BA26
9.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5BA26#FFFFFF#000000##000000
##A5BA261.002.189.659.65
#FFFFFF2.181.0021.0021.00
#0000009.6521.001.001.00
##0000009.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7AF00
Deuteranopia (green-blind)
#C5B035
Tritanopia (blue-blind)
#AFAF9F
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #a5ba26;
/* rgb */ color: rgb(165, 186, 38);
/* oklch */ color: oklch(74.8% 0.163 117.9);
Tailwind
colors: {
  custom: {
    50: '#c4ce6e',
    500: '#a5ba26',
    950: '#000000',
  },
}
SCSS
$custom: #a5ba26;
$custom-light: #c4ce6e;
$custom-dark: #000000;
JSON
{
  "hex": "#a5ba26",
  "rgb": {
    "r": 165,
    "g": 186,
    "b": 38
  },
  "hsl": {
    "h": 68.514,
    "s": 66.071,
    "l": 43.922
  },
  "oklch": {
    "l": 0.74768,
    "c": 0.16291,
    "h": 117.9
  },
  "luminance": 0.43257
}

Semantic roles & 50–950 ramp

primary
#A5BA26
secondary
#7E71CB
accent
#3FE957
background
#FCFCF7
surface
#F8F9ED
border
#D1D2C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A5BA26

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

Preview Lab → · Contrast checker → · Palette generator →

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