#7A894B#7A894B

#7A894B is a mid, moderate yellow-green. Relative luminance 0.225; OKLCH L 60.3% C 0.088 H 120.2°. Best body text is #000000 at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#7A894B
RGBrgb(122, 137, 75)
HSLhsl(75, 29%, 42%)
HSVhsv(75, 45%, 54%)
CMYKcmyk(10.9%, 0%, 45.3%, 46.3%)
CIE-LABlab(54.59, -15.86, 31.34)
CIE-LCHlch(54.59, 35.13, 116.85°)
OKLaboklab(60.3% -0.0441 0.0757)
OKLCHoklch(60.3% 0.088 120.2)
XYZxyz(18.2418, 22.5369, 10.0443)
Luminance0.2254 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A894B #5A4B89
analogous
#89794B #7A894B #5B894B
triadic
#7A894B #4B7A89 #894B7A
tetradic
#7A894B #4B8979 #5A4B89 #894B5B
square
#7A894B #4B8979 #5A4B89 #894B5B
split-complementary
#7A894B #4B5B89 #794B89
monochromatic
#343A20 #576135 #7A894B #9AAB66 #B4C18E

Accessibility & contrast

On white

3.81
#7A894B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.51
#7A894B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A894B
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A894B#FFFFFF#000000##000000
##7A894B1.003.815.515.51
#FFFFFF3.811.0021.0021.00
#0000005.5121.001.001.00
##0000005.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#908346
Deuteranopia (green-blind)
#8E834E
Tritanopia (blue-blind)
#7F837A
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #7a894b;
/* rgb */ color: rgb(122, 137, 75);
/* oklch */ color: oklch(60.3% 0.088 120.2);
Tailwind
colors: {
  custom: {
    50: '#a1ab7e',
    500: '#7a894b',
    950: '#000000',
  },
}
SCSS
$custom: #7a894b;
$custom-light: #a1ab7e;
$custom-dark: #000000;
JSON
{
  "hex": "#7a894b",
  "rgb": {
    "r": 122,
    "g": 137,
    "b": 75
  },
  "hsl": {
    "h": 74.516,
    "s": 29.245,
    "l": 41.569
  },
  "oklch": {
    "l": 0.60301,
    "c": 0.08767,
    "h": 120.2
  },
  "luminance": 0.22537
}

Semantic roles & 50–950 ramp

primary
#7A894B
secondary
#8D83AD
accent
#62C67A
background
#FAFAF7
surface
#F3F4EE
border
#CDCEC9
text
#0F100A
muted
#7F7F7C

Preview Lab

Preview with #7A894B

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

Preview Lab → · Contrast checker → · Palette generator →

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