#A2B145#A2B145

#A2B145 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#A2B145
RGBrgb(162, 177, 69)
HSLhsl(68, 44%, 48%)
HSVhsv(68, 61%, 69%)
CMYKcmyk(8.5%, 0%, 61%, 30.6%)
CIE-LABlab(69.15, -20.30, 52.02)
CIE-LCHlch(69.15, 55.84, 111.32°)
OKLaboklab(72.71% -0.0595 0.1194)
OKLCHoklch(72.71% 0.133 116.5)
XYZxyz(31.6972, 39.5557, 11.5943)
Luminance0.3956 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2B145 #5445B1
analogous
#B18A45 #A2B145 #6CB145
triadic
#A2B145 #45A2B1 #B145A2
tetradic
#A2B145 #45B18A #5445B1 #B1456C
square
#A2B145 #45B18A #5445B1 #B1456C
split-complementary
#A2B145 #456CB1 #8A45B1
monochromatic
#515923 #7A8534 #A2B145 #BAC66D #CFD799

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A2B145#FFFFFF#000000##000000
##A2B1451.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)
#BCA838
Deuteranopia (green-blind)
#BBAA4C
Tritanopia (blue-blind)
#ABA89A
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #a2b145;
/* rgb */ color: rgb(162, 177, 69);
/* oklch */ color: oklch(72.7% 0.133 116.5);
Tailwind
colors: {
  custom: {
    50: '#c0c87d',
    500: '#a2b145',
    950: '#000000',
  },
}
SCSS
$custom: #a2b145;
$custom-light: #c0c87d;
$custom-dark: #000000;
JSON
{
  "hex": "#a2b145",
  "rgb": {
    "r": 162,
    "g": 177,
    "b": 69
  },
  "hsl": {
    "h": 68.333,
    "s": 43.902,
    "l": 48.235
  },
  "oklch": {
    "l": 0.72707,
    "c": 0.13345,
    "h": 116.5
  },
  "luminance": 0.39555
}

Semantic roles & 50–950 ramp

primary
#A2B145
secondary
#968EC3
accent
#54D466
background
#FCFCF7
surface
#F8F8EE
border
#D1D1C9
text
#13130A
muted
#82827C

Preview Lab

Preview with #A2B145

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

Preview Lab → · Contrast checker → · Palette generator →

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