#A2A631#A2A631

#A2A631 is a light, vivid yellow. Relative luminance 0.352; OKLCH L 70.0% C 0.136 H 111.4°. Best body text is #000000 at 8.04:1 contrast (WCAG AA passes).

Color values

HEX#A2A631
RGBrgb(162, 166, 49)
HSLhsl(62, 54%, 42%)
HSVhsv(62, 70%, 65%)
CMYKcmyk(2.4%, 0%, 70.5%, 34.9%)
CIE-LABlab(65.89, -15.99, 56.85)
CIE-LCHlch(65.89, 59.06, 105.71°)
OKLaboklab(70.04% -0.0495 0.1266)
OKLCHoklch(70.04% 0.136 111.4)
XYZxyz(29.0918, 35.1763, 8.1624)
Luminance0.3518 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2A631 #3531A6
analogous
#A66F31 #A2A631 #68A631
triadic
#A2A631 #31A2A6 #A631A2
tetradic
#A2A631 #31A66F #3531A6 #A63168
square
#A2A631 #31A66F #3531A6 #A63168
split-complementary
#A2A631 #3168A6 #6F31A6
monochromatic
#464715 #747723 #A2A631 #C5CA4A #D4D87A

Accessibility & contrast

On white

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

On black

8.04
#A2A631 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2A631
8.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2A631#FFFFFF#000000##000000
##A2A6311.002.618.048.04
#FFFFFF2.611.0021.0021.00
#0000008.0421.001.001.00
##0000008.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B39E1D
Deuteranopia (green-blind)
#B4A23A
Tritanopia (blue-blind)
#AD9C8F
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #a2a631;
/* rgb */ color: rgb(162, 166, 49);
/* oklch */ color: oklch(70.0% 0.136 111.4);
Tailwind
colors: {
  custom: {
    50: '#c1c071',
    500: '#a2a631',
    950: '#000000',
  },
}
SCSS
$custom: #a2a631;
$custom-light: #c1c071;
$custom-dark: #000000;
JSON
{
  "hex": "#a2a631",
  "rgb": {
    "r": 162,
    "g": 166,
    "b": 49
  },
  "hsl": {
    "h": 62.051,
    "s": 54.419,
    "l": 42.157
  },
  "oklch": {
    "l": 0.70041,
    "c": 0.13592,
    "h": 111.4
  },
  "luminance": 0.35176
}

Semantic roles & 50–950 ramp

primary
#A2A631
secondary
#7573C0
accent
#4ADE4F
background
#FCFBF7
surface
#F8F7ED
border
#D1D0C8
text
#131208
muted
#82817B

Preview Lab

Preview with #A2A631

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

Preview Lab → · Contrast checker → · Palette generator →

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