#A1AF4E#A1AF4E

#A1AF4E is a light, vivid yellow. Relative luminance 0.388; OKLCH L 72.3% C 0.123 H 116.4°. Best body text is #000000 at 8.76:1 contrast (WCAG AA passes).

Color values

HEX#A1AF4E
RGBrgb(161, 175, 78)
HSLhsl(69, 38%, 50%)
HSVhsv(69, 55%, 69%)
CMYKcmyk(8%, 0%, 55.4%, 31.4%)
CIE-LABlab(68.60, -18.98, 47.28)
CIE-LCHlch(68.60, 50.95, 111.87°)
OKLaboklab(72.27% -0.0549 0.1104)
OKLCHoklch(72.27% 0.123 116.4)
XYZxyz(31.4036, 38.7874, 13.0386)
Luminance0.3879 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1AF4E #5C4EAF
analogous
#AF8D4E #A1AF4E #70AF4E
triadic
#A1AF4E #4EA1AF #AF4EA1
tetradic
#A1AF4E #4EAF8D #5C4EAF #AF4E70
square
#A1AF4E #4EAF8D #5C4EAF #AF4E70
split-complementary
#A1AF4E #4E70AF #8D4EAF
monochromatic
#535A28 #7A853B #A1AF4E #B8C378 #CED6A2

Accessibility & contrast

On white

2.40
#A1AF4E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.76
#A1AF4E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A1AF4E
8.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A1AF4E#FFFFFF#000000##000000
##A1AF4E1.002.408.768.76
#FFFFFF2.401.0021.0021.00
#0000008.7621.001.001.00
##0000008.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA744
Deuteranopia (green-blind)
#B9A854
Tritanopia (blue-blind)
#AAA69A
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #a1af4e;
/* rgb */ color: rgb(161, 175, 78);
/* oklch */ color: oklch(72.3% 0.123 116.4);
Tailwind
colors: {
  custom: {
    50: '#bfc683',
    500: '#a1af4e',
    950: '#000000',
  },
}
SCSS
$custom: #a1af4e;
$custom-light: #bfc683;
$custom-dark: #000000;
JSON
{
  "hex": "#a1af4e",
  "rgb": {
    "r": 161,
    "g": 175,
    "b": 78
  },
  "hsl": {
    "h": 68.66,
    "s": 38.34,
    "l": 49.608
  },
  "oklch": {
    "l": 0.72271,
    "c": 0.12329,
    "h": 116.4
  },
  "luminance": 0.38787
}

Semantic roles & 50–950 ramp

primary
#A1AF4E
secondary
#9D96C3
accent
#5ACE6A
background
#FCFCF8
surface
#F8F8EF
border
#D1D1CA
text
#12130B
muted
#81827C

Preview Lab

Preview with #A1AF4E

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

Preview Lab → · Contrast checker → · Palette generator →

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