#A2A335#A2A335

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

Color values

HEX#A2A335
RGBrgb(162, 163, 53)
HSLhsl(61, 51%, 42%)
HSVhsv(61, 67%, 64%)
CMYKcmyk(0.6%, 0%, 67.5%, 36.1%)
CIE-LABlab(65.07, -14.22, 54.47)
CIE-LCHlch(65.07, 56.30, 104.63°)
OKLaboklab(69.4% -0.0442 0.1222)
OKLCHoklch(69.4% 0.13 109.9)
XYZxyz(28.6410, 34.1336, 8.4472)
Luminance0.3413 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2A335 #3635A3
analogous
#A36D35 #A2A335 #6BA335
triadic
#A2A335 #35A2A3 #A335A2
tetradic
#A2A335 #35A36D #3635A3 #A3356B
square
#A2A335 #35A36D #3635A3 #A3356B
split-complementary
#A2A335 #356BA3 #6D35A3
monochromatic
#464717 #747526 #A2A335 #C5C64F #D4D57E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A2A335#FFFFFF#000000##000000
##A2A3351.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)
#B09C25
Deuteranopia (green-blind)
#B1A03D
Tritanopia (blue-blind)
#AD998D
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #a2a335;
/* rgb */ color: rgb(162, 163, 53);
/* oklch */ color: oklch(69.4% 0.130 109.9);
Tailwind
colors: {
  custom: {
    50: '#c1be73',
    500: '#a2a335',
    950: '#000000',
  },
}
SCSS
$custom: #a2a335;
$custom-light: #c1be73;
$custom-dark: #000000;
JSON
{
  "hex": "#a2a335",
  "rgb": {
    "r": 162,
    "g": 163,
    "b": 53
  },
  "hsl": {
    "h": 60.545,
    "s": 50.926,
    "l": 42.353
  },
  "oklch": {
    "l": 0.69397,
    "c": 0.12997,
    "h": 109.9
  },
  "luminance": 0.34133
}

Semantic roles & 50–950 ramp

primary
#A2A335
secondary
#7776BE
accent
#4DDA4F
background
#FCFBF7
surface
#F8F6ED
border
#D1D0C8
text
#131208
muted
#82817B

Preview Lab

Preview with #A2A335

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

Preview Lab → · Contrast checker → · Palette generator →

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