#A2A337#A2A337

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

Color values

HEX#A2A337
RGBrgb(162, 163, 55)
HSLhsl(61, 50%, 43%)
HSVhsv(61, 66%, 64%)
CMYKcmyk(0.6%, 0%, 66.3%, 36.1%)
CIE-LABlab(65.08, -14.10, 53.67)
CIE-LCHlch(65.08, 55.50, 104.72°)
OKLaboklab(69.41% -0.0436 0.1209)
OKLCHoklch(69.41% 0.129 109.8)
XYZxyz(28.6880, 34.1524, 8.6946)
Luminance0.3415 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2A337 #3837A3
analogous
#A36E37 #A2A337 #6CA337
triadic
#A2A337 #37A2A3 #A337A2
tetradic
#A2A337 #37A36E #3837A3 #A3376C
square
#A2A337 #37A36E #3837A3 #A3376C
split-complementary
#A2A337 #376CA3 #6E37A3
monochromatic
#474718 #757528 #A2A337 #C4C552 #D3D480

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A2A337#FFFFFF#000000##000000
##A2A3371.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)
#B09C28
Deuteranopia (green-blind)
#B1A03E
Tritanopia (blue-blind)
#AD998D
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #a2a337;
/* rgb */ color: rgb(162, 163, 55);
/* oklch */ color: oklch(69.4% 0.129 109.8);
Tailwind
colors: {
  custom: {
    50: '#c0be74',
    500: '#a2a337',
    950: '#000000',
  },
}
SCSS
$custom: #a2a337;
$custom-light: #c0be74;
$custom-dark: #000000;
JSON
{
  "hex": "#a2a337",
  "rgb": {
    "r": 162,
    "g": 163,
    "b": 55
  },
  "hsl": {
    "h": 60.556,
    "s": 49.541,
    "l": 42.745
  },
  "oklch": {
    "l": 0.69414,
    "c": 0.12851,
    "h": 109.8
  },
  "luminance": 0.34152
}

Semantic roles & 50–950 ramp

primary
#A2A337
secondary
#7978BE
accent
#4FD950
background
#FCFBF7
surface
#F8F6ED
border
#D1D0C8
text
#131208
muted
#82817B

Preview Lab

Preview with #A2A337

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

Preview Lab → · Contrast checker → · Palette generator →

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