#A2B141#A2B141

#A2B141 is a light, vivid yellow. Relative luminance 0.395; OKLCH L 72.7% C 0.137 H 116.4°. Best body text is #000000 at 8.90:1 contrast (WCAG AA passes).

Color values

HEX#A2B141
RGBrgb(162, 177, 65)
HSLhsl(68, 46%, 47%)
HSVhsv(68, 63%, 69%)
CMYKcmyk(8.5%, 0%, 63.3%, 30.6%)
CIE-LABlab(69.12, -20.59, 53.71)
CIE-LCHlch(69.12, 57.52, 110.97°)
OKLaboklab(72.67% -0.0608 0.1225)
OKLCHoklch(72.67% 0.137 116.4)
XYZxyz(31.5772, 39.5077, 10.9623)
Luminance0.3951 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2B141 #5041B1
analogous
#B18841 #A2B141 #6AB141
triadic
#A2B141 #41A2B1 #B141A2
tetradic
#A2B141 #41B188 #5041B1 #B1416A
square
#A2B141 #41B188 #5041B1 #B1416A
split-complementary
#A2B141 #416AB1 #8841B1
monochromatic
#505720 #798431 #A2B141 #BBC768 #CFD895

Accessibility & contrast

On white

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

On black

8.90
#A2B141 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2B141
8.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2B141#FFFFFF#000000##000000
##A2B1411.002.368.908.90
#FFFFFF2.361.0021.0021.00
#0000008.9021.001.001.00
##0000008.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDA833
Deuteranopia (green-blind)
#BBAA49
Tritanopia (blue-blind)
#ACA79A
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #a2b141;
/* rgb */ color: rgb(162, 177, 65);
/* oklch */ color: oklch(72.7% 0.137 116.4);
Tailwind
colors: {
  custom: {
    50: '#c0c87b',
    500: '#a2b141',
    950: '#000000',
  },
}
SCSS
$custom: #a2b141;
$custom-light: #c0c87b;
$custom-dark: #000000;
JSON
{
  "hex": "#a2b141",
  "rgb": {
    "r": 162,
    "g": 177,
    "b": 65
  },
  "hsl": {
    "h": 68.036,
    "s": 46.281,
    "l": 47.451
  },
  "oklch": {
    "l": 0.72668,
    "c": 0.13672,
    "h": 116.4
  },
  "luminance": 0.39507
}

Semantic roles & 50–950 ramp

primary
#A2B141
secondary
#928AC3
accent
#52D664
background
#FCFCF7
surface
#F8F8EE
border
#D1D1C9
text
#13130A
muted
#82827C

Preview Lab

Preview with #A2B141

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

Preview Lab → · Contrast checker → · Palette generator →

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