#A3B318#A3B318

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

Color values

HEX#A3B318
RGBrgb(163, 179, 24)
HSLhsl(66, 76%, 40%)
HSVhsv(66, 87%, 70%)
CMYKcmyk(8.9%, 0%, 86.6%, 29.8%)
CIE-LABlab(69.54, -23.08, 67.55)
CIE-LCHlch(69.54, 71.38, 108.86°)
OKLaboklab(72.95% -0.0711 0.145)
OKLCHoklch(72.95% 0.162 116.1)
XYZxyz(31.3902, 40.0932, 6.9491)
Luminance0.4009 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A3B318 #2818B3
analogous
#B37618 #A3B318 #55B318
triadic
#A3B318 #18A3B3 #B318A3
tetradic
#A3B318 #18B376 #2818B3 #B31855
square
#A3B318 #18B376 #2818B3 #B31855
split-complementary
#A3B318 #1855B3 #7618B3
monochromatic
#41470A #727D11 #A3B318 #CFE226 #DBE95C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A3B318#FFFFFF#000000##000000
##A3B3181.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)
#BFAB2B
Tritanopia (blue-blind)
#AEA898
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #a3b318;
/* rgb */ color: rgb(163, 179, 24);
/* oklch */ color: oklch(73.0% 0.162 116.1);
Tailwind
colors: {
  custom: {
    50: '#c2c968',
    500: '#a3b318',
    950: '#000000',
  },
}
SCSS
$custom: #a3b318;
$custom-light: #c2c968;
$custom-dark: #000000;
JSON
{
  "hex": "#a3b318",
  "rgb": {
    "r": 163,
    "g": 179,
    "b": 24
  },
  "hsl": {
    "h": 66.194,
    "s": 76.355,
    "l": 39.804
  },
  "oklch": {
    "l": 0.72951,
    "c": 0.16152,
    "h": 116.1
  },
  "luminance": 0.40093
}

Semantic roles & 50–950 ramp

primary
#A3B318
secondary
#665ACD
accent
#35F348
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#131307
muted
#82827A

Preview Lab

Preview with #A3B318

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

Preview Lab → · Contrast checker → · Palette generator →

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