#A2A938#A2A938

#A2A938 is a light, vivid yellow. Relative luminance 0.363; OKLCH L 70.8% C 0.134 H 112.8°. Best body text is #000000 at 8.27:1 contrast (WCAG AA passes).

Color values

HEX#A2A938
RGBrgb(162, 169, 56)
HSLhsl(64, 50%, 44%)
HSVhsv(64, 67%, 66%)
CMYKcmyk(4.1%, 0%, 66.9%, 33.7%)
CIE-LABlab(66.78, -17.13, 55.01)
CIE-LCHlch(66.78, 57.62, 107.30°)
OKLaboklab(70.77% -0.052 0.1239)
OKLCHoklch(70.77% 0.134 112.8)
XYZxyz(29.8029, 36.3435, 9.1856)
Luminance0.3634 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2A938 #3F38A9
analogous
#A97838 #A2A938 #6AA938
triadic
#A2A938 #38A2A9 #A938A2
tetradic
#A2A938 #38A978 #3F38A9 #A9386A
square
#A2A938 #38A978 #3F38A9 #A9386A
split-complementary
#A2A938 #386AA9 #7838A9
monochromatic
#4A4D1A #767B29 #A2A938 #C0C757 #D1D785

Accessibility & contrast

On white

2.54
#A2A938 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.27
#A2A938 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2A938
8.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2A938#FFFFFF#000000##000000
##A2A9381.002.548.278.27
#FFFFFF2.541.0021.0021.00
#0000008.2721.001.001.00
##0000008.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A128
Deuteranopia (green-blind)
#B6A440
Tritanopia (blue-blind)
#AD9F92
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #a2a938;
/* rgb */ color: rgb(162, 169, 56);
/* oklch */ color: oklch(70.8% 0.134 112.8);
Tailwind
colors: {
  custom: {
    50: '#c0c275',
    500: '#a2a938',
    950: '#000000',
  },
}
SCSS
$custom: #a2a938;
$custom-light: #c0c275;
$custom-dark: #000000;
JSON
{
  "hex": "#a2a938",
  "rgb": {
    "r": 162,
    "g": 169,
    "b": 56
  },
  "hsl": {
    "h": 63.717,
    "s": 50.222,
    "l": 44.118
  },
  "oklch": {
    "l": 0.70774,
    "c": 0.13434,
    "h": 112.8
  },
  "luminance": 0.36343
}

Semantic roles & 50–950 ramp

primary
#A2A938
secondary
#817CC0
accent
#4EDA57
background
#FCFBF7
surface
#F8F7ED
border
#D1D0C8
text
#131209
muted
#82817B

Preview Lab

Preview with #A2A938

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

Preview Lab → · Contrast checker → · Palette generator →

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