#A2A239#A2A239

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

Color values

HEX#A2A239
RGBrgb(162, 162, 57)
HSLhsl(60, 48%, 43%)
HSVhsv(60, 65%, 64%)
CMYKcmyk(0%, 0%, 64.8%, 36.5%)
CIE-LABlab(64.82, -13.46, 52.57)
CIE-LCHlch(64.82, 54.26, 104.36°)
OKLaboklab(69.21% -0.0416 0.1189)
OKLCHoklch(69.21% 0.126 109.3)
XYZxyz(28.5601, 33.8183, 8.8932)
Luminance0.3382 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2A239 #3939A2
analogous
#A26D39 #A2A239 #6DA239
triadic
#A2A239 #39A2A2 #A239A2
tetradic
#A2A239 #39A26D #3939A2 #A2396D
square
#A2A239 #39A26D #3939A2 #A2396D
split-complementary
#A2A239 #396DA2 #6D39A2
monochromatic
#474719 #757529 #A2A239 #C3C355 #D3D382

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A2A239#FFFFFF#000000##000000
##A2A2391.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)
#AF9B2B
Deuteranopia (green-blind)
#B09F40
Tritanopia (blue-blind)
#AD988C
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #a2a239;
/* rgb */ color: rgb(162, 162, 57);
/* oklch */ color: oklch(69.2% 0.126 109.3);
Tailwind
colors: {
  custom: {
    50: '#c0bd75',
    500: '#a2a239',
    950: '#000000',
  },
}
SCSS
$custom: #a2a239;
$custom-light: #c0bd75;
$custom-dark: #000000;
JSON
{
  "hex": "#a2a239",
  "rgb": {
    "r": 162,
    "g": 162,
    "b": 57
  },
  "hsl": {
    "h": 60,
    "s": 47.945,
    "l": 42.941
  },
  "oklch": {
    "l": 0.69207,
    "c": 0.12593,
    "h": 109.3
  },
  "luminance": 0.33817
}

Semantic roles & 50–950 ramp

primary
#A2A239
secondary
#7A7ABD
accent
#50D850
background
#FCFBF7
surface
#F8F6ED
border
#D1D0C8
text
#131209
muted
#82817B

Preview Lab

Preview with #A2A239

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

Preview Lab → · Contrast checker → · Palette generator →

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