#A3AF4E#A3AF4E

#A3AF4E is a light, vivid yellow. Relative luminance 0.390; OKLCH L 72.4% C 0.123 H 115.4°. Best body text is #000000 at 8.80:1 contrast (WCAG AA passes).

Color values

HEX#A3AF4E
RGBrgb(163, 175, 78)
HSLhsl(67, 38%, 50%)
HSVhsv(67, 55%, 69%)
CMYKcmyk(6.9%, 0%, 55.4%, 31.4%)
CIE-LABlab(68.75, -18.15, 47.49)
CIE-LCHlch(68.75, 50.84, 110.92°)
OKLaboklab(72.43% -0.0526 0.1108)
OKLCHoklch(72.43% 0.123 115.4)
XYZxyz(31.8099, 38.9970, 13.0577)
Luminance0.3900 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A3AF4E #5A4EAF
analogous
#AF8B4E #A3AF4E #72AF4E
triadic
#A3AF4E #4EA3AF #AF4EA3
tetradic
#A3AF4E #4EAF8B #5A4EAF #AF4E72
square
#A3AF4E #4EAF8B #5A4EAF #AF4E72
split-complementary
#A3AF4E #4E72AF #8B4EAF
monochromatic
#545A28 #7C853B #A3AF4E #B9C378 #CFD6A2

Accessibility & contrast

On white

2.39
#A3AF4E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.80
#A3AF4E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A3AF4E
8.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A3AF4E#FFFFFF#000000##000000
##A3AF4E1.002.398.808.80
#FFFFFF2.391.0021.0021.00
#0000008.8021.001.001.00
##0000008.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA744
Deuteranopia (green-blind)
#B9A954
Tritanopia (blue-blind)
#ACA69A
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #a3af4e;
/* rgb */ color: rgb(163, 175, 78);
/* oklch */ color: oklch(72.4% 0.123 115.4);
Tailwind
colors: {
  custom: {
    50: '#c0c683',
    500: '#a3af4e',
    950: '#000000',
  },
}
SCSS
$custom: #a3af4e;
$custom-light: #c0c683;
$custom-dark: #000000;
JSON
{
  "hex": "#a3af4e",
  "rgb": {
    "r": 163,
    "g": 175,
    "b": 78
  },
  "hsl": {
    "h": 67.423,
    "s": 38.34,
    "l": 49.608
  },
  "oklch": {
    "l": 0.72431,
    "c": 0.1227,
    "h": 115.4
  },
  "luminance": 0.38997
}

Semantic roles & 50–950 ramp

primary
#A3AF4E
secondary
#9C96C3
accent
#5ACE68
background
#FCFCF8
surface
#F8F8EF
border
#D1D1CA
text
#12130B
muted
#81827C

Preview Lab

Preview with #A3AF4E

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

Preview Lab → · Contrast checker → · Palette generator →

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