#7C9162#7C9162

#7C9162 is a light, moderate yellow-green. Relative luminance 0.254; OKLCH L 62.8% C 0.071 H 127.9°. Best body text is #000000 at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#7C9162
RGBrgb(124, 145, 98)
HSLhsl(87, 19%, 48%)
HSVhsv(87, 32%, 57%)
CMYKcmyk(14.5%, 0%, 32.4%, 43.1%)
CIE-LABlab(57.48, -16.18, 22.55)
CIE-LCHlch(57.48, 27.75, 125.66°)
OKLaboklab(62.77% -0.0439 0.0564)
OKLCHoklch(62.77% 0.071 127.9)
XYZxyz(20.6419, 25.4175, 15.3715)
Luminance0.2542 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C9162 #776291
analogous
#918F62 #7C9162 #649162
triadic
#7C9162 #627C91 #91627C
tetradic
#7C9162 #62918F #776291 #916264
square
#7C9162 #62918F #776291 #916264
split-complementary
#7C9162 #626491 #8F6291
monochromatic
#3E4831 #5D6C49 #7C9162 #9AAC84 #B8C5A9

Accessibility & contrast

On white

3.45
#7C9162 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.08
#7C9162 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C9162
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C9162#FFFFFF#000000##000000
##7C91621.003.456.086.08
#FFFFFF3.451.0021.0021.00
#0000006.0821.001.001.00
##0000006.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#968B5F
Deuteranopia (green-blind)
#938A64
Tritanopia (blue-blind)
#7E8D85
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #7c9162;
/* rgb */ color: rgb(124, 145, 98);
/* oklch */ color: oklch(62.8% 0.071 127.9);
Tailwind
colors: {
  custom: {
    50: '#a2b18f',
    500: '#7c9162',
    950: '#000000',
  },
}
SCSS
$custom: #7c9162;
$custom-light: #a2b18f;
$custom-dark: #000000;
JSON
{
  "hex": "#7c9162",
  "rgb": {
    "r": 124,
    "g": 145,
    "b": 98
  },
  "hsl": {
    "h": 86.809,
    "s": 19.342,
    "l": 47.647
  },
  "oklch": {
    "l": 0.62772,
    "c": 0.07145,
    "h": 127.9
  },
  "luminance": 0.25418
}

Semantic roles & 50–950 ramp

primary
#7C9162
secondary
#A69CB3
accent
#6CBC90
background
#FAFAF8
surface
#F3F5F0
border
#CDCFCB
text
#0F100C
muted
#7F7F7D

Preview Lab

Preview with #7C9162

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

Preview Lab → · Contrast checker → · Palette generator →

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