#7A985B#7A985B

#7A985B is a light, moderate yellow-green. Relative luminance 0.273; OKLCH L 64.2% C 0.092 H 130.0°. Best body text is #000000 at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#7A985B
RGBrgb(122, 152, 91)
HSLhsl(90, 25%, 48%)
HSVhsv(90, 40%, 60%)
CMYKcmyk(19.7%, 0%, 40.1%, 40.4%)
CIE-LABlab(59.30, -21.60, 28.73)
CIE-LCHlch(59.30, 35.94, 126.94°)
OKLaboklab(64.16% -0.0592 0.0706)
OKLCHoklch(64.16% 0.092 130)
XYZxyz(21.1423, 27.3490, 14.0605)
Luminance0.2735 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A985B #795B98
analogous
#98975B #7A985B #5B985B
triadic
#7A985B #5B7A98 #985B7A
tetradic
#7A985B #5B9897 #795B98 #985B5B
square
#7A985B #5B9897 #795B98 #985B5B
split-complementary
#7A985B #5B5B98 #975B98
monochromatic
#3D4B2D #5B7244 #7A985B #99B27E #B7C9A5

Accessibility & contrast

On white

3.25
#7A985B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.47
#7A985B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A985B
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A985B#FFFFFF#000000##000000
##7A985B1.003.256.476.47
#FFFFFF3.251.0021.0021.00
#0000006.4721.001.001.00
##0000006.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#9D9057
Deuteranopia (green-blind)
#998E5E
Tritanopia (blue-blind)
#7C9389
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #7a985b;
/* rgb */ color: rgb(122, 152, 91);
/* oklch */ color: oklch(64.2% 0.092 130.0);
Tailwind
colors: {
  custom: {
    50: '#a1b68a',
    500: '#7a985b',
    950: '#000000',
  },
}
SCSS
$custom: #7a985b;
$custom-light: #a1b68a;
$custom-dark: #000000;
JSON
{
  "hex": "#7a985b",
  "rgb": {
    "r": 122,
    "g": 152,
    "b": 91
  },
  "hsl": {
    "h": 89.508,
    "s": 25.103,
    "l": 47.647
  },
  "oklch": {
    "l": 0.64155,
    "c": 0.09217,
    "h": 130
  },
  "luminance": 0.27349
}

Semantic roles & 50–950 ramp

primary
#7A985B
secondary
#A798B7
accent
#66C293
background
#FAFBF8
surface
#F3F6F0
border
#CDD0CB
text
#0F110C
muted
#7F807D

Preview Lab

Preview with #7A985B

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

Preview Lab → · Contrast checker → · Palette generator →

#7A985B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva