#A3B127#A3B127

#A3B127 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#A3B127
RGBrgb(163, 177, 39)
HSLhsl(66, 64%, 42%)
HSVhsv(66, 78%, 69%)
CMYKcmyk(7.9%, 0%, 78%, 30.6%)
CIE-LABlab(69.02, -21.59, 63.26)
CIE-LCHlch(69.02, 66.84, 108.85°)
OKLaboklab(72.56% -0.066 0.1383)
OKLCHoklch(72.56% 0.153 115.5)
XYZxyz(31.1935, 39.3778, 7.8765)
Luminance0.3938 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A3B127 #3527B1
analogous
#B17A27 #A3B127 #5EB127
triadic
#A3B127 #27A3B1 #B127A3
tetradic
#A3B127 #27B17A #3527B1 #B1275E
square
#A3B127 #27B17A #3527B1 #B1275E
split-complementary
#A3B127 #275EB1 #7A27B1
monochromatic
#474D11 #757F1C #A3B127 #C6D540 #D5E072

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A3B127#FFFFFF#000000##000000
##A3B1271.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)
#BDA934
Tritanopia (blue-blind)
#AEA698
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #a3b127;
/* rgb */ color: rgb(163, 177, 39);
/* oklch */ color: oklch(72.6% 0.153 115.5);
Tailwind
colors: {
  custom: {
    50: '#c2c86d',
    500: '#a3b127',
    950: '#000000',
  },
}
SCSS
$custom: #a3b127;
$custom-light: #c2c86d;
$custom-dark: #000000;
JSON
{
  "hex": "#a3b127",
  "rgb": {
    "r": 163,
    "g": 177,
    "b": 39
  },
  "hsl": {
    "h": 66.087,
    "s": 63.889,
    "l": 42.353
  },
  "oklch": {
    "l": 0.72558,
    "c": 0.15328,
    "h": 115.5
  },
  "luminance": 0.39377
}

Semantic roles & 50–950 ramp

primary
#A3B127
secondary
#766DC7
accent
#41E752
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#131308
muted
#82827A

Preview Lab

Preview with #A3B127

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

Preview Lab → · Contrast checker → · Palette generator →

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