#A1AF25#A1AF25

#A1AF25 is a light, vivid yellow. Relative luminance 0.384; OKLCH L 71.9% C 0.153 H 115.6°. Best body text is #000000 at 8.67:1 contrast (WCAG AA passes).

Color values

HEX#A1AF25
RGBrgb(161, 175, 37)
HSLhsl(66, 65%, 42%)
HSVhsv(66, 79%, 69%)
CMYKcmyk(8%, 0%, 78.9%, 31.4%)
CIE-LABlab(68.29, -21.53, 63.14)
CIE-LCHlch(68.29, 66.71, 108.83°)
OKLaboklab(71.93% -0.0659 0.1378)
OKLCHoklch(71.93% 0.153 115.6)
XYZxyz(30.3627, 38.3711, 7.5568)
Luminance0.3837 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1AF25 #3325AF
analogous
#AF7825 #A1AF25 #5CAF25
triadic
#A1AF25 #25A1AF #AF25A1
tetradic
#A1AF25 #25AF78 #3325AF #AF255C
square
#A1AF25 #25AF78 #3325AF #AF255C
split-complementary
#A1AF25 #255CAF #7825AF
monochromatic
#444A10 #737C1A #A1AF25 #C6D63C #D5E06E

Accessibility & contrast

On white

2.42
#A1AF25 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.67
#A1AF25 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A1AF25
8.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A1AF25#FFFFFF#000000##000000
##A1AF251.002.428.678.67
#FFFFFF2.421.0021.0021.00
#0000008.6721.001.001.00
##0000008.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA600
Deuteranopia (green-blind)
#BBA732
Tritanopia (blue-blind)
#ACA596
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #a1af25;
/* rgb */ color: rgb(161, 175, 37);
/* oklch */ color: oklch(71.9% 0.153 115.6);
Tailwind
colors: {
  custom: {
    50: '#c1c66c',
    500: '#a1af25',
    950: '#000000',
  },
}
SCSS
$custom: #a1af25;
$custom-light: #c1c66c;
$custom-dark: #000000;
JSON
{
  "hex": "#a1af25",
  "rgb": {
    "r": 161,
    "g": 175,
    "b": 37
  },
  "hsl": {
    "h": 66.087,
    "s": 65.094,
    "l": 41.569
  },
  "oklch": {
    "l": 0.7193,
    "c": 0.15275,
    "h": 115.6
  },
  "luminance": 0.38371
}

Semantic roles & 50–950 ramp

primary
#A1AF25
secondary
#7269C7
accent
#40E851
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#131308
muted
#82827A

Preview Lab

Preview with #A1AF25

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

Preview Lab → · Contrast checker → · Palette generator →

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