#A3AF39#A3AF39

#A3AF39 is a light, vivid yellow. Relative luminance 0.387; OKLCH L 72.2% C 0.140 H 115.0°. Best body text is #000000 at 8.75:1 contrast (WCAG AA passes).

Color values

HEX#A3AF39
RGBrgb(163, 175, 57)
HSLhsl(66, 51%, 45%)
HSVhsv(66, 67%, 69%)
CMYKcmyk(6.9%, 0%, 67.4%, 31.4%)
CIE-LABlab(68.56, -19.69, 56.46)
CIE-LCHlch(68.56, 59.79, 109.22°)
OKLaboklab(72.22% -0.0591 0.127)
OKLCHoklch(72.22% 0.14 115)
XYZxyz(31.1735, 38.7424, 9.7059)
Luminance0.3874 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A3AF39 #4539AF
analogous
#AF8039 #A3AF39 #68AF39
triadic
#A3AF39 #39A3AF #AF39A3
tetradic
#A3AF39 #39AF80 #4539AF #AF3968
square
#A3AF39 #39AF80 #4539AF #AF3968
split-complementary
#A3AF39 #3968AF #8039AF
monochromatic
#4D531B #78812A #A3AF39 #BFCA5B #D1D98A

Accessibility & contrast

On white

2.40
#A3AF39 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.75
#A3AF39 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A3AF39
8.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A3AF39#FFFFFF#000000##000000
##A3AF391.002.408.758.75
#FFFFFF2.401.0021.0021.00
#0000008.7521.001.001.00
##0000008.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA628
Deuteranopia (green-blind)
#BBA842
Tritanopia (blue-blind)
#ADA597
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #a3af39;
/* rgb */ color: rgb(163, 175, 57);
/* oklch */ color: oklch(72.2% 0.140 115.0);
Tailwind
colors: {
  custom: {
    50: '#c1c676',
    500: '#a3af39',
    950: '#000000',
  },
}
SCSS
$custom: #a3af39;
$custom-light: #c1c676;
$custom-dark: #000000;
JSON
{
  "hex": "#a3af39",
  "rgb": {
    "r": 163,
    "g": 175,
    "b": 57
  },
  "hsl": {
    "h": 66.102,
    "s": 50.862,
    "l": 45.49
  },
  "oklch": {
    "l": 0.72223,
    "c": 0.14012,
    "h": 115
  },
  "luminance": 0.38742
}

Semantic roles & 50–950 ramp

primary
#A3AF39
secondary
#8781C3
accent
#4DDA5C
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131309
muted
#82827B

Preview Lab

Preview with #A3AF39

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

Preview Lab → · Contrast checker → · Palette generator →

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