#A4BA26#A4BA26

#A4BA26 is a light, vivid yellow. Relative luminance 0.431; OKLCH L 74.7% C 0.163 H 118.3°. Best body text is #000000 at 9.63:1 contrast (WCAG AA passes).

Color values

HEX#A4BA26
RGBrgb(164, 186, 38)
HSLhsl(69, 66%, 44%)
HSVhsv(69, 80%, 73%)
CMYKcmyk(11.8%, 0%, 79.6%, 27.1%)
CIE-LABlab(71.66, -25.63, 65.95)
CIE-LCHlch(71.66, 70.76, 111.24°)
OKLaboklab(74.69% -0.0773 0.1438)
OKLCHoklch(74.69% 0.163 118.3)
XYZxyz(33.2194, 43.1506, 8.4122)
Luminance0.4315 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A4BA26 #3C26BA
analogous
#BA8626 #A4BA26 #5ABA26
triadic
#A4BA26 #26A4BA #BA26A4
tetradic
#A4BA26 #26BA86 #3C26BA #BA265A
square
#A4BA26 #26BA86 #3C26BA #BA265A
split-complementary
#A4BA26 #265ABA #8626BA
monochromatic
#4A5411 #77871C #A4BA26 #C3D944 #D3E377

Accessibility & contrast

On white

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

On black

9.63
#A4BA26 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A4BA26
9.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A4BA26#FFFFFF#000000##000000
##A4BA261.002.189.639.63
#FFFFFF2.181.0021.0021.00
#0000009.6321.001.001.00
##0000009.6321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a4ba26;
/* rgb */ color: rgb(164, 186, 38);
/* oklch */ color: oklch(74.7% 0.163 118.3);
Tailwind
colors: {
  custom: {
    50: '#c3ce6e',
    500: '#a4ba26',
    950: '#000000',
  },
}
SCSS
$custom: #a4ba26;
$custom-light: #c3ce6e;
$custom-dark: #000000;
JSON
{
  "hex": "#a4ba26",
  "rgb": {
    "r": 164,
    "g": 186,
    "b": 38
  },
  "hsl": {
    "h": 68.919,
    "s": 66.071,
    "l": 43.922
  },
  "oklch": {
    "l": 0.74692,
    "c": 0.16329,
    "h": 118.3
  },
  "luminance": 0.4315
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A4BA26

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

Preview Lab → · Contrast checker → · Palette generator →

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