#A3B128#A3B128

#A3B128 is a light, vivid yellow. Relative luminance 0.394; OKLCH L 72.6% C 0.153 H 115.5°. Best body text is #000000 at 8.88:1 contrast (WCAG AA passes).

Color values

HEX#A3B128
RGBrgb(163, 177, 40)
HSLhsl(66, 63%, 43%)
HSVhsv(66, 77%, 69%)
CMYKcmyk(7.9%, 0%, 77.4%, 30.6%)
CIE-LABlab(69.03, -21.55, 62.96)
CIE-LCHlch(69.03, 66.54, 108.90°)
OKLaboklab(72.56% -0.0659 0.1379)
OKLCHoklch(72.56% 0.153 115.5)
XYZxyz(31.2103, 39.3845, 7.9649)
Luminance0.3938 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A3B128 #3628B1
analogous
#B17A28 #A3B128 #5FB128
triadic
#A3B128 #28A3B1 #B128A3
tetradic
#A3B128 #28B17A #3628B1 #B1285F
square
#A3B128 #28B17A #3628B1 #B1285F
split-complementary
#A3B128 #285FB1 #7A28B1
monochromatic
#474D11 #757F1D #A3B128 #C5D442 #D5E074

Accessibility & contrast

On white

2.37
#A3B128 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.88
#A3B128 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A3B128
8.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A3B128#FFFFFF#000000##000000
##A3B1281.002.378.888.88
#FFFFFF2.371.0021.0021.00
#0000008.8821.001.001.00
##0000008.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEA800
Deuteranopia (green-blind)
#BDA935
Tritanopia (blue-blind)
#AEA698
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #a3b128;
/* rgb */ color: rgb(163, 177, 40);
/* oklch */ color: oklch(72.6% 0.153 115.5);
Tailwind
colors: {
  custom: {
    50: '#c2c86e',
    500: '#a3b128',
    950: '#000000',
  },
}
SCSS
$custom: #a3b128;
$custom-light: #c2c86e;
$custom-dark: #000000;
JSON
{
  "hex": "#a3b128",
  "rgb": {
    "r": 163,
    "g": 177,
    "b": 40
  },
  "hsl": {
    "h": 66.131,
    "s": 63.134,
    "l": 42.549
  },
  "oklch": {
    "l": 0.72563,
    "c": 0.15277,
    "h": 115.5
  },
  "luminance": 0.39384
}

Semantic roles & 50–950 ramp

primary
#A3B128
secondary
#776EC7
accent
#42E652
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A3B128

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

Preview Lab → · Contrast checker → · Palette generator →

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