#A3B31E#A3B31E

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

Color values

HEX#A3B31E
RGBrgb(163, 179, 30)
HSLhsl(66, 71%, 41%)
HSVhsv(66, 83%, 70%)
CMYKcmyk(8.9%, 0%, 83.2%, 29.8%)
CIE-LABlab(69.56, -22.91, 66.21)
CIE-LCHlch(69.56, 70.06, 109.09°)
OKLaboklab(72.97% -0.0703 0.1431)
OKLCHoklch(72.97% 0.159 116.2)
XYZxyz(31.4596, 40.1209, 7.3149)
Luminance0.4012 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A3B31E #2E1EB3
analogous
#B3781E #A3B31E #58B31E
triadic
#A3B31E #1EA3B3 #B31EA3
tetradic
#A3B31E #1EB378 #2E1EB3 #B31E58
square
#A3B31E #1EB378 #2E1EB3 #B31E58
split-complementary
#A3B31E #1E58B3 #781EB3
monochromatic
#444A0C #737F15 #A3B31E #CADD32 #D8E566

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A3B31E#FFFFFF#000000##000000
##A3B31E1.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)
#BFAB2E
Tritanopia (blue-blind)
#AEA899
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #a3b31e;
/* rgb */ color: rgb(163, 179, 30);
/* oklch */ color: oklch(73.0% 0.159 116.2);
Tailwind
colors: {
  custom: {
    50: '#c2c96a',
    500: '#a3b31e',
    950: '#000000',
  },
}
SCSS
$custom: #a3b31e;
$custom-light: #c2c96a;
$custom-dark: #000000;
JSON
{
  "hex": "#a3b31e",
  "rgb": {
    "r": 163,
    "g": 179,
    "b": 30
  },
  "hsl": {
    "h": 66.443,
    "s": 71.292,
    "l": 40.98
  },
  "oklch": {
    "l": 0.72973,
    "c": 0.15941,
    "h": 116.2
  },
  "luminance": 0.4012
}

Semantic roles & 50–950 ramp

primary
#A3B31E
secondary
#6D62CB
accent
#3AEE4D
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#131307
muted
#82827A

Preview Lab

Preview with #A3B31E

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

Preview Lab → · Contrast checker → · Palette generator →

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