#A2A127#A2A127

#A2A127 is a light, vivid yellow. Relative luminance 0.333; OKLCH L 68.8% C 0.137 H 109.0°. Best body text is #000000 at 7.66:1 contrast (WCAG AA passes).

Color values

HEX#A2A127
RGBrgb(162, 161, 39)
HSLhsl(60, 61%, 39%)
HSVhsv(60, 76%, 64%)
CMYKcmyk(0%, 0.6%, 75.9%, 36.5%)
CIE-LABlab(64.42, -13.89, 59.01)
CIE-LCHlch(64.42, 60.62, 103.24°)
OKLaboklab(68.85% -0.0446 0.1293)
OKLCHoklch(68.85% 0.137 109)
XYZxyz(28.0124, 33.3185, 6.8746)
Luminance0.3332 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2A127 #2728A2
analogous
#A26427 #A2A127 #66A227
triadic
#A2A127 #27A2A1 #A127A2
tetradic
#A2A127 #27A264 #2728A2 #A22766
square
#A2A127 #27A264 #2728A2 #A22766
split-complementary
#A2A127 #2766A2 #6427A2
monochromatic
#3F3F0F #71701B #A2A127 #CFCE37 #DBDA69

Accessibility & contrast

On white

2.74
#A2A127 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.66
#A2A127 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2A127
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2A127#FFFFFF#000000##000000
##A2A1271.002.747.667.66
#FFFFFF2.741.0021.0021.00
#0000007.6621.001.001.00
##0000007.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9A09
Deuteranopia (green-blind)
#B09E31
Tritanopia (blue-blind)
#AE968A
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #a2a127;
/* rgb */ color: rgb(162, 161, 39);
/* oklch */ color: oklch(68.8% 0.137 109.0);
Tailwind
colors: {
  custom: {
    50: '#c1bc6b',
    500: '#a2a127',
    950: '#000000',
  },
}
SCSS
$custom: #a2a127;
$custom-light: #c1bc6b;
$custom-dark: #000000;
JSON
{
  "hex": "#a2a127",
  "rgb": {
    "r": 162,
    "g": 161,
    "b": 39
  },
  "hsl": {
    "h": 59.512,
    "s": 61.194,
    "l": 39.412
  },
  "oklch": {
    "l": 0.6885,
    "c": 0.13679,
    "h": 109
  },
  "luminance": 0.33318
}

Semantic roles & 50–950 ramp

primary
#A2A127
secondary
#6465C1
accent
#45E443
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131207
muted
#82817A

Preview Lab

Preview with #A2A127

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

Preview Lab → · Contrast checker → · Palette generator →

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