#A2A027#A2A027

#A2A027 is a light, vivid yellow. Relative luminance 0.330; OKLCH L 68.6% C 0.136 H 108.5°. Best body text is #000000 at 7.59:1 contrast (WCAG AA passes).

Color values

HEX#A2A027
RGBrgb(162, 160, 39)
HSLhsl(59, 61%, 39%)
HSVhsv(59, 76%, 64%)
CMYKcmyk(0%, 1.2%, 75.9%, 36.5%)
CIE-LABlab(64.14, -13.37, 58.75)
CIE-LCHlch(64.14, 60.25, 102.82°)
OKLaboklab(68.63% -0.0431 0.1288)
OKLCHoklch(68.63% 0.136 108.5)
XYZxyz(27.8384, 32.9704, 6.8166)
Luminance0.3297 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2A027 #2729A2
analogous
#A26227 #A2A027 #67A227
triadic
#A2A027 #27A2A0 #A027A2
tetradic
#A2A027 #27A262 #2729A2 #A22767
square
#A2A027 #27A262 #2729A2 #A22767
split-complementary
#A2A027 #2767A2 #6227A2
monochromatic
#3F3F0F #716F1B #A2A027 #CFCC37 #DBD969

Accessibility & contrast

On white

2.77
#A2A027 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.59
#A2A027 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2A027
7.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2A027#FFFFFF#000000##000000
##A2A0271.002.777.597.59
#FFFFFF2.771.0021.0021.00
#0000007.5921.001.001.00
##0000007.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE990A
Deuteranopia (green-blind)
#AF9D31
Tritanopia (blue-blind)
#AE9589
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #a2a027;
/* rgb */ color: rgb(162, 160, 39);
/* oklch */ color: oklch(68.6% 0.136 108.5);
Tailwind
colors: {
  custom: {
    50: '#c1bb6b',
    500: '#a2a027',
    950: '#000000',
  },
}
SCSS
$custom: #a2a027;
$custom-light: #c1bb6b;
$custom-dark: #000000;
JSON
{
  "hex": "#a2a027",
  "rgb": {
    "r": 162,
    "g": 160,
    "b": 39
  },
  "hsl": {
    "h": 59.024,
    "s": 61.194,
    "l": 39.412
  },
  "oklch": {
    "l": 0.68625,
    "c": 0.13581,
    "h": 108.5
  },
  "luminance": 0.32969
}

Semantic roles & 50–950 ramp

primary
#A2A027
secondary
#6465C1
accent
#46E443
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131107
muted
#82807A

Preview Lab

Preview with #A2A027

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

Preview Lab → · Contrast checker → · Palette generator →

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