#A3AF26#A3AF26

#A3AF26 is a light, vivid yellow. Relative luminance 0.386; OKLCH L 72.1% C 0.152 H 114.8°. Best body text is #000000 at 8.72:1 contrast (WCAG AA passes).

Color values

HEX#A3AF26
RGBrgb(163, 175, 38)
HSLhsl(65, 64%, 42%)
HSVhsv(65, 78%, 69%)
CMYKcmyk(6.9%, 0%, 78.3%, 31.4%)
CIE-LABlab(68.45, -20.64, 63.04)
CIE-LCHlch(68.45, 66.33, 108.13°)
OKLaboklab(72.1% -0.0635 0.1377)
OKLCHoklch(72.1% 0.152 114.8)
XYZxyz(30.7850, 38.5870, 7.6597)
Luminance0.3859 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A3AF26 #3226AF
analogous
#AF7626 #A3AF26 #5FAF26
triadic
#A3AF26 #26A3AF #AF26A3
tetradic
#A3AF26 #26AF76 #3226AF #AF265F
square
#A3AF26 #26AF76 #3226AF #AF265F
split-complementary
#A3AF26 #265FAF #7626AF
monochromatic
#454A10 #747D1B #A3AF26 #C8D53D #D6E070

Accessibility & contrast

On white

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

On black

8.72
#A3AF26 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A3AF26
8.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A3AF26#FFFFFF#000000##000000
##A3AF261.002.418.728.72
#FFFFFF2.411.0021.0021.00
#0000008.7221.001.001.00
##0000008.7221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a3af26;
/* rgb */ color: rgb(163, 175, 38);
/* oklch */ color: oklch(72.1% 0.152 114.8);
Tailwind
colors: {
  custom: {
    50: '#c2c66d',
    500: '#a3af26',
    950: '#000000',
  },
}
SCSS
$custom: #a3af26;
$custom-light: #c2c66d;
$custom-dark: #000000;
JSON
{
  "hex": "#a3af26",
  "rgb": {
    "r": 163,
    "g": 175,
    "b": 38
  },
  "hsl": {
    "h": 65.255,
    "s": 64.319,
    "l": 41.765
  },
  "oklch": {
    "l": 0.72097,
    "c": 0.15161,
    "h": 114.8
  },
  "luminance": 0.38586
}

Semantic roles & 50–950 ramp

primary
#A3AF26
secondary
#726AC7
accent
#40E74F
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#131308
muted
#82827A

Preview Lab

Preview with #A3AF26

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

Preview Lab → · Contrast checker → · Palette generator →

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