#A2A638#A2A638

#A2A638 is a light, vivid yellow. Relative luminance 0.352; OKLCH L 70.1% C 0.131 H 111.3°. Best body text is #000000 at 8.05:1 contrast (WCAG AA passes).

Color values

HEX#A2A638
RGBrgb(162, 166, 56)
HSLhsl(62, 50%, 44%)
HSVhsv(62, 66%, 65%)
CMYKcmyk(2.4%, 0%, 66.3%, 34.9%)
CIE-LABlab(65.94, -15.59, 54.14)
CIE-LCHlch(65.94, 56.34, 106.07°)
OKLaboklab(70.1% -0.0477 0.122)
OKLCHoklch(70.1% 0.131 111.3)
XYZxyz(29.2512, 35.2401, 9.0017)
Luminance0.3524 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2A638 #3C38A6
analogous
#A67338 #A2A638 #6BA638
triadic
#A2A638 #38A2A6 #A638A2
tetradic
#A2A638 #38A673 #3C38A6 #A6386B
square
#A2A638 #38A673 #3C38A6 #A6386B
split-complementary
#A2A638 #386BA6 #7338A6
monochromatic
#494A19 #757829 #A2A638 #C2C655 #D2D583

Accessibility & contrast

On white

2.61
#A2A638 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.05
#A2A638 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2A638
8.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2A638#FFFFFF#000000##000000
##A2A6381.002.618.058.05
#FFFFFF2.611.0021.0021.00
#0000008.0521.001.001.00
##0000008.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B39F29
Deuteranopia (green-blind)
#B3A23F
Tritanopia (blue-blind)
#AD9C90
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #a2a638;
/* rgb */ color: rgb(162, 166, 56);
/* oklch */ color: oklch(70.1% 0.131 111.3);
Tailwind
colors: {
  custom: {
    50: '#c0c075',
    500: '#a2a638',
    950: '#000000',
  },
}
SCSS
$custom: #a2a638;
$custom-light: #c0c075;
$custom-dark: #000000;
JSON
{
  "hex": "#a2a638",
  "rgb": {
    "r": 162,
    "g": 166,
    "b": 56
  },
  "hsl": {
    "h": 62.182,
    "s": 49.55,
    "l": 43.529
  },
  "oklch": {
    "l": 0.70097,
    "c": 0.13102,
    "h": 111.3
  },
  "luminance": 0.35239
}

Semantic roles & 50–950 ramp

primary
#A2A638
secondary
#7D7BBF
accent
#4FD954
background
#FCFBF7
surface
#F8F7ED
border
#D1D0C8
text
#131209
muted
#82817B

Preview Lab

Preview with #A2A638

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

Preview Lab → · Contrast checker → · Palette generator →

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