#A2B146#A2B146

#A2B146 is a light, vivid yellow. Relative luminance 0.396; OKLCH L 72.7% C 0.133 H 116.5°. Best body text is #000000 at 8.91:1 contrast (WCAG AA passes).

Color values

HEX#A2B146
RGBrgb(162, 177, 70)
HSLhsl(68, 43%, 48%)
HSVhsv(68, 60%, 69%)
CMYKcmyk(8.5%, 0%, 60.5%, 30.6%)
CIE-LABlab(69.16, -20.22, 51.59)
CIE-LCHlch(69.16, 55.41, 111.41°)
OKLaboklab(72.72% -0.0592 0.1187)
OKLCHoklch(72.72% 0.133 116.5)
XYZxyz(31.7285, 39.5682, 11.7591)
Luminance0.3957 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2B146 #5546B1
analogous
#B18A46 #A2B146 #6CB146
triadic
#A2B146 #46A2B1 #B146A2
tetradic
#A2B146 #46B18A #5546B1 #B1466C
square
#A2B146 #46B18A #5546B1 #B1466C
split-complementary
#A2B146 #466CB1 #8A46B1
monochromatic
#525923 #7A8535 #A2B146 #BAC66E #CFD79A

Accessibility & contrast

On white

2.36
#A2B146 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.91
#A2B146 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2B146
8.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2B146#FFFFFF#000000##000000
##A2B1461.002.368.918.91
#FFFFFF2.361.0021.0021.00
#0000008.9121.001.001.00
##0000008.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA83A
Deuteranopia (green-blind)
#BBAA4D
Tritanopia (blue-blind)
#ABA89A
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #a2b146;
/* rgb */ color: rgb(162, 177, 70);
/* oklch */ color: oklch(72.7% 0.133 116.5);
Tailwind
colors: {
  custom: {
    50: '#c0c87e',
    500: '#a2b146',
    950: '#000000',
  },
}
SCSS
$custom: #a2b146;
$custom-light: #c0c87e;
$custom-dark: #000000;
JSON
{
  "hex": "#a2b146",
  "rgb": {
    "r": 162,
    "g": 177,
    "b": 70
  },
  "hsl": {
    "h": 68.411,
    "s": 43.32,
    "l": 48.431
  },
  "oklch": {
    "l": 0.72717,
    "c": 0.13262,
    "h": 116.5
  },
  "luminance": 0.39568
}

Semantic roles & 50–950 ramp

primary
#A2B146
secondary
#978FC3
accent
#55D366
background
#FCFCF7
surface
#F8F8EE
border
#D1D1C9
text
#13130A
muted
#82827C

Preview Lab

Preview with #A2B146

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

Preview Lab → · Contrast checker → · Palette generator →

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