#A5B671#A5B671

#A5B671 is a light, moderate yellow-green. Relative luminance 0.426; OKLCH L 74.7% C 0.094 H 120.0°. Best body text is #000000 at 9.53:1 contrast (WCAG AA passes).

Color values

HEX#A5B671
RGBrgb(165, 182, 113)
HSLhsl(75, 32%, 58%)
HSVhsv(75, 38%, 71%)
CMYKcmyk(9.3%, 0%, 37.9%, 28.6%)
CIE-LABlab(71.32, -17.21, 33.19)
CIE-LCHlch(71.32, 37.39, 117.40°)
OKLaboklab(74.67% -0.0471 0.0816)
OKLCHoklch(74.67% 0.094 120)
XYZxyz(35.2256, 42.6476, 21.9957)
Luminance0.4265 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5B671 #8271B6
analogous
#B6A571 #A5B671 #82B671
triadic
#A5B671 #71A5B6 #B671A5
tetradic
#A5B671 #71B6A5 #8271B6 #B67182
square
#A5B671 #71B6A5 #8271B6 #B67182
split-complementary
#A5B671 #7182B6 #A571B6
monochromatic
#64723B #889A4F #A5B671 #BFCB99 #D8E0C2

Accessibility & contrast

On white

2.20
#A5B671 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.53
#A5B671 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5B671
9.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5B671#FFFFFF#000000##000000
##A5B6711.002.209.539.53
#FFFFFF2.201.0021.0021.00
#0000009.5321.001.001.00
##0000009.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEAF6C
Deuteranopia (green-blind)
#BCAF74
Tritanopia (blue-blind)
#ABAFA5
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #a5b671;
/* rgb */ color: rgb(165, 182, 113);
/* oklch */ color: oklch(74.7% 0.094 120.0);
Tailwind
colors: {
  custom: {
    50: '#c0cb9a',
    500: '#a5b671',
    950: '#000000',
  },
}
SCSS
$custom: #a5b671;
$custom-light: #c0cb9a;
$custom-dark: #000000;
JSON
{
  "hex": "#a5b671",
  "rgb": {
    "r": 165,
    "g": 182,
    "b": 113
  },
  "hsl": {
    "h": 74.783,
    "s": 32.093,
    "l": 57.843
  },
  "oklch": {
    "l": 0.74667,
    "c": 0.09418,
    "h": 120
  },
  "luminance": 0.42647
}

Semantic roles & 50–950 ramp

primary
#A5B671
secondary
#BAB4CF
accent
#60C879
background
#FBFCF9
surface
#F7F8F2
border
#D0D1CC
text
#12130E
muted
#81827E

Preview Lab

Preview with #A5B671

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

Preview Lab → · Contrast checker → · Palette generator →

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