#A1AF2A#A1AF2A

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

Color values

HEX#A1AF2A
RGBrgb(161, 175, 42)
HSLhsl(66, 61%, 43%)
HSVhsv(66, 76%, 69%)
CMYKcmyk(8%, 0%, 76%, 31.4%)
CIE-LABlab(68.32, -21.33, 61.61)
CIE-LCHlch(68.32, 65.20, 109.09°)
OKLaboklab(71.96% -0.0649 0.1354)
OKLCHoklch(71.96% 0.15 115.6)
XYZxyz(30.4467, 38.4047, 7.9990)
Luminance0.3840 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1AF2A #382AAF
analogous
#AF7B2A #A1AF2A #5EAF2A
triadic
#A1AF2A #2AA1AF #AF2AA1
tetradic
#A1AF2A #2AAF7B #382AAF #AF2A5E
square
#A1AF2A #2AAF7B #382AAF #AF2A5E
split-complementary
#A1AF2A #2A5EAF #7B2AAF
monochromatic
#464C12 #747E1E #A1AF2A #C3D244 #D3DE75

Accessibility & contrast

On white

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

On black

8.68
#A1AF2A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A1AF2A
8.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A1AF2A#FFFFFF#000000##000000
##A1AF2A1.002.428.688.68
#FFFFFF2.421.0021.0021.00
#0000008.6821.001.001.00
##0000008.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA608
Deuteranopia (green-blind)
#BBA836
Tritanopia (blue-blind)
#ACA596
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #a1af2a;
/* rgb */ color: rgb(161, 175, 42);
/* oklch */ color: oklch(72.0% 0.150 115.6);
Tailwind
colors: {
  custom: {
    50: '#c0c66e',
    500: '#a1af2a',
    950: '#000000',
  },
}
SCSS
$custom: #a1af2a;
$custom-light: #c0c66e;
$custom-dark: #000000;
JSON
{
  "hex": "#a1af2a",
  "rgb": {
    "r": 161,
    "g": 175,
    "b": 42
  },
  "hsl": {
    "h": 66.316,
    "s": 61.29,
    "l": 42.549
  },
  "oklch": {
    "l": 0.71958,
    "c": 0.15019,
    "h": 115.6
  },
  "luminance": 0.38404
}

Semantic roles & 50–950 ramp

primary
#A1AF2A
secondary
#786FC6
accent
#43E454
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A1AF2A

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

Preview Lab → · Contrast checker → · Palette generator →

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