#7B985D#7B985D

#7B985D is a light, moderate yellow-green. Relative luminance 0.275; OKLCH L 64.3% C 0.089 H 129.9°. Best body text is #000000 at 6.49:1 contrast (WCAG AA passes).

Color values

HEX#7B985D
RGBrgb(123, 152, 93)
HSLhsl(89, 24%, 48%)
HSVhsv(89, 39%, 60%)
CMYKcmyk(19.1%, 0%, 38.8%, 40.4%)
CIE-LABlab(59.40, -20.93, 27.79)
CIE-LCHlch(59.40, 34.80, 126.99°)
OKLaboklab(64.26% -0.0573 0.0685)
OKLCHoklch(64.26% 0.089 129.9)
XYZxyz(21.3721, 27.4574, 14.5276)
Luminance0.2746 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B985D #7A5D98
analogous
#98985D #7B985D #5D985D
triadic
#7B985D #5D7B98 #985D7B
tetradic
#7B985D #5D9898 #7A5D98 #985D5D
square
#7B985D #5D9898 #7A5D98 #985D5D
split-complementary
#7B985D #5D5D98 #985D98
monochromatic
#3E4C2F #5C7246 #7B985D #9AB281 #B8C9A7

Accessibility & contrast

On white

3.23
#7B985D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.49
#7B985D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B985D
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B985D#FFFFFF#000000##000000
##7B985D1.003.236.496.49
#FFFFFF3.231.0021.0021.00
#0000006.4921.001.001.00
##0000006.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#9D9059
Deuteranopia (green-blind)
#998E60
Tritanopia (blue-blind)
#7D9389
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #7b985d;
/* rgb */ color: rgb(123, 152, 93);
/* oklch */ color: oklch(64.3% 0.089 129.9);
Tailwind
colors: {
  custom: {
    50: '#a2b68b',
    500: '#7b985d',
    950: '#000000',
  },
}
SCSS
$custom: #7b985d;
$custom-light: #a2b68b;
$custom-dark: #000000;
JSON
{
  "hex": "#7b985d",
  "rgb": {
    "r": 123,
    "g": 152,
    "b": 93
  },
  "hsl": {
    "h": 89.492,
    "s": 24.082,
    "l": 48.039
  },
  "oklch": {
    "l": 0.64262,
    "c": 0.08934,
    "h": 129.9
  },
  "luminance": 0.27458
}

Semantic roles & 50–950 ramp

primary
#7B985D
secondary
#A89AB7
accent
#67C193
background
#FAFBF8
surface
#F3F6F0
border
#CDD0CB
text
#0F110C
muted
#7F807D

Preview Lab

Preview with #7B985D

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

Preview Lab → · Contrast checker → · Palette generator →

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