#A2A726#A2A726

#A2A726 is a light, vivid yellow. Relative luminance 0.355; OKLCH L 70.2% C 0.143 H 111.9°. Best body text is #000000 at 8.09:1 contrast (WCAG AA passes).

Color values

HEX#A2A726
RGBrgb(162, 167, 38)
HSLhsl(62, 63%, 40%)
HSVhsv(62, 77%, 65%)
CMYKcmyk(3%, 0%, 77.2%, 34.5%)
CIE-LABlab(66.10, -17.02, 60.89)
CIE-LCHlch(66.10, 63.22, 105.62°)
OKLaboklab(70.2% -0.0534 0.1331)
OKLCHoklch(70.2% 0.143 111.9)
XYZxyz(29.0699, 35.4595, 7.1464)
Luminance0.3546 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2A726 #2B26A7
analogous
#A76C26 #A2A726 #61A726
triadic
#A2A726 #26A2A7 #A726A2
tetradic
#A2A726 #26A76C #2B26A7 #A72661
square
#A2A726 #26A76C #2B26A7 #A72661
split-complementary
#A2A726 #2661A7 #6C26A7
monochromatic
#41430F #72751B #A2A726 #CCD238 #D9DD6A

Accessibility & contrast

On white

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

On black

8.09
#A2A726 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2A726
8.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2A726#FFFFFF#000000##000000
##A2A7261.002.608.098.09
#FFFFFF2.601.0021.0021.00
#0000008.0921.001.001.00
##0000008.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B49F01
Deuteranopia (green-blind)
#B5A231
Tritanopia (blue-blind)
#AD9C8F
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #a2a726;
/* rgb */ color: rgb(162, 167, 38);
/* oklch */ color: oklch(70.2% 0.143 111.9);
Tailwind
colors: {
  custom: {
    50: '#c1c06c',
    500: '#a2a726',
    950: '#000000',
  },
}
SCSS
$custom: #a2a726;
$custom-light: #c1c06c;
$custom-dark: #000000;
JSON
{
  "hex": "#a2a726",
  "rgb": {
    "r": 162,
    "g": 167,
    "b": 38
  },
  "hsl": {
    "h": 62.326,
    "s": 62.927,
    "l": 40.196
  },
  "oklch": {
    "l": 0.70197,
    "c": 0.14344,
    "h": 111.9
  },
  "luminance": 0.35459
}

Semantic roles & 50–950 ramp

primary
#A2A726
secondary
#6965C3
accent
#42E648
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#131207
muted
#82817A

Preview Lab

Preview with #A2A726

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

Preview Lab → · Contrast checker → · Palette generator →

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