#A3AF38#A3AF38

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

Color values

HEX#A3AF38
RGBrgb(163, 175, 56)
HSLhsl(66, 52%, 45%)
HSVhsv(66, 68%, 69%)
CMYKcmyk(6.9%, 0%, 68%, 31.4%)
CIE-LABlab(68.56, -19.75, 56.85)
CIE-LCHlch(68.56, 60.18, 109.16°)
OKLaboklab(72.21% -0.0594 0.1277)
OKLCHoklch(72.21% 0.141 114.9)
XYZxyz(31.1488, 38.7325, 9.5759)
Luminance0.3873 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A3AF38 #4438AF
analogous
#AF7F38 #A3AF38 #68AF38
triadic
#A3AF38 #38A3AF #AF38A3
tetradic
#A3AF38 #38AF7F #4438AF #AF3868
square
#A3AF38 #38AF7F #4438AF #AF3868
split-complementary
#A3AF38 #3868AF #7F38AF
monochromatic
#4D521A #788129 #A3AF38 #BFCA5A #D1D988

Accessibility & contrast

On white

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

On black

8.75
#A3AF38 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A3AF38
8.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A3AF38#FFFFFF#000000##000000
##A3AF381.002.408.758.75
#FFFFFF2.401.0021.0021.00
#0000008.7521.001.001.00
##0000008.7521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a3af38;
/* rgb */ color: rgb(163, 175, 56);
/* oklch */ color: oklch(72.2% 0.141 114.9);
Tailwind
colors: {
  custom: {
    50: '#c1c676',
    500: '#a3af38',
    950: '#000000',
  },
}
SCSS
$custom: #a3af38;
$custom-light: #c1c676;
$custom-dark: #000000;
JSON
{
  "hex": "#a3af38",
  "rgb": {
    "r": 163,
    "g": 175,
    "b": 56
  },
  "hsl": {
    "h": 66.05,
    "s": 51.515,
    "l": 45.294
  },
  "oklch": {
    "l": 0.72215,
    "c": 0.14083,
    "h": 114.9
  },
  "luminance": 0.38732
}

Semantic roles & 50–950 ramp

primary
#A3AF38
secondary
#8680C3
accent
#4DDB5B
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131309
muted
#82827B

Preview Lab

Preview with #A3AF38

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

Preview Lab → · Contrast checker → · Palette generator →

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