#A3AF3D#A3AF3D

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

Color values

HEX#A3AF3D
RGBrgb(163, 175, 61)
HSLhsl(66, 48%, 46%)
HSVhsv(66, 65%, 69%)
CMYKcmyk(6.9%, 0%, 65.1%, 31.4%)
CIE-LABlab(68.59, -19.43, 54.86)
CIE-LCHlch(68.59, 58.20, 109.51°)
OKLaboklab(72.26% -0.058 0.1243)
OKLCHoklch(72.26% 0.137 115)
XYZxyz(31.2773, 38.7839, 10.2524)
Luminance0.3878 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A3AF3D #493DAF
analogous
#AF823D #A3AF3D #6AAF3D
triadic
#A3AF3D #3DA3AF #AF3DA3
tetradic
#A3AF3D #3DAF82 #493DAF #AF3D6A
square
#A3AF3D #3DAF82 #493DAF #AF3D6A
split-complementary
#A3AF3D #3D6AAF #823DAF
monochromatic
#4E541D #79822D #A3AF3D #BDC861 #D0D88F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A3AF3D#FFFFFF#000000##000000
##A3AF3D1.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)
#BBA62E
Deuteranopia (green-blind)
#BAA845
Tritanopia (blue-blind)
#ADA598
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #a3af3d;
/* rgb */ color: rgb(163, 175, 61);
/* oklch */ color: oklch(72.3% 0.137 115.0);
Tailwind
colors: {
  custom: {
    50: '#c1c678',
    500: '#a3af3d',
    950: '#000000',
  },
}
SCSS
$custom: #a3af3d;
$custom-light: #c1c678;
$custom-dark: #000000;
JSON
{
  "hex": "#a3af3d",
  "rgb": {
    "r": 163,
    "g": 175,
    "b": 61
  },
  "hsl": {
    "h": 66.316,
    "s": 48.305,
    "l": 46.275
  },
  "oklch": {
    "l": 0.72257,
    "c": 0.13717,
    "h": 115
  },
  "luminance": 0.38783
}

Semantic roles & 50–950 ramp

primary
#A3AF3D
secondary
#8C85C3
accent
#50D85E
background
#FCFCF7
surface
#F8F8EE
border
#D1D1C9
text
#131309
muted
#82827B

Preview Lab

Preview with #A3AF3D

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

Preview Lab → · Contrast checker → · Palette generator →

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