#A7B287#A7B287

#A7B287 is a light, moderate yellow-green. Relative luminance 0.418; OKLCH L 74.4% C 0.061 H 119.5°. Best body text is #000000 at 9.36:1 contrast (WCAG AA passes).

Color values

HEX#A7B287
RGBrgb(167, 178, 135)
HSLhsl(75, 22%, 61%)
HSVhsv(75, 24%, 70%)
CMYKcmyk(6.2%, 0%, 24.2%, 30.2%)
CIE-LABlab(70.74, -11.33, 20.75)
CIE-LCHlch(70.74, 23.65, 118.64°)
OKLaboklab(74.37% -0.0298 0.0526)
OKLCHoklch(74.37% 0.061 119.5)
XYZxyz(36.2295, 41.8056, 29.0776)
Luminance0.4181 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7B287 #9287B2
analogous
#B2A887 #A7B287 #92B287
triadic
#A7B287 #87A7B2 #B287A7
tetradic
#A7B287 #87B2A8 #9287B2 #B28792
square
#A7B287 #87B2A8 #9287B2 #B28792
split-complementary
#A7B287 #8792B2 #A887B2
monochromatic
#69744A #8B9962 #A7B287 #C2CAAC #DEE2D2

Accessibility & contrast

On white

2.24
#A7B287 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.36
#A7B287 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A7B287
9.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7B287#FFFFFF#000000##000000
##A7B2871.002.249.369.36
#FFFFFF2.241.0021.0021.00
#0000009.3621.001.001.00
##0000009.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8AD84
Deuteranopia (green-blind)
#B6AD89
Tritanopia (blue-blind)
#ABADA6
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #a7b287;
/* rgb */ color: rgb(167, 178, 135);
/* oklch */ color: oklch(74.4% 0.061 119.5);
Tailwind
colors: {
  custom: {
    50: '#c1c9aa',
    500: '#a7b287',
    950: '#000000',
  },
}
SCSS
$custom: #a7b287;
$custom-light: #c1c9aa;
$custom-dark: #000000;
JSON
{
  "hex": "#a7b287",
  "rgb": {
    "r": 167,
    "g": 178,
    "b": 135
  },
  "hsl": {
    "h": 75.349,
    "s": 21.827,
    "l": 61.373
  },
  "oklch": {
    "l": 0.74368,
    "c": 0.06051,
    "h": 119.5
  },
  "luminance": 0.41806
}

Semantic roles & 50–950 ramp

primary
#A7B287
secondary
#C6C2D2
accent
#45A05D
background
#FBFCFA
surface
#F7F8F4
border
#D0D1CE
text
#121310
muted
#81827F

Preview Lab

Preview with #A7B287

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

Preview Lab → · Contrast checker → · Palette generator →

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