#A3B31B#A3B31B

#A3B31B 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#A3B31B
RGBrgb(163, 179, 27)
HSLhsl(66, 74%, 40%)
HSVhsv(66, 85%, 70%)
CMYKcmyk(8.9%, 0%, 84.9%, 29.8%)
CIE-LABlab(69.55, -23.00, 66.91)
CIE-LCHlch(69.55, 70.75, 108.97°)
OKLaboklab(72.96% -0.0707 0.1441)
OKLCHoklch(72.96% 0.161 116.1)
XYZxyz(31.4231, 40.1063, 7.1227)
Luminance0.4011 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A3B31B #2B1BB3
analogous
#B3771B #A3B31B #57B31B
triadic
#A3B31B #1BA3B3 #B31BA3
tetradic
#A3B31B #1BB377 #2B1BB3 #B31B57
square
#A3B31B #1BB377 #2B1BB3 #B31B57
split-complementary
#A3B31B #1B57B3 #771BB3
monochromatic
#42490B #737E13 #A3B31B #CCDF2C #D9E761

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A3B31B#FFFFFF#000000##000000
##A3B31B1.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: #a3b31b;
/* rgb */ color: rgb(163, 179, 27);
/* oklch */ color: oklch(73.0% 0.161 116.1);
Tailwind
colors: {
  custom: {
    50: '#c2c969',
    500: '#a3b31b',
    950: '#000000',
  },
}
SCSS
$custom: #a3b31b;
$custom-light: #c2c969;
$custom-dark: #000000;
JSON
{
  "hex": "#a3b31b",
  "rgb": {
    "r": 163,
    "g": 179,
    "b": 27
  },
  "hsl": {
    "h": 66.316,
    "s": 73.786,
    "l": 40.392
  },
  "oklch": {
    "l": 0.72961,
    "c": 0.16051,
    "h": 116.1
  },
  "luminance": 0.40106
}

Semantic roles & 50–950 ramp

primary
#A3B31B
secondary
#6A5ECC
accent
#37F04B
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#131307
muted
#82827A

Preview Lab

Preview with #A3B31B

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

Preview Lab → · Contrast checker → · Palette generator →

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