#A5B862#A5B862

#A5B862 is a light, moderate yellow-green. Relative luminance 0.432; OKLCH L 74.9% C 0.114 H 119.5°. Best body text is #000000 at 9.63:1 contrast (WCAG AA passes).

Color values

HEX#A5B862
RGBrgb(165, 184, 98)
HSLhsl(73, 38%, 55%)
HSVhsv(73, 47%, 72%)
CMYKcmyk(10.3%, 0%, 46.7%, 27.8%)
CIE-LABlab(71.67, -19.95, 41.28)
CIE-LCHlch(71.67, 45.85, 115.80°)
OKLaboklab(74.88% -0.056 0.099)
OKLCHoklch(74.88% 0.114 119.5)
XYZxyz(34.8624, 43.1623, 18.0475)
Luminance0.4316 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5B862 #7562B8
analogous
#B8A062 #A5B862 #7AB862
triadic
#A5B862 #62A5B8 #B862A5
tetradic
#A5B862 #62B8A0 #7562B8 #B8627A
square
#A5B862 #62B8A0 #7562B8 #B8627A
split-complementary
#A5B862 #627AB8 #A062B8
monochromatic
#616E32 #869845 #A5B862 #BDCB8C #D5DEB6

Accessibility & contrast

On white

2.18
#A5B862 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.63
#A5B862 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5B862
9.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5B862#FFFFFF#000000##000000
##A5B8621.002.189.639.63
#FFFFFF2.181.0021.0021.00
#0000009.6321.001.001.00
##0000009.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2B05B
Deuteranopia (green-blind)
#BFB067
Tritanopia (blue-blind)
#ACB0A4
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #a5b862;
/* rgb */ color: rgb(165, 184, 98);
/* oklch */ color: oklch(74.9% 0.114 119.5);
Tailwind
colors: {
  custom: {
    50: '#c1cd90',
    500: '#a5b862',
    950: '#000000',
  },
}
SCSS
$custom: #a5b862;
$custom-light: #c1cd90;
$custom-dark: #000000;
JSON
{
  "hex": "#a5b862",
  "rgb": {
    "r": 165,
    "g": 184,
    "b": 98
  },
  "hsl": {
    "h": 73.256,
    "s": 37.719,
    "l": 55.294
  },
  "oklch": {
    "l": 0.74878,
    "c": 0.11374,
    "h": 119.5
  },
  "luminance": 0.43162
}

Semantic roles & 50–950 ramp

primary
#A5B862
secondary
#B1A9CD
accent
#5ACE74
background
#FCFCF9
surface
#F8F9F1
border
#D1D2CB
text
#12130D
muted
#81827E

Preview Lab

Preview with #A5B862

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

Preview Lab → · Contrast checker → · Palette generator →

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