#A2A833#A2A833

#A2A833 is a light, vivid yellow. Relative luminance 0.359; OKLCH L 70.5% C 0.137 H 112.3°. Best body text is #000000 at 8.19:1 contrast (WCAG AA passes).

Color values

HEX#A2A833
RGBrgb(162, 168, 51)
HSLhsl(63, 53%, 43%)
HSVhsv(63, 70%, 66%)
CMYKcmyk(3.6%, 0%, 69.6%, 34.1%)
CIE-LABlab(66.46, -16.91, 56.66)
CIE-LCHlch(66.46, 59.13, 106.62°)
OKLaboklab(70.51% -0.0519 0.1265)
OKLCHoklch(70.51% 0.137 112.3)
XYZxyz(29.5014, 35.9263, 8.5117)
Luminance0.3593 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2A833 #3933A8
analogous
#A87333 #A2A833 #67A833
triadic
#A2A833 #33A2A8 #A833A2
tetradic
#A2A833 #33A873 #3933A8 #A83367
square
#A2A833 #33A873 #3933A8 #A83367
split-complementary
#A2A833 #3367A8 #7333A8
monochromatic
#474A16 #757925 #A2A833 #C3C94F #D3D87E

Accessibility & contrast

On white

2.57
#A2A833 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.19
#A2A833 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2A833
8.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2A833#FFFFFF#000000##000000
##A2A8331.002.578.198.19
#FFFFFF2.571.0021.0021.00
#0000008.1921.001.001.00
##0000008.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A020
Deuteranopia (green-blind)
#B5A33C
Tritanopia (blue-blind)
#AD9E91
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #a2a833;
/* rgb */ color: rgb(162, 168, 51);
/* oklch */ color: oklch(70.5% 0.137 112.3);
Tailwind
colors: {
  custom: {
    50: '#c1c172',
    500: '#a2a833',
    950: '#000000',
  },
}
SCSS
$custom: #a2a833;
$custom-light: #c1c172;
$custom-dark: #000000;
JSON
{
  "hex": "#a2a833",
  "rgb": {
    "r": 162,
    "g": 168,
    "b": 51
  },
  "hsl": {
    "h": 63.077,
    "s": 53.425,
    "l": 42.941
  },
  "oklch": {
    "l": 0.70508,
    "c": 0.13675,
    "h": 112.3
  },
  "luminance": 0.35926
}

Semantic roles & 50–950 ramp

primary
#A2A833
secondary
#7A76C1
accent
#4BDD52
background
#FCFBF7
surface
#F8F7ED
border
#D1D0C8
text
#131208
muted
#82817B

Preview Lab

Preview with #A2A833

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

Preview Lab → · Contrast checker → · Palette generator →

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