#A2A336#A2A336

#A2A336 is a light, vivid yellow. Relative luminance 0.341; OKLCH L 69.4% C 0.129 H 109.9°. Best body text is #000000 at 7.83:1 contrast (WCAG AA passes).

Color values

HEX#A2A336
RGBrgb(162, 163, 54)
HSLhsl(61, 50%, 43%)
HSVhsv(61, 67%, 64%)
CMYKcmyk(0.6%, 0%, 66.9%, 36.1%)
CIE-LABlab(65.08, -14.16, 54.08)
CIE-LCHlch(65.08, 55.90, 104.68°)
OKLaboklab(69.41% -0.0439 0.1216)
OKLCHoklch(69.41% 0.129 109.9)
XYZxyz(28.6643, 34.1429, 8.5696)
Luminance0.3414 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2A336 #3736A3
analogous
#A36D36 #A2A336 #6CA336
triadic
#A2A336 #36A2A3 #A336A2
tetradic
#A2A336 #36A36D #3736A3 #A3366C
square
#A2A336 #36A36D #3736A3 #A3366C
split-complementary
#A2A336 #366CA3 #6D36A3
monochromatic
#474718 #747527 #A2A336 #C4C551 #D4D57F

Accessibility & contrast

On white

2.68
#A2A336 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.83
#A2A336 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2A336
7.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2A336#FFFFFF#000000##000000
##A2A3361.002.687.837.83
#FFFFFF2.681.0021.0021.00
#0000007.8321.001.001.00
##0000007.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09C26
Deuteranopia (green-blind)
#B1A03D
Tritanopia (blue-blind)
#AD998D
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #a2a336;
/* rgb */ color: rgb(162, 163, 54);
/* oklch */ color: oklch(69.4% 0.129 109.9);
Tailwind
colors: {
  custom: {
    50: '#c0be73',
    500: '#a2a336',
    950: '#000000',
  },
}
SCSS
$custom: #a2a336;
$custom-light: #c0be73;
$custom-dark: #000000;
JSON
{
  "hex": "#a2a336",
  "rgb": {
    "r": 162,
    "g": 163,
    "b": 54
  },
  "hsl": {
    "h": 60.55,
    "s": 50.23,
    "l": 42.549
  },
  "oklch": {
    "l": 0.69405,
    "c": 0.12925,
    "h": 109.9
  },
  "luminance": 0.34142
}

Semantic roles & 50–950 ramp

primary
#A2A336
secondary
#7877BE
accent
#4EDA4F
background
#FCFBF7
surface
#F8F6ED
border
#D1D0C8
text
#131208
muted
#82817B

Preview Lab

Preview with #A2A336

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

Preview Lab → · Contrast checker → · Palette generator →

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