#A2B440#A2B440

#A2B440 is a light, vivid yellow. Relative luminance 0.407; OKLCH L 73.3% C 0.141 H 117.5°. Best body text is #000000 at 9.14:1 contrast (WCAG AA passes).

Color values

HEX#A2B440
RGBrgb(162, 180, 64)
HSLhsl(69, 48%, 48%)
HSVhsv(69, 64%, 71%)
CMYKcmyk(10%, 0%, 64.4%, 29.4%)
CIE-LABlab(69.96, -22.15, 55.03)
CIE-LCHlch(69.96, 59.32, 111.93°)
OKLaboklab(73.34% -0.0652 0.1251)
OKLCHoklch(73.34% 0.141 117.5)
XYZxyz(32.1476, 40.6944, 11.0108)
Luminance0.4069 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2B440 #5240B4
analogous
#B48C40 #A2B440 #68B440
triadic
#A2B440 #40A2B4 #B440A2
tetradic
#A2B440 #40B48C #5240B4 #B44068
square
#A2B440 #40B48C #5240B4 #B44068
split-complementary
#A2B440 #4068B4 #8C40B4
monochromatic
#515A20 #798730 #A2B440 #BAC968 #CFD995

Accessibility & contrast

On white

2.30
#A2B440 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.14
#A2B440 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2B440
9.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2B440#FFFFFF#000000##000000
##A2B4401.002.309.149.14
#FFFFFF2.301.0021.0021.00
#0000009.1421.001.001.00
##0000009.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0AB31
Deuteranopia (green-blind)
#BEAC48
Tritanopia (blue-blind)
#ABAA9C
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #a2b440;
/* rgb */ color: rgb(162, 180, 64);
/* oklch */ color: oklch(73.3% 0.141 117.5);
Tailwind
colors: {
  custom: {
    50: '#c0ca7b',
    500: '#a2b440',
    950: '#000000',
  },
}
SCSS
$custom: #a2b440;
$custom-light: #c0ca7b;
$custom-dark: #000000;
JSON
{
  "hex": "#a2b440",
  "rgb": {
    "r": 162,
    "g": 180,
    "b": 64
  },
  "hsl": {
    "h": 69.31,
    "s": 47.541,
    "l": 47.843
  },
  "oklch": {
    "l": 0.73343,
    "c": 0.1411,
    "h": 117.5
  },
  "luminance": 0.40694
}

Semantic roles & 50–950 ramp

primary
#A2B440
secondary
#948BC5
accent
#51D766
background
#FCFCF7
surface
#F8F8EE
border
#D1D1C9
text
#13130A
muted
#82827C

Preview Lab

Preview with #A2B440

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

Preview Lab → · Contrast checker → · Palette generator →

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