#A2A333#A2A333

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

Color values

HEX#A2A333
RGBrgb(162, 163, 51)
HSLhsl(61, 52%, 42%)
HSVhsv(61, 69%, 64%)
CMYKcmyk(0.6%, 0%, 68.7%, 36.1%)
CIE-LABlab(65.05, -14.34, 55.26)
CIE-LCHlch(65.05, 57.08, 104.54°)
OKLaboklab(69.38% -0.0447 0.1236)
OKLCHoklch(69.38% 0.131 109.9)
XYZxyz(28.5960, 34.1156, 8.2099)
Luminance0.3412 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2A333 #3433A3
analogous
#A36C33 #A2A333 #6AA333
triadic
#A2A333 #33A2A3 #A333A2
tetradic
#A2A333 #33A36C #3433A3 #A3336A
square
#A2A333 #33A36C #3433A3 #A3336A
split-complementary
#A2A333 #336AA3 #6C33A3
monochromatic
#454616 #747424 #A2A333 #C6C74C #D5D67B

Accessibility & contrast

On white

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

On black

7.82
#A2A333 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2A333
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2A333#FFFFFF#000000##000000
##A2A3331.002.687.827.82
#FFFFFF2.681.0021.0021.00
#0000007.8221.001.001.00
##0000007.8221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a2a333;
/* rgb */ color: rgb(162, 163, 51);
/* oklch */ color: oklch(69.4% 0.131 109.9);
Tailwind
colors: {
  custom: {
    50: '#c1be72',
    500: '#a2a333',
    950: '#000000',
  },
}
SCSS
$custom: #a2a333;
$custom-light: #c1be72;
$custom-dark: #000000;
JSON
{
  "hex": "#a2a333",
  "rgb": {
    "r": 162,
    "g": 163,
    "b": 51
  },
  "hsl": {
    "h": 60.536,
    "s": 52.336,
    "l": 41.961
  },
  "oklch": {
    "l": 0.69381,
    "c": 0.13138,
    "h": 109.9
  },
  "luminance": 0.34115
}

Semantic roles & 50–950 ramp

primary
#A2A333
secondary
#7473BE
accent
#4CDC4D
background
#FCFBF7
surface
#F8F6ED
border
#D1D0C8
text
#131208
muted
#82817B

Preview Lab

Preview with #A2A333

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

Preview Lab → · Contrast checker → · Palette generator →

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