#A4B128#A4B128

#A4B128 is a light, vivid yellow. Relative luminance 0.395; OKLCH L 72.6% C 0.152 H 115.1°. Best body text is #000000 at 8.90:1 contrast (WCAG AA passes).

Color values

HEX#A4B128
RGBrgb(164, 177, 40)
HSLhsl(66, 63%, 43%)
HSVhsv(66, 77%, 69%)
CMYKcmyk(7.3%, 0%, 77.4%, 30.6%)
CIE-LABlab(69.11, -21.13, 63.05)
CIE-LCHlch(69.11, 66.50, 108.52°)
OKLaboklab(72.64% -0.0647 0.138)
OKLCHoklch(72.64% 0.152 115.1)
XYZxyz(31.4159, 39.4905, 7.9746)
Luminance0.3949 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A4B128 #3528B1
analogous
#B17928 #A4B128 #60B128
triadic
#A4B128 #28A4B1 #B128A4
tetradic
#A4B128 #28B179 #3528B1 #B12860
square
#A4B128 #28B179 #3528B1 #B12860
split-complementary
#A4B128 #2860B1 #7928B1
monochromatic
#474D11 #767F1D #A4B128 #C6D442 #D5E074

Accessibility & contrast

On white

2.36
#A4B128 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.90
#A4B128 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A4B128
8.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A4B128#FFFFFF#000000##000000
##A4B1281.002.368.908.90
#FFFFFF2.361.0021.0021.00
#0000008.9021.001.001.00
##0000008.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEA800
Deuteranopia (green-blind)
#BDAA35
Tritanopia (blue-blind)
#AFA698
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #a4b128;
/* rgb */ color: rgb(164, 177, 40);
/* oklch */ color: oklch(72.6% 0.152 115.1);
Tailwind
colors: {
  custom: {
    50: '#c3c86e',
    500: '#a4b128',
    950: '#000000',
  },
}
SCSS
$custom: #a4b128;
$custom-light: #c3c86e;
$custom-dark: #000000;
JSON
{
  "hex": "#a4b128",
  "rgb": {
    "r": 164,
    "g": 177,
    "b": 40
  },
  "hsl": {
    "h": 65.693,
    "s": 63.134,
    "l": 42.549
  },
  "oklch": {
    "l": 0.72644,
    "c": 0.15245,
    "h": 115.1
  },
  "luminance": 0.3949
}

Semantic roles & 50–950 ramp

primary
#A4B128
secondary
#766EC7
accent
#42E651
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A4B128

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

Preview Lab → · Contrast checker → · Palette generator →

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