#7F993D#7F993D

#7F993D is a light, vivid yellow-green. Relative luminance 0.276; OKLCH L 64.3% C 0.123 H 123.1°. Best body text is #000000 at 6.53:1 contrast (WCAG AA passes).

Color values

HEX#7F993D
RGBrgb(127, 153, 61)
HSLhsl(77, 43%, 42%)
HSVhsv(77, 60%, 60%)
CMYKcmyk(17%, 0%, 60.1%, 40%)
CIE-LABlab(59.55, -23.46, 44.32)
CIE-LCHlch(59.55, 50.14, 117.90°)
OKLaboklab(64.33% -0.0671 0.1027)
OKLCHoklch(64.33% 0.123 123.1)
XYZxyz(20.9861, 27.6313, 8.6417)
Luminance0.2763 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F993D #573D99
analogous
#99853D #7F993D #51993D
triadic
#7F993D #3D7F99 #993D7F
tetradic
#7F993D #3D9985 #573D99 #993D51
square
#7F993D #3D9985 #573D99 #993D51
split-complementary
#7F993D #3D5199 #853D99
monochromatic
#36411A #5B6D2C #7F993D #A0BC57 #B8CE83

Accessibility & contrast

On white

3.22
#7F993D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.53
#7F993D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7F993D
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F993D#FFFFFF#000000##000000
##7F993D1.003.226.536.53
#FFFFFF3.221.0021.0021.00
#0000006.5321.001.001.00
##0000006.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#A19033
Deuteranopia (green-blind)
#9E8F43
Tritanopia (blue-blind)
#859285
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #7f993d;
/* rgb */ color: rgb(127, 153, 61);
/* oklch */ color: oklch(64.3% 0.123 123.1);
Tailwind
colors: {
  custom: {
    50: '#a6b776',
    500: '#7f993d',
    950: '#000000',
  },
}
SCSS
$custom: #7f993d;
$custom-light: #a6b776;
$custom-dark: #000000;
JSON
{
  "hex": "#7f993d",
  "rgb": {
    "r": 127,
    "g": 153,
    "b": 61
  },
  "hsl": {
    "h": 76.957,
    "s": 42.991,
    "l": 41.961
  },
  "oklch": {
    "l": 0.64326,
    "c": 0.12266,
    "h": 123.1
  },
  "luminance": 0.27631
}

Semantic roles & 50–950 ramp

primary
#7F993D
secondary
#8C7AB8
accent
#55D379
background
#FAFBF7
surface
#F4F6ED
border
#CED0C8
text
#101109
muted
#7F807B

Preview Lab

Preview with #7F993D

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

Preview Lab → · Contrast checker → · Palette generator →

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