#A3B31C#A3B31C

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

Color values

HEX#A3B31C
RGBrgb(163, 179, 28)
HSLhsl(66, 73%, 41%)
HSVhsv(66, 84%, 70%)
CMYKcmyk(8.9%, 0%, 84.4%, 29.8%)
CIE-LABlab(69.55, -22.97, 66.68)
CIE-LCHlch(69.55, 70.52, 109.01°)
OKLaboklab(72.97% -0.0706 0.1438)
OKLCHoklch(72.97% 0.16 116.2)
XYZxyz(31.4349, 40.1111, 7.1846)
Luminance0.4011 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A3B31C #2C1CB3
analogous
#B3781C #A3B31C #57B31C
triadic
#A3B31C #1CA3B3 #B31CA3
tetradic
#A3B31C #1CB378 #2C1CB3 #B31C57
square
#A3B31C #1CB378 #2C1CB3 #B31C57
split-complementary
#A3B31C #1C57B3 #781CB3
monochromatic
#43490B #737E14 #A3B31C #CCDE2E #D9E763

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #a3b31c;
/* rgb */ color: rgb(163, 179, 28);
/* oklch */ color: oklch(73.0% 0.160 116.2);
Tailwind
colors: {
  custom: {
    50: '#c2c969',
    500: '#a3b31c',
    950: '#000000',
  },
}
SCSS
$custom: #a3b31c;
$custom-light: #c2c969;
$custom-dark: #000000;
JSON
{
  "hex": "#a3b31c",
  "rgb": {
    "r": 163,
    "g": 179,
    "b": 28
  },
  "hsl": {
    "h": 66.358,
    "s": 72.947,
    "l": 40.588
  },
  "oklch": {
    "l": 0.72965,
    "c": 0.16016,
    "h": 116.2
  },
  "luminance": 0.40111
}

Semantic roles & 50–950 ramp

primary
#A3B31C
secondary
#6B5FCB
accent
#38F04C
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#131307
muted
#82827A

Preview Lab

Preview with #A3B31C

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

Preview Lab → · Contrast checker → · Palette generator →

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