#7E993C#7E993C

#7E993C is a light, vivid yellow-green. Relative luminance 0.275; OKLCH L 64.2% C 0.124 H 123.5°. Best body text is #000000 at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#7E993C
RGBrgb(126, 153, 60)
HSLhsl(77, 44%, 42%)
HSVhsv(77, 61%, 60%)
CMYKcmyk(17.6%, 0%, 60.8%, 40%)
CIE-LABlab(59.47, -23.96, 44.67)
CIE-LCHlch(59.47, 50.69, 118.21°)
OKLaboklab(64.24% -0.0685 0.1034)
OKLCHoklch(64.24% 0.124 123.5)
XYZxyz(20.8112, 27.5442, 8.4943)
Luminance0.2754 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E993C #573C99
analogous
#99863C #7E993C #50993C
triadic
#7E993C #3C7E99 #993C7E
tetradic
#7E993C #3C9986 #573C99 #993C50
square
#7E993C #3C9986 #573C99 #993C50
split-complementary
#7E993C #3C5099 #863C99
monochromatic
#36411A #5A6D2B #7E993C #9FBD56 #B8CE82

Accessibility & contrast

On white

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

On black

6.51
#7E993C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E993C
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E993C#FFFFFF#000000##000000
##7E993C1.003.236.516.51
#FFFFFF3.231.0021.0021.00
#0000006.5121.001.001.00
##0000006.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A19032
Deuteranopia (green-blind)
#9E8F42
Tritanopia (blue-blind)
#849285
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #7e993c;
/* rgb */ color: rgb(126, 153, 60);
/* oklch */ color: oklch(64.2% 0.124 123.5);
Tailwind
colors: {
  custom: {
    50: '#a6b775',
    500: '#7e993c',
    950: '#000000',
  },
}
SCSS
$custom: #7e993c;
$custom-light: #a6b775;
$custom-dark: #000000;
JSON
{
  "hex": "#7e993c",
  "rgb": {
    "r": 126,
    "g": 153,
    "b": 60
  },
  "hsl": {
    "h": 77.419,
    "s": 43.662,
    "l": 41.765
  },
  "oklch": {
    "l": 0.64241,
    "c": 0.12399,
    "h": 123.5
  },
  "luminance": 0.27544
}

Semantic roles & 50–950 ramp

primary
#7E993C
secondary
#8B79B8
accent
#54D379
background
#FAFBF7
surface
#F4F6ED
border
#CED0C8
text
#101109
muted
#7F807B

Preview Lab

Preview with #7E993C

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

Preview Lab → · Contrast checker → · Palette generator →

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