#A2AB3F#A2AB3F

#A2AB3F is a light, vivid yellow. Relative luminance 0.372; OKLCH L 71.3% C 0.131 H 113.8°. Best body text is #000000 at 8.43:1 contrast (WCAG AA passes).

Color values

HEX#A2AB3F
RGBrgb(162, 171, 63)
HSLhsl(65, 46%, 46%)
HSVhsv(65, 63%, 67%)
CMYKcmyk(5.3%, 0%, 63.2%, 32.9%)
CIE-LABlab(67.40, -17.70, 52.74)
CIE-LCHlch(67.40, 55.63, 108.55°)
OKLaboklab(71.29% -0.0529 0.1201)
OKLCHoklch(71.29% 0.131 113.8)
XYZxyz(30.3612, 37.1666, 10.2762)
Luminance0.3717 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2AB3F #483FAB
analogous
#AB7E3F #A2AB3F #6CAB3F
triadic
#A2AB3F #3FA2AB #AB3FA2
tetradic
#A2AB3F #3FAB7E #483FAB #AB3F6C
square
#A2AB3F #3FAB7E #483FAB #AB3F6C
split-complementary
#A2AB3F #3F6CAB #7E3FAB
monochromatic
#4D521E #787E2F #A2AB3F #BDC562 #D0D68F

Accessibility & contrast

On white

2.49
#A2AB3F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.43
#A2AB3F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2AB3F
8.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2AB3F#FFFFFF#000000##000000
##A2AB3F1.002.498.438.43
#FFFFFF2.491.0021.0021.00
#0000008.4321.001.001.00
##0000008.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A331
Deuteranopia (green-blind)
#B7A546
Tritanopia (blue-blind)
#ACA195
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #a2ab3f;
/* rgb */ color: rgb(162, 171, 63);
/* oklch */ color: oklch(71.3% 0.131 113.8);
Tailwind
colors: {
  custom: {
    50: '#c0c379',
    500: '#a2ab3f',
    950: '#000000',
  },
}
SCSS
$custom: #a2ab3f;
$custom-light: #c0c379;
$custom-dark: #000000;
JSON
{
  "hex": "#a2ab3f",
  "rgb": {
    "r": 162,
    "g": 171,
    "b": 63
  },
  "hsl": {
    "h": 65,
    "s": 46.154,
    "l": 45.882
  },
  "oklch": {
    "l": 0.71288,
    "c": 0.13125,
    "h": 113.8
  },
  "luminance": 0.37166
}

Semantic roles & 50–950 ramp

primary
#A2AB3F
secondary
#8A85C1
accent
#52D65D
background
#FCFCF7
surface
#F8F8EE
border
#D1D1C9
text
#131209
muted
#82817B

Preview Lab

Preview with #A2AB3F

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

Preview Lab → · Contrast checker → · Palette generator →

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