#A2B346#A2B346

#A2B346 is a light, vivid yellow. Relative luminance 0.404; OKLCH L 73.2% C 0.135 H 117.3°. Best body text is #000000 at 9.07:1 contrast (WCAG AA passes).

Color values

HEX#A2B346
RGBrgb(162, 179, 70)
HSLhsl(69, 44%, 49%)
HSVhsv(69, 61%, 70%)
CMYKcmyk(9.5%, 0%, 60.9%, 29.8%)
CIE-LABlab(69.73, -21.22, 52.21)
CIE-LCHlch(69.73, 56.36, 112.12°)
OKLaboklab(73.17% -0.062 0.12)
OKLCHoklch(73.17% 0.135 117.3)
XYZxyz(32.1265, 40.3641, 11.8918)
Luminance0.4036 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2B346 #5746B3
analogous
#B38E46 #A2B346 #6CB346
triadic
#A2B346 #46A2B3 #B346A2
tetradic
#A2B346 #46B38E #5746B3 #B3466C
square
#A2B346 #46B38E #5746B3 #B3466C
split-complementary
#A2B346 #466CB3 #8E46B3
monochromatic
#525B24 #7A8735 #A2B346 #B9C76F #CFD89B

Accessibility & contrast

On white

2.31
#A2B346 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.07
#A2B346 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2B346
9.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2B346#FFFFFF#000000##000000
##A2B3461.002.319.079.07
#FFFFFF2.311.0021.0021.00
#0000009.0721.001.001.00
##0000009.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEAA39
Deuteranopia (green-blind)
#BDAB4D
Tritanopia (blue-blind)
#ABAA9C
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #a2b346;
/* rgb */ color: rgb(162, 179, 70);
/* oklch */ color: oklch(73.2% 0.135 117.3);
Tailwind
colors: {
  custom: {
    50: '#c0c97e',
    500: '#a2b346',
    950: '#000000',
  },
}
SCSS
$custom: #a2b346;
$custom-light: #c0c97e;
$custom-dark: #000000;
JSON
{
  "hex": "#a2b346",
  "rgb": {
    "r": 162,
    "g": 179,
    "b": 70
  },
  "hsl": {
    "h": 69.358,
    "s": 43.775,
    "l": 48.824
  },
  "oklch": {
    "l": 0.73172,
    "c": 0.13505,
    "h": 117.3
  },
  "luminance": 0.40364
}

Semantic roles & 50–950 ramp

primary
#A2B346
secondary
#9990C4
accent
#54D468
background
#FCFCF7
surface
#F8F8EE
border
#D1D1C9
text
#13130A
muted
#82827C

Preview Lab

Preview with #A2B346

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

Preview Lab → · Contrast checker → · Palette generator →

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