#A3AF25#A3AF25

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

Color values

HEX#A3AF25
RGBrgb(163, 175, 37)
HSLhsl(65, 65%, 42%)
HSVhsv(65, 79%, 69%)
CMYKcmyk(6.9%, 0%, 78.9%, 31.4%)
CIE-LABlab(68.45, -20.68, 63.34)
CIE-LCHlch(68.45, 66.63, 108.08°)
OKLaboklab(72.09% -0.0637 0.1381)
OKLCHoklch(72.09% 0.152 114.7)
XYZxyz(30.7691, 38.5806, 7.5758)
Luminance0.3858 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A3AF25 #3125AF
analogous
#AF7625 #A3AF25 #5EAF25
triadic
#A3AF25 #25A3AF #AF25A3
tetradic
#A3AF25 #25AF76 #3125AF #AF255E
square
#A3AF25 #25AF76 #3125AF #AF255E
split-complementary
#A3AF25 #255EAF #7625AF
monochromatic
#454A10 #747C1A #A3AF25 #C8D63C #D6E06E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A3AF25#FFFFFF#000000##000000
##A3AF251.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)
#BBA832
Tritanopia (blue-blind)
#AEA496
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #a3af25;
/* rgb */ color: rgb(163, 175, 37);
/* oklch */ color: oklch(72.1% 0.152 114.7);
Tailwind
colors: {
  custom: {
    50: '#c2c66c',
    500: '#a3af25',
    950: '#000000',
  },
}
SCSS
$custom: #a3af25;
$custom-light: #c2c66c;
$custom-dark: #000000;
JSON
{
  "hex": "#a3af25",
  "rgb": {
    "r": 163,
    "g": 175,
    "b": 37
  },
  "hsl": {
    "h": 65.217,
    "s": 65.094,
    "l": 41.569
  },
  "oklch": {
    "l": 0.72091,
    "c": 0.15209,
    "h": 114.7
  },
  "luminance": 0.3858
}

Semantic roles & 50–950 ramp

primary
#A3AF25
secondary
#7169C7
accent
#40E84E
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#131308
muted
#82827A

Preview Lab

Preview with #A3AF25

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

Preview Lab → · Contrast checker → · Palette generator →

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