#A3AF2A#A3AF2A

#A3AF2A is a light, vivid yellow. Relative luminance 0.386; OKLCH L 72.1% C 0.150 H 114.8°. Best body text is #000000 at 8.72:1 contrast (WCAG AA passes).

Color values

HEX#A3AF2A
RGBrgb(163, 175, 42)
HSLhsl(65, 61%, 43%)
HSVhsv(65, 76%, 69%)
CMYKcmyk(6.9%, 0%, 76%, 31.4%)
CIE-LABlab(68.47, -20.47, 61.81)
CIE-LCHlch(68.47, 65.11, 108.32°)
OKLaboklab(72.12% -0.0627 0.1358)
OKLCHoklch(72.12% 0.15 114.8)
XYZxyz(30.8530, 38.6142, 8.0180)
Luminance0.3861 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A3AF2A #362AAF
analogous
#AF792A #A3AF2A #60AF2A
triadic
#A3AF2A #2AA3AF #AF2AA3
tetradic
#A3AF2A #2AAF79 #362AAF #AF2A60
square
#A3AF2A #2AAF79 #362AAF #AF2A60
split-complementary
#A3AF2A #2A60AF #792AAF
monochromatic
#474C12 #757E1E #A3AF2A #C5D244 #D5DE75

Accessibility & contrast

On white

2.41
#A3AF2A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.72
#A3AF2A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A3AF2A
8.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A3AF2A#FFFFFF#000000##000000
##A3AF2A1.002.418.728.72
#FFFFFF2.411.0021.0021.00
#0000008.7221.001.001.00
##0000008.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA608
Deuteranopia (green-blind)
#BBA836
Tritanopia (blue-blind)
#AEA496
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #a3af2a;
/* rgb */ color: rgb(163, 175, 42);
/* oklch */ color: oklch(72.1% 0.150 114.8);
Tailwind
colors: {
  custom: {
    50: '#c2c66e',
    500: '#a3af2a',
    950: '#000000',
  },
}
SCSS
$custom: #a3af2a;
$custom-light: #c2c66e;
$custom-dark: #000000;
JSON
{
  "hex": "#a3af2a",
  "rgb": {
    "r": 163,
    "g": 175,
    "b": 42
  },
  "hsl": {
    "h": 65.414,
    "s": 61.29,
    "l": 42.549
  },
  "oklch": {
    "l": 0.72119,
    "c": 0.14954,
    "h": 114.8
  },
  "luminance": 0.38614
}

Semantic roles & 50–950 ramp

primary
#A3AF2A
secondary
#776FC6
accent
#43E452
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A3AF2A

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

Preview Lab → · Contrast checker → · Palette generator →

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