#A3AF34#A3AF34

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

Color values

HEX#A3AF34
RGBrgb(163, 175, 52)
HSLhsl(66, 54%, 45%)
HSVhsv(66, 70%, 69%)
CMYKcmyk(6.9%, 0%, 70.3%, 31.4%)
CIE-LABlab(68.53, -19.98, 58.36)
CIE-LCHlch(68.53, 61.68, 108.90°)
OKLaboklab(72.19% -0.0604 0.1302)
OKLCHoklch(72.19% 0.144 114.9)
XYZxyz(31.0549, 38.6949, 9.0811)
Luminance0.3869 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A3AF34 #4034AF
analogous
#AF7E34 #A3AF34 #65AF34
triadic
#A3AF34 #34A3AF #AF34A3
tetradic
#A3AF34 #34AF7E #4034AF #AF3465
square
#A3AF34 #34AF7E #4034AF #AF3465
split-complementary
#A3AF34 #3465AF #7E34AF
monochromatic
#4B5118 #778026 #A3AF34 #C0CC54 #D2DA83

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A3AF34#FFFFFF#000000##000000
##A3AF341.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)
#BCA620
Deuteranopia (green-blind)
#BBA83D
Tritanopia (blue-blind)
#AEA597
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #a3af34;
/* rgb */ color: rgb(163, 175, 52);
/* oklch */ color: oklch(72.2% 0.144 114.9);
Tailwind
colors: {
  custom: {
    50: '#c1c673',
    500: '#a3af34',
    950: '#000000',
  },
}
SCSS
$custom: #a3af34;
$custom-light: #c1c673;
$custom-dark: #000000;
JSON
{
  "hex": "#a3af34",
  "rgb": {
    "r": 163,
    "g": 175,
    "b": 52
  },
  "hsl": {
    "h": 65.854,
    "s": 54.185,
    "l": 44.51
  },
  "oklch": {
    "l": 0.72185,
    "c": 0.14355,
    "h": 114.9
  },
  "luminance": 0.38694
}

Semantic roles & 50–950 ramp

primary
#A3AF34
secondary
#827BC4
accent
#4ADE59
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131309
muted
#82827B

Preview Lab

Preview with #A3AF34

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

Preview Lab → · Contrast checker → · Palette generator →

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