#A7BA4E#A7BA4E

#A7BA4E is a light, vivid yellow-green. Relative luminance 0.439; OKLCH L 75.2% C 0.135 H 118.1°. Best body text is #000000 at 9.78:1 contrast (WCAG AA passes).

Color values

HEX#A7BA4E
RGBrgb(167, 186, 78)
HSLhsl(71, 44%, 52%)
HSVhsv(71, 58%, 73%)
CMYKcmyk(10.2%, 0%, 58.1%, 27.1%)
CIE-LABlab(72.15, -22.02, 51.43)
CIE-LCHlch(72.15, 55.94, 113.18°)
OKLaboklab(75.23% -0.0638 0.1192)
OKLCHoklch(75.23% 0.135 118.1)
XYZxyz(34.8709, 43.8836, 13.8396)
Luminance0.4388 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7BA4E #614EBA
analogous
#BA974E #A7BA4E #71BA4E
triadic
#A7BA4E #4EA7BA #BA4EA7
tetradic
#A7BA4E #4EBA97 #614EBA #BA4E71
square
#A7BA4E #4EBA97 #614EBA #BA4E71
split-complementary
#A7BA4E #4E71BA #974EBA
monochromatic
#5B6628 #829239 #A7BA4E #BDCB7A #D3DCA6

Accessibility & contrast

On white

2.15
#A7BA4E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.78
#A7BA4E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A7BA4E
9.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7BA4E#FFFFFF#000000##000000
##A7BA4E1.002.159.789.78
#FFFFFF2.151.0021.0021.00
#0000009.7821.001.001.00
##0000009.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5B142
Deuteranopia (green-blind)
#C3B155
Tritanopia (blue-blind)
#B0B1A3
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #a7ba4e;
/* rgb */ color: rgb(167, 186, 78);
/* oklch */ color: oklch(75.2% 0.135 118.1);
Tailwind
colors: {
  custom: {
    50: '#c3ce83',
    500: '#a7ba4e',
    950: '#000000',
  },
}
SCSS
$custom: #a7ba4e;
$custom-light: #c3ce83;
$custom-dark: #000000;
JSON
{
  "hex": "#a7ba4e",
  "rgb": {
    "r": 167,
    "g": 186,
    "b": 78
  },
  "hsl": {
    "h": 70.556,
    "s": 43.902,
    "l": 51.765
  },
  "oklch": {
    "l": 0.75232,
    "c": 0.13517,
    "h": 118.1
  },
  "luminance": 0.43883
}

Semantic roles & 50–950 ramp

primary
#A7BA4E
secondary
#A39ACA
accent
#54D46B
background
#FCFCF8
surface
#F8F9EF
border
#D1D2CA
text
#13130B
muted
#82827C

Preview Lab

Preview with #A7BA4E

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

Preview Lab → · Contrast checker → · Palette generator →

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