#A2A327#A2A327

#A2A327 is a light, vivid yellow. Relative luminance 0.340; OKLCH L 69.3% C 0.139 H 110.0°. Best body text is #000000 at 7.80:1 contrast (WCAG AA passes).

Color values

HEX#A2A327
RGBrgb(162, 163, 39)
HSLhsl(60, 61%, 40%)
HSVhsv(60, 76%, 64%)
CMYKcmyk(0.6%, 0%, 76.1%, 36.1%)
CIE-LABlab(64.98, -14.92, 59.53)
CIE-LCHlch(64.98, 61.37, 104.07°)
OKLaboklab(69.3% -0.0475 0.1304)
OKLCHoklch(69.3% 0.139 110)
XYZxyz(28.3647, 34.0231, 6.9920)
Luminance0.3402 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2A327 #2827A3
analogous
#A36627 #A2A327 #64A327
triadic
#A2A327 #27A2A3 #A327A2
tetradic
#A2A327 #27A366 #2827A3 #A32764
square
#A2A327 #27A366 #2827A3 #A32764
split-complementary
#A2A327 #2764A3 #6627A3
monochromatic
#40400F #71721B #A2A327 #CECF38 #DADB69

Accessibility & contrast

On white

2.69
#A2A327 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.80
#A2A327 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2A327
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2A327#FFFFFF#000000##000000
##A2A3271.002.697.807.80
#FFFFFF2.691.0021.0021.00
#0000007.8021.001.001.00
##0000007.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09C08
Deuteranopia (green-blind)
#B29F31
Tritanopia (blue-blind)
#AE988C
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #a2a327;
/* rgb */ color: rgb(162, 163, 39);
/* oklch */ color: oklch(69.3% 0.139 110.0);
Tailwind
colors: {
  custom: {
    50: '#c1be6c',
    500: '#a2a327',
    950: '#000000',
  },
}
SCSS
$custom: #a2a327;
$custom-light: #c1be6c;
$custom-dark: #000000;
JSON
{
  "hex": "#a2a327",
  "rgb": {
    "r": 162,
    "g": 163,
    "b": 39
  },
  "hsl": {
    "h": 60.484,
    "s": 61.386,
    "l": 39.608
  },
  "oklch": {
    "l": 0.69299,
    "c": 0.13881,
    "h": 110
  },
  "luminance": 0.34022
}

Semantic roles & 50–950 ramp

primary
#A2A327
secondary
#6564C1
accent
#43E445
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131207
muted
#82817A

Preview Lab

Preview with #A2A327

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

Preview Lab → · Contrast checker → · Palette generator →

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