#A2A237#A2A237

#A2A237 is a light, vivid yellow. Relative luminance 0.338; OKLCH L 69.2% C 0.127 H 109.3°. Best body text is #000000 at 7.76:1 contrast (WCAG AA passes).

Color values

HEX#A2A237
RGBrgb(162, 162, 55)
HSLhsl(60, 49%, 43%)
HSVhsv(60, 66%, 64%)
CMYKcmyk(0%, 0%, 66%, 36.5%)
CIE-LABlab(64.80, -13.58, 53.39)
CIE-LCHlch(64.80, 55.09, 104.27°)
OKLaboklab(69.19% -0.0421 0.1203)
OKLCHoklch(69.19% 0.127 109.3)
XYZxyz(28.5111, 33.7987, 8.6356)
Luminance0.3380 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2A237 #3737A2
analogous
#A26C37 #A2A237 #6CA237
triadic
#A2A237 #37A2A2 #A237A2
tetradic
#A2A237 #37A26C #3737A2 #A2376C
square
#A2A237 #37A26C #3737A2 #A2376C
split-complementary
#A2A237 #376CA2 #6C37A2
monochromatic
#474718 #747427 #A2A237 #C4C452 #D4D480

Accessibility & contrast

On white

2.71
#A2A237 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.76
#A2A237 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2A237
7.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2A237#FFFFFF#000000##000000
##A2A2371.002.717.767.76
#FFFFFF2.711.0021.0021.00
#0000007.7621.001.001.00
##0000007.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9B28
Deuteranopia (green-blind)
#B09F3E
Tritanopia (blue-blind)
#AD988C
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #a2a237;
/* rgb */ color: rgb(162, 162, 55);
/* oklch */ color: oklch(69.2% 0.127 109.3);
Tailwind
colors: {
  custom: {
    50: '#c0bd74',
    500: '#a2a237',
    950: '#000000',
  },
}
SCSS
$custom: #a2a237;
$custom-light: #c0bd74;
$custom-dark: #000000;
JSON
{
  "hex": "#a2a237",
  "rgb": {
    "r": 162,
    "g": 162,
    "b": 55
  },
  "hsl": {
    "h": 60,
    "s": 49.309,
    "l": 42.549
  },
  "oklch": {
    "l": 0.6919,
    "c": 0.12744,
    "h": 109.3
  },
  "luminance": 0.33798
}

Semantic roles & 50–950 ramp

primary
#A2A237
secondary
#7878BD
accent
#4FD94F
background
#FCFBF7
surface
#F8F6ED
border
#D1D0C8
text
#131208
muted
#82817B

Preview Lab

Preview with #A2A237

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

Preview Lab → · Contrast checker → · Palette generator →

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