#A2B341#A2B341

#A2B341 is a light, vivid yellow. Relative luminance 0.403; OKLCH L 73.1% C 0.139 H 117.2°. Best body text is #000000 at 9.06:1 contrast (WCAG AA passes).

Color values

HEX#A2B341
RGBrgb(162, 179, 65)
HSLhsl(69, 47%, 48%)
HSVhsv(69, 64%, 70%)
CMYKcmyk(9.5%, 0%, 63.7%, 29.8%)
CIE-LABlab(69.69, -21.59, 54.32)
CIE-LCHlch(69.69, 58.45, 111.67°)
OKLaboklab(73.12% -0.0636 0.1238)
OKLCHoklch(73.12% 0.139 117.2)
XYZxyz(31.9752, 40.3036, 11.0949)
Luminance0.4030 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2B341 #5241B3
analogous
#B38B41 #A2B341 #69B341
triadic
#A2B341 #41A2B3 #B341A2
tetradic
#A2B341 #41B38B #5241B3 #B34169
square
#A2B341 #41B38B #5241B3 #B34169
split-complementary
#A2B341 #4169B3 #8B41B3
monochromatic
#515920 #798631 #A2B341 #BAC869 #CFD996

Accessibility & contrast

On white

2.32
#A2B341 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.06
#A2B341 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2B341
9.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2B341#FFFFFF#000000##000000
##A2B3411.002.329.069.06
#FFFFFF2.321.0021.0021.00
#0000009.0621.001.001.00
##0000009.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFAA33
Deuteranopia (green-blind)
#BDAB49
Tritanopia (blue-blind)
#ABA99B
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #a2b341;
/* rgb */ color: rgb(162, 179, 65);
/* oklch */ color: oklch(73.1% 0.139 117.2);
Tailwind
colors: {
  custom: {
    50: '#c0c97b',
    500: '#a2b341',
    950: '#000000',
  },
}
SCSS
$custom: #a2b341;
$custom-light: #c0c97b;
$custom-dark: #000000;
JSON
{
  "hex": "#a2b341",
  "rgb": {
    "r": 162,
    "g": 179,
    "b": 65
  },
  "hsl": {
    "h": 68.947,
    "s": 46.721,
    "l": 47.843
  },
  "oklch": {
    "l": 0.73124,
    "c": 0.13912,
    "h": 117.2
  },
  "luminance": 0.40303
}

Semantic roles & 50–950 ramp

primary
#A2B341
secondary
#948BC4
accent
#51D665
background
#FCFCF7
surface
#F8F8EE
border
#D1D1C9
text
#13130A
muted
#82827C

Preview Lab

Preview with #A2B341

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

Preview Lab → · Contrast checker → · Palette generator →

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