#A1AF2E#A1AF2E

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

Color values

HEX#A1AF2E
RGBrgb(161, 175, 46)
HSLhsl(67, 58%, 43%)
HSVhsv(67, 74%, 69%)
CMYKcmyk(8%, 0%, 73.7%, 31.4%)
CIE-LABlab(68.34, -21.14, 60.29)
CIE-LCHlch(68.34, 63.89, 109.32°)
OKLaboklab(71.98% -0.0641 0.1333)
OKLCHoklch(71.98% 0.148 115.7)
XYZxyz(30.5219, 38.4347, 8.3950)
Luminance0.3843 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1AF2E #3C2EAF
analogous
#AF7C2E #A1AF2E #60AF2E
triadic
#A1AF2E #2EA1AF #AF2EA1
tetradic
#A1AF2E #2EAF7C #3C2EAF #AF2E60
square
#A1AF2E #2EAF7C #3C2EAF #AF2E60
split-complementary
#A1AF2E #2E60AF #7C2EAF
monochromatic
#484E15 #747F21 #A1AF2E #C1D04B #D2DC7B

Accessibility & contrast

On white

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

On black

8.69
#A1AF2E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A1AF2E
8.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A1AF2E#FFFFFF#000000##000000
##A1AF2E1.002.428.698.69
#FFFFFF2.421.0021.0021.00
#0000008.6921.001.001.00
##0000008.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA613
Deuteranopia (green-blind)
#BAA839
Tritanopia (blue-blind)
#ABA596
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #a1af2e;
/* rgb */ color: rgb(161, 175, 46);
/* oklch */ color: oklch(72.0% 0.148 115.7);
Tailwind
colors: {
  custom: {
    50: '#c0c670',
    500: '#a1af2e',
    950: '#000000',
  },
}
SCSS
$custom: #a1af2e;
$custom-light: #c0c670;
$custom-dark: #000000;
JSON
{
  "hex": "#a1af2e",
  "rgb": {
    "r": 161,
    "g": 175,
    "b": 46
  },
  "hsl": {
    "h": 66.512,
    "s": 58.371,
    "l": 43.333
  },
  "oklch": {
    "l": 0.71983,
    "c": 0.14793,
    "h": 115.7
  },
  "luminance": 0.38434
}

Semantic roles & 50–950 ramp

primary
#A1AF2E
secondary
#7D74C5
accent
#46E257
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A1AF2E

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

Preview Lab → · Contrast checker → · Palette generator →

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