#A3B31F#A3B31F

#A3B31F 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.03:1 contrast (WCAG AA passes).

Color values

HEX#A3B31F
RGBrgb(163, 179, 31)
HSLhsl(66, 70%, 41%)
HSVhsv(66, 83%, 70%)
CMYKcmyk(8.9%, 0%, 82.7%, 29.8%)
CIE-LABlab(69.56, -22.88, 65.96)
CIE-LCHlch(69.56, 69.81, 109.13°)
OKLaboklab(72.98% -0.0701 0.1427)
OKLCHoklch(72.98% 0.159 116.2)
XYZxyz(31.4726, 40.1261, 7.3832)
Luminance0.4013 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A3B31F #2F1FB3
analogous
#B3791F #A3B31F #59B31F
triadic
#A3B31F #1FA3B3 #B31FA3
tetradic
#A3B31F #1FB379 #2F1FB3 #B31F59
square
#A3B31F #1FB379 #2F1FB3 #B31F59
split-complementary
#A3B31F #1F59B3 #791FB3
monochromatic
#444B0D #737F16 #A3B31F #CADC33 #D7E568

Accessibility & contrast

On white

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

On black

9.03
#A3B31F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A3B31F
9.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A3B31F#FFFFFF#000000##000000
##A3B31F1.002.339.039.03
#FFFFFF2.331.0021.0021.00
#0000009.0321.001.001.00
##0000009.0321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a3b31f;
/* rgb */ color: rgb(163, 179, 31);
/* oklch */ color: oklch(73.0% 0.159 116.2);
Tailwind
colors: {
  custom: {
    50: '#c2c96a',
    500: '#a3b31f',
    950: '#000000',
  },
}
SCSS
$custom: #a3b31f;
$custom-light: #c2c96a;
$custom-dark: #000000;
JSON
{
  "hex": "#a3b31f",
  "rgb": {
    "r": 163,
    "g": 179,
    "b": 31
  },
  "hsl": {
    "h": 66.486,
    "s": 70.476,
    "l": 41.176
  },
  "oklch": {
    "l": 0.72977,
    "c": 0.15901,
    "h": 116.2
  },
  "luminance": 0.40126
}

Semantic roles & 50–950 ramp

primary
#A3B31F
secondary
#6F64CA
accent
#3BED4E
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#131307
muted
#82827A

Preview Lab

Preview with #A3B31F

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

Preview Lab → · Contrast checker → · Palette generator →

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