#A3B126#A3B126

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

Color values

HEX#A3B126
RGBrgb(163, 177, 38)
HSLhsl(66, 65%, 42%)
HSVhsv(66, 79%, 69%)
CMYKcmyk(7.9%, 0%, 78.5%, 30.6%)
CIE-LABlab(69.02, -21.63, 63.56)
CIE-LCHlch(69.02, 67.14, 108.80°)
OKLaboklab(72.55% -0.0662 0.1388)
OKLCHoklch(72.55% 0.154 115.5)
XYZxyz(31.1771, 39.3713, 7.7904)
Luminance0.3937 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A3B126 #3426B1
analogous
#B17926 #A3B126 #5EB126
triadic
#A3B126 #26A3B1 #B126A3
tetradic
#A3B126 #26B179 #3426B1 #B1265E
square
#A3B126 #26B179 #3426B1 #B1265E
split-complementary
#A3B126 #265EB1 #7926B1
monochromatic
#464C10 #757F1B #A3B126 #C6D63F #D5E071

Accessibility & contrast

On white

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

On black

8.87
#A3B126 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A3B126
8.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A3B126#FFFFFF#000000##000000
##A3B1261.002.378.878.87
#FFFFFF2.371.0021.0021.00
#0000008.8721.001.001.00
##0000008.8721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a3b126;
/* rgb */ color: rgb(163, 177, 38);
/* oklch */ color: oklch(72.6% 0.154 115.5);
Tailwind
colors: {
  custom: {
    50: '#c2c86d',
    500: '#a3b126',
    950: '#000000',
  },
}
SCSS
$custom: #a3b126;
$custom-light: #c2c86d;
$custom-dark: #000000;
JSON
{
  "hex": "#a3b126",
  "rgb": {
    "r": 163,
    "g": 177,
    "b": 38
  },
  "hsl": {
    "h": 66.043,
    "s": 64.651,
    "l": 42.157
  },
  "oklch": {
    "l": 0.72553,
    "c": 0.15376,
    "h": 115.5
  },
  "luminance": 0.39371
}

Semantic roles & 50–950 ramp

primary
#A3B126
secondary
#756BC7
accent
#40E851
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#131308
muted
#82827A

Preview Lab

Preview with #A3B126

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

Preview Lab → · Contrast checker → · Palette generator →

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