#A3AF3C#A3AF3C

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

Color values

HEX#A3AF3C
RGBrgb(163, 175, 60)
HSLhsl(66, 49%, 46%)
HSVhsv(66, 66%, 69%)
CMYKcmyk(6.9%, 0%, 65.7%, 31.4%)
CIE-LABlab(68.59, -19.50, 55.27)
CIE-LCHlch(68.59, 58.61, 109.43°)
OKLaboklab(72.25% -0.0583 0.125)
OKLCHoklch(72.25% 0.138 115)
XYZxyz(31.2506, 38.7732, 10.1118)
Luminance0.3877 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A3AF3C #483CAF
analogous
#AF813C #A3AF3C #69AF3C
triadic
#A3AF3C #3CA3AF #AF3CA3
tetradic
#A3AF3C #3CAF81 #483CAF #AF3C69
square
#A3AF3C #3CAF81 #483CAF #AF3C69
split-complementary
#A3AF3C #3C69AF #813CAF
monochromatic
#4E541D #79812C #A3AF3C #BDC860 #D0D88D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A3AF3C#FFFFFF#000000##000000
##A3AF3C1.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)
#BBA62C
Deuteranopia (green-blind)
#BAA844
Tritanopia (blue-blind)
#ADA598
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #a3af3c;
/* rgb */ color: rgb(163, 175, 60);
/* oklch */ color: oklch(72.2% 0.138 115.0);
Tailwind
colors: {
  custom: {
    50: '#c1c678',
    500: '#a3af3c',
    950: '#000000',
  },
}
SCSS
$custom: #a3af3c;
$custom-light: #c1c678;
$custom-dark: #000000;
JSON
{
  "hex": "#a3af3c",
  "rgb": {
    "r": 163,
    "g": 175,
    "b": 60
  },
  "hsl": {
    "h": 66.261,
    "s": 48.936,
    "l": 46.078
  },
  "oklch": {
    "l": 0.72249,
    "c": 0.13793,
    "h": 115
  },
  "luminance": 0.38773
}

Semantic roles & 50–950 ramp

primary
#A3AF3C
secondary
#8B84C3
accent
#4FD85E
background
#FCFCF7
surface
#F8F8EE
border
#D1D1C9
text
#131309
muted
#82827B

Preview Lab

Preview with #A3AF3C

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

Preview Lab → · Contrast checker → · Palette generator →

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