#A3B31A#A3B31A

#A3B31A is a light, vivid yellow. Relative luminance 0.401; OKLCH L 73.0% C 0.161 H 116.1°. Best body text is #000000 at 9.02:1 contrast (WCAG AA passes).

Color values

HEX#A3B31A
RGBrgb(163, 179, 26)
HSLhsl(66, 75%, 40%)
HSVhsv(66, 85%, 70%)
CMYKcmyk(8.9%, 0%, 85.5%, 29.8%)
CIE-LABlab(69.54, -23.02, 67.13)
CIE-LCHlch(69.54, 70.97, 108.93°)
OKLaboklab(72.96% -0.0709 0.1444)
OKLCHoklch(72.96% 0.161 116.1)
XYZxyz(31.4117, 40.1018, 7.0628)
Luminance0.4010 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A3B31A #2A1AB3
analogous
#B3771A #A3B31A #56B31A
triadic
#A3B31A #1AA3B3 #B31AA3
tetradic
#A3B31A #1AB377 #2A1AB3 #B31A56
square
#A3B31A #1AB377 #2A1AB3 #B31A56
split-complementary
#A3B31A #1A56B3 #771AB3
monochromatic
#42480A #727E12 #A3B31A #CDE02A #DAE860

Accessibility & contrast

On white

2.33
#A3B31A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.02
#A3B31A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A3B31A
9.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A3B31A#FFFFFF#000000##000000
##A3B31A1.002.339.029.02
#FFFFFF2.331.0021.0021.00
#0000009.0221.001.001.00
##0000009.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0A900
Deuteranopia (green-blind)
#BFAB2C
Tritanopia (blue-blind)
#AEA899
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #a3b31a;
/* rgb */ color: rgb(163, 179, 26);
/* oklch */ color: oklch(73.0% 0.161 116.1);
Tailwind
colors: {
  custom: {
    50: '#c2c969',
    500: '#a3b31a',
    950: '#000000',
  },
}
SCSS
$custom: #a3b31a;
$custom-light: #c2c969;
$custom-dark: #000000;
JSON
{
  "hex": "#a3b31a",
  "rgb": {
    "r": 163,
    "g": 179,
    "b": 26
  },
  "hsl": {
    "h": 66.275,
    "s": 74.634,
    "l": 40.196
  },
  "oklch": {
    "l": 0.72958,
    "c": 0.16086,
    "h": 116.1
  },
  "luminance": 0.40101
}

Semantic roles & 50–950 ramp

primary
#A3B31A
secondary
#685DCC
accent
#37F14A
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#131307
muted
#82827A

Preview Lab

Preview with #A3B31A

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

Preview Lab → · Contrast checker → · Palette generator →

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