#A3AF1E#A3AF1E

#A3AF1E is a light, vivid yellow. Relative luminance 0.385; OKLCH L 72.1% C 0.155 H 114.7°. Best body text is #000000 at 8.71:1 contrast (WCAG AA passes).

Color values

HEX#A3AF1E
RGBrgb(163, 175, 30)
HSLhsl(65, 71%, 40%)
HSVhsv(65, 83%, 69%)
CMYKcmyk(6.9%, 0%, 82.9%, 31.4%)
CIE-LABlab(68.42, -20.92, 65.23)
CIE-LCHlch(68.42, 68.50, 107.78°)
OKLaboklab(72.06% -0.0648 0.141)
OKLCHoklch(72.06% 0.155 114.7)
XYZxyz(30.6695, 38.5408, 7.0515)
Luminance0.3854 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A3AF1E #2A1EAF
analogous
#AF731E #A3AF1E #5AAF1E
triadic
#A3AF1E #1EA3AF #AF1EA3
tetradic
#A3AF1E #1EAF73 #2A1EAF #AF1E5A
square
#A3AF1E #1EAF73 #2A1EAF #AF1E5A
split-complementary
#A3AF1E #1E5AAF #731EAF
monochromatic
#42470C #727B15 #A3AF1E #CDDB2F #DAE463

Accessibility & contrast

On white

2.41
#A3AF1E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.71
#A3AF1E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A3AF1E
8.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A3AF1E#FFFFFF#000000##000000
##A3AF1E1.002.418.718.71
#FFFFFF2.411.0021.0021.00
#0000008.7121.001.001.00
##0000008.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA600
Deuteranopia (green-blind)
#BCA82D
Tritanopia (blue-blind)
#AEA495
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #a3af1e;
/* rgb */ color: rgb(163, 175, 30);
/* oklch */ color: oklch(72.1% 0.155 114.7);
Tailwind
colors: {
  custom: {
    50: '#c2c66a',
    500: '#a3af1e',
    950: '#000000',
  },
}
SCSS
$custom: #a3af1e;
$custom-light: #c2c66a;
$custom-dark: #000000;
JSON
{
  "hex": "#a3af1e",
  "rgb": {
    "r": 163,
    "g": 175,
    "b": 30
  },
  "hsl": {
    "h": 64.966,
    "s": 70.732,
    "l": 40.196
  },
  "oklch": {
    "l": 0.72059,
    "c": 0.15516,
    "h": 114.7
  },
  "luminance": 0.3854
}

Semantic roles & 50–950 ramp

primary
#A3AF1E
secondary
#6860C9
accent
#3AED49
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#131307
muted
#82827A

Preview Lab

Preview with #A3AF1E

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

Preview Lab → · Contrast checker → · Palette generator →

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