#A3AF2F#A3AF2F

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

Color values

HEX#A3AF2F
RGBrgb(163, 175, 47)
HSLhsl(66, 58%, 44%)
HSVhsv(66, 73%, 69%)
CMYKcmyk(6.9%, 0%, 73.1%, 31.4%)
CIE-LABlab(68.50, -20.24, 60.15)
CIE-LCHlch(68.50, 63.46, 108.60°)
OKLaboklab(72.15% -0.0616 0.1331)
OKLCHoklch(72.15% 0.147 114.8)
XYZxyz(30.9482, 38.6523, 8.5191)
Luminance0.3865 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A3AF2F #3B2FAF
analogous
#AF7B2F #A3AF2F #63AF2F
triadic
#A3AF2F #2FA3AF #AF2FA3
tetradic
#A3AF2F #2FAF7B #3B2FAF #AF2F63
square
#A3AF2F #2FAF7B #3B2FAF #AF2F63
split-complementary
#A3AF2F #2F63AF #7B2FAF
monochromatic
#494F15 #767F22 #A3AF2F #C3CF4C #D3DC7C

Accessibility & contrast

On white

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

On black

8.73
#A3AF2F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A3AF2F
8.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A3AF2F#FFFFFF#000000##000000
##A3AF2F1.002.418.738.73
#FFFFFF2.411.0021.0021.00
#0000008.7321.001.001.00
##0000008.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA616
Deuteranopia (green-blind)
#BBA83A
Tritanopia (blue-blind)
#AEA596
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #a3af2f;
/* rgb */ color: rgb(163, 175, 47);
/* oklch */ color: oklch(72.2% 0.147 114.8);
Tailwind
colors: {
  custom: {
    50: '#c2c671',
    500: '#a3af2f',
    950: '#000000',
  },
}
SCSS
$custom: #a3af2f;
$custom-light: #c2c671;
$custom-dark: #000000;
JSON
{
  "hex": "#a3af2f",
  "rgb": {
    "r": 163,
    "g": 175,
    "b": 47
  },
  "hsl": {
    "h": 65.625,
    "s": 57.658,
    "l": 43.529
  },
  "oklch": {
    "l": 0.7215,
    "c": 0.14669,
    "h": 114.8
  },
  "luminance": 0.38652
}

Semantic roles & 50–950 ramp

primary
#A3AF2F
secondary
#7D75C4
accent
#47E155
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A3AF2F

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

Preview Lab → · Contrast checker → · Palette generator →

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