#7B9147#7B9147

#7B9147 is a light, moderate yellow-green. Relative luminance 0.249; OKLCH L 62.2% C 0.103 H 123.1°. Best body text is #000000 at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#7B9147
RGBrgb(123, 145, 71)
HSLhsl(78, 34%, 42%)
HSVhsv(78, 51%, 57%)
CMYKcmyk(15.2%, 0%, 51%, 43.1%)
CIE-LABlab(56.99, -20.08, 36.39)
CIE-LCHlch(56.99, 41.56, 118.89°)
OKLaboklab(62.23% -0.0564 0.0866)
OKLCHoklch(62.23% 0.103 123.1)
XYZxyz(19.4312, 24.9166, 9.7457)
Luminance0.2492 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B9147 #5D4791
analogous
#918247 #7B9147 #569147
triadic
#7B9147 #477B91 #91477B
tetradic
#7B9147 #479182 #5D4791 #914756
square
#7B9147 #479182 #5D4791 #914756
split-complementary
#7B9147 #475691 #824791
monochromatic
#353F1F #586833 #7B9147 #9BB263 #B5C78C

Accessibility & contrast

On white

3.51
#7B9147 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.98
#7B9147 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B9147
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B9147#FFFFFF#000000##000000
##7B91471.003.515.985.98
#FFFFFF3.511.0021.0021.00
#0000005.9821.001.001.00
##0000005.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#988940
Deuteranopia (green-blind)
#95894B
Tritanopia (blue-blind)
#808B80
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #7b9147;
/* rgb */ color: rgb(123, 145, 71);
/* oklch */ color: oklch(62.2% 0.103 123.1);
Tailwind
colors: {
  custom: {
    50: '#a3b17c',
    500: '#7b9147',
    950: '#000000',
  },
}
SCSS
$custom: #7b9147;
$custom-light: #a3b17c;
$custom-dark: #000000;
JSON
{
  "hex": "#7b9147",
  "rgb": {
    "r": 123,
    "g": 145,
    "b": 71
  },
  "hsl": {
    "h": 77.838,
    "s": 34.259,
    "l": 42.353
  },
  "oklch": {
    "l": 0.6223,
    "c": 0.10339,
    "h": 123.1
  },
  "luminance": 0.24917
}

Semantic roles & 50–950 ramp

primary
#7B9147
secondary
#9082B2
accent
#5DCA7E
background
#FAFAF7
surface
#F4F5EE
border
#CECFC9
text
#0F1009
muted
#7F7F7B

Preview Lab

Preview with #7B9147

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

Preview Lab → · Contrast checker → · Palette generator →

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