#7C9150#7C9150

#7C9150 is a light, moderate yellow-green. Relative luminance 0.251; OKLCH L 62.4% C 0.093 H 123.7°. Best body text is #000000 at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#7C9150
RGBrgb(124, 145, 80)
HSLhsl(79, 29%, 44%)
HSVhsv(79, 45%, 57%)
CMYKcmyk(14.5%, 0%, 44.8%, 43.1%)
CIE-LABlab(57.19, -18.64, 31.95)
CIE-LCHlch(57.19, 36.99, 120.25°)
OKLaboklab(62.44% -0.0517 0.0774)
OKLCHoklch(62.44% 0.093 123.7)
XYZxyz(19.8855, 25.1150, 11.3879)
Luminance0.2511 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C9150 #655091
analogous
#918650 #7C9150 #5C9150
triadic
#7C9150 #507C91 #91507C
tetradic
#7C9150 #509186 #655091 #91505C
square
#7C9150 #509186 #655091 #91505C
split-complementary
#7C9150 #505C91 #865091
monochromatic
#394224 #5A6A3A #7C9150 #9BAF6F #B6C596

Accessibility & contrast

On white

3.49
#7C9150 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.02
#7C9150 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C9150
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C9150#FFFFFF#000000##000000
##7C91501.003.496.026.02
#FFFFFF3.491.0021.0021.00
#0000006.0221.001.001.00
##0000006.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#988A4B
Deuteranopia (green-blind)
#958953
Tritanopia (blue-blind)
#808B81
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #7c9150;
/* rgb */ color: rgb(124, 145, 80);
/* oklch */ color: oklch(62.4% 0.093 123.7);
Tailwind
colors: {
  custom: {
    50: '#a3b182',
    500: '#7c9150',
    950: '#000000',
  },
}
SCSS
$custom: #7c9150;
$custom-light: #a3b182;
$custom-dark: #000000;
JSON
{
  "hex": "#7c9150",
  "rgb": {
    "r": 124,
    "g": 145,
    "b": 80
  },
  "hsl": {
    "h": 79.385,
    "s": 28.889,
    "l": 44.118
  },
  "oklch": {
    "l": 0.62442,
    "c": 0.09306,
    "h": 123.7
  },
  "luminance": 0.25115
}

Semantic roles & 50–950 ramp

primary
#7C9150
secondary
#978BB2
accent
#63C582
background
#FAFAF8
surface
#F4F5EF
border
#CECFCA
text
#0F100A
muted
#7F7F7C

Preview Lab

Preview with #7C9150

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

Preview Lab → · Contrast checker → · Palette generator →

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