#A2A835#A2A835

#A2A835 is a light, vivid yellow. Relative luminance 0.359; OKLCH L 70.5% C 0.135 H 112.3°. Best body text is #000000 at 8.19:1 contrast (WCAG AA passes).

Color values

HEX#A2A835
RGBrgb(162, 168, 53)
HSLhsl(63, 52%, 43%)
HSVhsv(63, 68%, 66%)
CMYKcmyk(3.6%, 0%, 68.5%, 34.1%)
CIE-LABlab(66.48, -16.80, 55.90)
CIE-LCHlch(66.48, 58.37, 106.73°)
OKLaboklab(70.52% -0.0514 0.1252)
OKLCHoklch(70.52% 0.135 112.3)
XYZxyz(29.5464, 35.9444, 8.7490)
Luminance0.3594 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2A835 #3B35A8
analogous
#A87435 #A2A835 #69A835
triadic
#A2A835 #35A2A8 #A835A2
tetradic
#A2A835 #35A874 #3B35A8 #A83569
square
#A2A835 #35A874 #3B35A8 #A83569
split-complementary
#A2A835 #3569A8 #7435A8
monochromatic
#484B18 #757926 #A2A835 #C2C852 #D3D780

Accessibility & contrast

On white

2.56
#A2A835 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.19
#A2A835 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2A835
8.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2A835#FFFFFF#000000##000000
##A2A8351.002.568.198.19
#FFFFFF2.561.0021.0021.00
#0000008.1921.001.001.00
##0000008.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A023
Deuteranopia (green-blind)
#B5A33D
Tritanopia (blue-blind)
#AD9E91
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #a2a835;
/* rgb */ color: rgb(162, 168, 53);
/* oklch */ color: oklch(70.5% 0.135 112.3);
Tailwind
colors: {
  custom: {
    50: '#c1c173',
    500: '#a2a835',
    950: '#000000',
  },
}
SCSS
$custom: #a2a835;
$custom-light: #c1c173;
$custom-dark: #000000;
JSON
{
  "hex": "#a2a835",
  "rgb": {
    "r": 162,
    "g": 168,
    "b": 53
  },
  "hsl": {
    "h": 63.13,
    "s": 52.036,
    "l": 43.333
  },
  "oklch": {
    "l": 0.70523,
    "c": 0.13537,
    "h": 112.3
  },
  "luminance": 0.35944
}

Semantic roles & 50–950 ramp

primary
#A2A835
secondary
#7C78C0
accent
#4CDB54
background
#FCFBF7
surface
#F8F7ED
border
#D1D0C8
text
#131208
muted
#82817B

Preview Lab

Preview with #A2A835

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

Preview Lab → · Contrast checker → · Palette generator →

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