#A3AF37#A3AF37

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

Color values

HEX#A3AF37
RGBrgb(163, 175, 55)
HSLhsl(66, 52%, 45%)
HSVhsv(66, 69%, 69%)
CMYKcmyk(6.9%, 0%, 68.6%, 31.4%)
CIE-LABlab(68.55, -19.81, 57.23)
CIE-LCHlch(68.55, 60.56, 109.09°)
OKLaboklab(72.21% -0.0596 0.1284)
OKLCHoklch(72.21% 0.142 114.9)
XYZxyz(31.1246, 38.7228, 9.4483)
Luminance0.3872 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A3AF37 #4337AF
analogous
#AF7F37 #A3AF37 #67AF37
triadic
#A3AF37 #37A3AF #AF37A3
tetradic
#A3AF37 #37AF7F #4337AF #AF3767
square
#A3AF37 #37AF7F #4337AF #AF3767
split-complementary
#A3AF37 #3767AF #7F37AF
monochromatic
#4C521A #788028 #A3AF37 #BFCB59 #D1D987

Accessibility & contrast

On white

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

On black

8.74
#A3AF37 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A3AF37
8.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A3AF37#FFFFFF#000000##000000
##A3AF371.002.408.748.74
#FFFFFF2.401.0021.0021.00
#0000008.7421.001.001.00
##0000008.7421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a3af37;
/* rgb */ color: rgb(163, 175, 55);
/* oklch */ color: oklch(72.2% 0.142 114.9);
Tailwind
colors: {
  custom: {
    50: '#c1c675',
    500: '#a3af37',
    950: '#000000',
  },
}
SCSS
$custom: #a3af37;
$custom-light: #c1c675;
$custom-dark: #000000;
JSON
{
  "hex": "#a3af37",
  "rgb": {
    "r": 163,
    "g": 175,
    "b": 55
  },
  "hsl": {
    "h": 66,
    "s": 52.174,
    "l": 45.098
  },
  "oklch": {
    "l": 0.72208,
    "c": 0.14153,
    "h": 114.9
  },
  "luminance": 0.38722
}

Semantic roles & 50–950 ramp

primary
#A3AF37
secondary
#857FC3
accent
#4CDC5B
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131309
muted
#82827B

Preview Lab

Preview with #A3AF37

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

Preview Lab → · Contrast checker → · Palette generator →

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