#A1A72B#A1A72B

#A1A72B is a light, vivid yellow. Relative luminance 0.354; OKLCH L 70.1% C 0.141 H 112.3°. Best body text is #000000 at 8.08:1 contrast (WCAG AA passes).

Color values

HEX#A1A72B
RGBrgb(161, 167, 43)
HSLhsl(63, 59%, 41%)
HSVhsv(63, 74%, 65%)
CMYKcmyk(3.6%, 0%, 74.3%, 34.5%)
CIE-LABlab(66.05, -17.24, 59.15)
CIE-LCHlch(66.05, 61.61, 106.25°)
OKLaboklab(70.14% -0.0535 0.1304)
OKLCHoklch(70.14% 0.141 112.3)
XYZxyz(28.9536, 35.3896, 7.5907)
Luminance0.3539 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1A72B #312BA7
analogous
#A76F2B #A1A72B #63A72B
triadic
#A1A72B #2BA1A7 #A72BA1
tetradic
#A1A72B #2BA76F #312BA7 #A72B63
square
#A1A72B #2BA76F #312BA7 #A72B63
split-complementary
#A1A72B #2B63A7 #6F2BA7
monochromatic
#434612 #72761E #A1A72B #C7CE41 #D6DB72

Accessibility & contrast

On white

2.60
#A1A72B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.08
#A1A72B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A1A72B
8.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A1A72B#FFFFFF#000000##000000
##A1A72B1.002.608.088.08
#FFFFFF2.601.0021.0021.00
#0000008.0821.001.001.00
##0000008.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B49F11
Deuteranopia (green-blind)
#B4A235
Tritanopia (blue-blind)
#AC9D8F
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #a1a72b;
/* rgb */ color: rgb(161, 167, 43);
/* oklch */ color: oklch(70.1% 0.141 112.3);
Tailwind
colors: {
  custom: {
    50: '#c0c06e',
    500: '#a1a72b',
    950: '#000000',
  },
}
SCSS
$custom: #a1a72b;
$custom-light: #c0c06e;
$custom-dark: #000000;
JSON
{
  "hex": "#a1a72b",
  "rgb": {
    "r": 161,
    "g": 167,
    "b": 43
  },
  "hsl": {
    "h": 62.903,
    "s": 59.048,
    "l": 41.176
  },
  "oklch": {
    "l": 0.70142,
    "c": 0.14095,
    "h": 112.3
  },
  "luminance": 0.35389
}

Semantic roles & 50–950 ramp

primary
#A1A72B
secondary
#706CC2
accent
#46E24D
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#131208
muted
#82817B

Preview Lab

Preview with #A1A72B

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

Preview Lab → · Contrast checker → · Palette generator →

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