#A2B262#A2B262

#A2B262 is a light, moderate yellow-green. Relative luminance 0.404; OKLCH L 73.3% C 0.107 H 118.4°. Best body text is #000000 at 9.08:1 contrast (WCAG AA passes).

Color values

HEX#A2B262
RGBrgb(162, 178, 98)
HSLhsl(72, 34%, 54%)
HSVhsv(72, 45%, 70%)
CMYKcmyk(9%, 0%, 44.9%, 30.2%)
CIE-LABlab(69.76, -18.13, 38.88)
CIE-LCHlch(69.76, 42.90, 114.99°)
OKLaboklab(73.3% -0.0506 0.0937)
OKLCHoklch(73.3% 0.107 118.4)
XYZxyz(33.0255, 40.4042, 17.6119)
Luminance0.4040 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2B262 #7262B2
analogous
#B29A62 #A2B262 #7AB262
triadic
#A2B262 #62A2B2 #B262A2
tetradic
#A2B262 #62B29A #7262B2 #B2627A
square
#A2B262 #62B29A #7262B2 #B2627A
split-complementary
#A2B262 #627AB2 #9A62B2
monochromatic
#5D6733 #819047 #A2B262 #BAC68B #D3DAB4

Accessibility & contrast

On white

2.31
#A2B262 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.08
#A2B262 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2B262
9.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2B262#FFFFFF#000000##000000
##A2B2621.002.319.089.08
#FFFFFF2.311.0021.0021.00
#0000009.0821.001.001.00
##0000009.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBAA5B
Deuteranopia (green-blind)
#B9AB66
Tritanopia (blue-blind)
#A9AA9F
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #a2b262;
/* rgb */ color: rgb(162, 178, 98);
/* oklch */ color: oklch(73.3% 0.107 118.4);
Tailwind
colors: {
  custom: {
    50: '#bfc990',
    500: '#a2b262',
    950: '#000000',
  },
}
SCSS
$custom: #a2b262;
$custom-light: #bfc990;
$custom-dark: #000000;
JSON
{
  "hex": "#a2b262",
  "rgb": {
    "r": 162,
    "g": 178,
    "b": 98
  },
  "hsl": {
    "h": 72,
    "s": 34.188,
    "l": 54.118
  },
  "oklch": {
    "l": 0.73295,
    "c": 0.10652,
    "h": 118.4
  },
  "luminance": 0.40404
}

Semantic roles & 50–950 ramp

primary
#A2B262
secondary
#AEA7C9
accent
#5ECA73
background
#FBFCF8
surface
#F7F8F0
border
#D0D1CB
text
#12130D
muted
#81827D

Preview Lab

Preview with #A2B262

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

Preview Lab → · Contrast checker → · Palette generator →

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