#A4BA28#A4BA28

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

Color values

HEX#A4BA28
RGBrgb(164, 186, 40)
HSLhsl(69, 65%, 44%)
HSVhsv(69, 78%, 73%)
CMYKcmyk(11.8%, 0%, 78.5%, 27.1%)
CIE-LABlab(71.67, -25.55, 65.38)
CIE-LCHlch(71.67, 70.20, 111.35°)
OKLaboklab(74.7% -0.0769 0.143)
OKLCHoklch(74.7% 0.162 118.3)
XYZxyz(33.2525, 43.1638, 8.5868)
Luminance0.4316 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A4BA28 #3E28BA
analogous
#BA8728 #A4BA28 #5BBA28
triadic
#A4BA28 #28A4BA #BA28A4
tetradic
#A4BA28 #28BA87 #3E28BA #BA285B
square
#A4BA28 #28BA87 #3E28BA #BA285B
split-complementary
#A4BA28 #285BBA #8728BA
monochromatic
#4B5512 #78881D #A4BA28 #C2D848 #D3E27A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A4BA28#FFFFFF#000000##000000
##A4BA281.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)
#C4B036
Tritanopia (blue-blind)
#AEAF9F
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #a4ba28;
/* rgb */ color: rgb(164, 186, 40);
/* oklch */ color: oklch(74.7% 0.162 118.3);
Tailwind
colors: {
  custom: {
    50: '#c3ce6f',
    500: '#a4ba28',
    950: '#000000',
  },
}
SCSS
$custom: #a4ba28;
$custom-light: #c3ce6f;
$custom-dark: #000000;
JSON
{
  "hex": "#a4ba28",
  "rgb": {
    "r": 164,
    "g": 186,
    "b": 40
  },
  "hsl": {
    "h": 69.041,
    "s": 64.602,
    "l": 44.314
  },
  "oklch": {
    "l": 0.74702,
    "c": 0.16235,
    "h": 118.3
  },
  "luminance": 0.43164
}

Semantic roles & 50–950 ramp

primary
#A4BA28
secondary
#8173CA
accent
#40E859
background
#FCFCF7
surface
#F8F9ED
border
#D1D2C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A4BA28

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

Preview Lab → · Contrast checker → · Palette generator →

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