#A3AF3E#A3AF3E

#A3AF3E is a light, vivid yellow. Relative luminance 0.388; OKLCH L 72.3% C 0.136 H 115.0°. Best body text is #000000 at 8.76:1 contrast (WCAG AA passes).

Color values

HEX#A3AF3E
RGBrgb(163, 175, 62)
HSLhsl(66, 48%, 46%)
HSVhsv(66, 65%, 69%)
CMYKcmyk(6.9%, 0%, 64.6%, 31.4%)
CIE-LABlab(68.60, -19.37, 54.46)
CIE-LCHlch(68.60, 57.80, 109.58°)
OKLaboklab(72.27% -0.0577 0.1236)
OKLCHoklch(72.27% 0.136 115)
XYZxyz(31.3045, 38.7948, 10.3955)
Luminance0.3879 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A3AF3E #4A3EAF
analogous
#AF833E #A3AF3E #6BAF3E
triadic
#A3AF3E #3EA3AF #AF3EA3
tetradic
#A3AF3E #3EAF83 #4A3EAF #AF3E6B
square
#A3AF3E #3EAF83 #4A3EAF #AF3E6B
split-complementary
#A3AF3E #3E6BAF #833EAF
monochromatic
#4F551E #79822E #A3AF3E #BDC863 #D0D890

Accessibility & contrast

On white

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

On black

8.76
#A3AF3E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A3AF3E
8.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A3AF3E#FFFFFF#000000##000000
##A3AF3E1.002.408.768.76
#FFFFFF2.401.0021.0021.00
#0000008.7621.001.001.00
##0000008.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA62F
Deuteranopia (green-blind)
#BAA846
Tritanopia (blue-blind)
#ADA598
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #a3af3e;
/* rgb */ color: rgb(163, 175, 62);
/* oklch */ color: oklch(72.3% 0.136 115.0);
Tailwind
colors: {
  custom: {
    50: '#c1c679',
    500: '#a3af3e',
    950: '#000000',
  },
}
SCSS
$custom: #a3af3e;
$custom-light: #c1c679;
$custom-dark: #000000;
JSON
{
  "hex": "#a3af3e",
  "rgb": {
    "r": 163,
    "g": 175,
    "b": 62
  },
  "hsl": {
    "h": 66.372,
    "s": 47.679,
    "l": 46.471
  },
  "oklch": {
    "l": 0.72266,
    "c": 0.1364,
    "h": 115
  },
  "luminance": 0.38794
}

Semantic roles & 50–950 ramp

primary
#A3AF3E
secondary
#8D86C3
accent
#51D75F
background
#FCFCF7
surface
#F8F8EE
border
#D1D1C9
text
#131309
muted
#82827B

Preview Lab

Preview with #A3AF3E

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

Preview Lab → · Contrast checker → · Palette generator →

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