#A2A235#A2A235

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

Color values

HEX#A2A235
RGBrgb(162, 162, 53)
HSLhsl(60, 51%, 42%)
HSVhsv(60, 67%, 64%)
CMYKcmyk(0%, 0%, 67.3%, 36.5%)
CIE-LABlab(64.79, -13.70, 54.19)
CIE-LCHlch(64.79, 55.89, 104.19°)
OKLaboklab(69.17% -0.0427 0.1216)
OKLCHoklch(69.17% 0.129 109.3)
XYZxyz(28.4642, 33.7799, 8.3882)
Luminance0.3378 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2A235 #3535A2
analogous
#A26C35 #A2A235 #6CA235
triadic
#A2A235 #35A2A2 #A235A2
tetradic
#A2A235 #35A26C #3535A2 #A2356C
square
#A2A235 #35A26C #3535A2 #A2356C
split-complementary
#A2A235 #356CA2 #6C35A2
monochromatic
#464617 #747426 #A2A235 #C5C54F #D4D47D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A2A235#FFFFFF#000000##000000
##A2A2351.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)
#AF9B25
Deuteranopia (green-blind)
#B09F3C
Tritanopia (blue-blind)
#AD988C
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #a2a235;
/* rgb */ color: rgb(162, 162, 53);
/* oklch */ color: oklch(69.2% 0.129 109.3);
Tailwind
colors: {
  custom: {
    50: '#c1bd73',
    500: '#a2a235',
    950: '#000000',
  },
}
SCSS
$custom: #a2a235;
$custom-light: #c1bd73;
$custom-dark: #000000;
JSON
{
  "hex": "#a2a235",
  "rgb": {
    "r": 162,
    "g": 162,
    "b": 53
  },
  "hsl": {
    "h": 60,
    "s": 50.698,
    "l": 42.157
  },
  "oklch": {
    "l": 0.69173,
    "c": 0.12892,
    "h": 109.3
  },
  "luminance": 0.33779
}

Semantic roles & 50–950 ramp

primary
#A2A235
secondary
#7575BD
accent
#4EDA4E
background
#FCFBF7
surface
#F8F6ED
border
#D1D0C8
text
#131208
muted
#82817B

Preview Lab

Preview with #A2A235

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

Preview Lab → · Contrast checker → · Palette generator →

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