#A2A334#A2A334

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

Color values

HEX#A2A334
RGBrgb(162, 163, 52)
HSLhsl(61, 52%, 42%)
HSVhsv(61, 68%, 64%)
CMYKcmyk(0.6%, 0%, 68.1%, 36.1%)
CIE-LABlab(65.06, -14.28, 54.87)
CIE-LCHlch(65.06, 56.69, 104.59°)
OKLaboklab(69.39% -0.0444 0.1229)
OKLCHoklch(69.39% 0.131 109.9)
XYZxyz(28.6183, 34.1245, 8.3273)
Luminance0.3412 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2A334 #3534A3
analogous
#A36D34 #A2A334 #6AA334
triadic
#A2A334 #34A2A3 #A334A2
tetradic
#A2A334 #34A36D #3534A3 #A3346A
square
#A2A334 #34A36D #3534A3 #A3346A
split-complementary
#A2A334 #346AA3 #6D34A3
monochromatic
#464616 #747525 #A2A334 #C5C64E #D4D57C

Accessibility & contrast

On white

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

On black

7.82
#A2A334 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2A334
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2A334#FFFFFF#000000##000000
##A2A3341.002.687.827.82
#FFFFFF2.681.0021.0021.00
#0000007.8221.001.001.00
##0000007.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09C23
Deuteranopia (green-blind)
#B1A03C
Tritanopia (blue-blind)
#AD998D
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #a2a334;
/* rgb */ color: rgb(162, 163, 52);
/* oklch */ color: oklch(69.4% 0.131 109.9);
Tailwind
colors: {
  custom: {
    50: '#c1be72',
    500: '#a2a334',
    950: '#000000',
  },
}
SCSS
$custom: #a2a334;
$custom-light: #c1be72;
$custom-dark: #000000;
JSON
{
  "hex": "#a2a334",
  "rgb": {
    "r": 162,
    "g": 163,
    "b": 52
  },
  "hsl": {
    "h": 60.541,
    "s": 51.628,
    "l": 42.157
  },
  "oklch": {
    "l": 0.69389,
    "c": 0.13068,
    "h": 109.9
  },
  "luminance": 0.34124
}

Semantic roles & 50–950 ramp

primary
#A2A334
secondary
#7575BE
accent
#4DDB4E
background
#FCFBF7
surface
#F8F6ED
border
#D1D0C8
text
#131208
muted
#82817B

Preview Lab

Preview with #A2A334

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

Preview Lab → · Contrast checker → · Palette generator →

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