#A2B140#A2B140

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

Color values

HEX#A2B140
RGBrgb(162, 177, 64)
HSLhsl(68, 47%, 47%)
HSVhsv(68, 64%, 69%)
CMYKcmyk(8.5%, 0%, 63.8%, 30.6%)
CIE-LABlab(69.11, -20.66, 54.13)
CIE-LCHlch(69.11, 57.94, 110.89°)
OKLaboklab(72.66% -0.0611 0.1232)
OKLCHoklch(72.66% 0.138 116.4)
XYZxyz(31.5485, 39.4962, 10.8111)
Luminance0.3950 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2B140 #4F40B1
analogous
#B18840 #A2B140 #69B140
triadic
#A2B140 #40A2B1 #B140A2
tetradic
#A2B140 #40B188 #4F40B1 #B14069
square
#A2B140 #40B188 #4F40B1 #B14069
split-complementary
#A2B140 #4069B1 #8840B1
monochromatic
#50571F #798430 #A2B140 #BBC866 #CFD893

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A2B140#FFFFFF#000000##000000
##A2B1401.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)
#BDA832
Deuteranopia (green-blind)
#BBA948
Tritanopia (blue-blind)
#ACA79A
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #a2b140;
/* rgb */ color: rgb(162, 177, 64);
/* oklch */ color: oklch(72.7% 0.138 116.4);
Tailwind
colors: {
  custom: {
    50: '#c0c87a',
    500: '#a2b140',
    950: '#000000',
  },
}
SCSS
$custom: #a2b140;
$custom-light: #c0c87a;
$custom-dark: #000000;
JSON
{
  "hex": "#a2b140",
  "rgb": {
    "r": 162,
    "g": 177,
    "b": 64
  },
  "hsl": {
    "h": 67.965,
    "s": 46.888,
    "l": 47.255
  },
  "oklch": {
    "l": 0.72659,
    "c": 0.13751,
    "h": 116.4
  },
  "luminance": 0.39496
}

Semantic roles & 50–950 ramp

primary
#A2B140
secondary
#9189C3
accent
#51D763
background
#FCFCF7
surface
#F8F8EE
border
#D1D1C9
text
#13130A
muted
#82827C

Preview Lab

Preview with #A2B140

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

Preview Lab → · Contrast checker → · Palette generator →

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