#7F9945#7F9945

#7F9945 is a light, moderate yellow-green. Relative luminance 0.277; OKLCH L 64.4% C 0.115 H 123.9°. Best body text is #000000 at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#7F9945
RGBrgb(127, 153, 69)
HSLhsl(79, 38%, 44%)
HSVhsv(79, 55%, 60%)
CMYKcmyk(17%, 0%, 54.9%, 40%)
CIE-LABlab(59.64, -22.72, 40.59)
CIE-LCHlch(59.64, 46.52, 119.23°)
OKLaboklab(64.42% -0.0642 0.0956)
OKLCHoklch(64.42% 0.115 123.9)
XYZxyz(21.2179, 27.7240, 9.8625)
Luminance0.2772 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F9945 #5F4599
analogous
#998945 #7F9945 #559945
triadic
#7F9945 #457F99 #99457F
tetradic
#7F9945 #459989 #5F4599 #994555
square
#7F9945 #459989 #5F4599 #994555
split-complementary
#7F9945 #455599 #894599
monochromatic
#39451F #5C6F32 #7F9945 #9EB963 #B8CC8D

Accessibility & contrast

On white

3.21
#7F9945 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.54
#7F9945 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7F9945
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F9945#FFFFFF#000000##000000
##7F99451.003.216.546.54
#FFFFFF3.211.0021.0021.00
#0000006.5421.001.001.00
##0000006.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#A1903D
Deuteranopia (green-blind)
#9D8F4A
Tritanopia (blue-blind)
#849286
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #7f9945;
/* rgb */ color: rgb(127, 153, 69);
/* oklch */ color: oklch(64.4% 0.115 123.9);
Tailwind
colors: {
  custom: {
    50: '#a6b77b',
    500: '#7f9945',
    950: '#000000',
  },
}
SCSS
$custom: #7f9945;
$custom-light: #a6b77b;
$custom-dark: #000000;
JSON
{
  "hex": "#7f9945",
  "rgb": {
    "r": 127,
    "g": 153,
    "b": 69
  },
  "hsl": {
    "h": 78.571,
    "s": 37.838,
    "l": 43.529
  },
  "oklch": {
    "l": 0.64421,
    "c": 0.11514,
    "h": 123.9
  },
  "luminance": 0.27724
}

Semantic roles & 50–950 ramp

primary
#7F9945
secondary
#9383B7
accent
#5ACE7E
background
#FAFBF7
surface
#F4F6EE
border
#CED0C9
text
#101109
muted
#7F807B

Preview Lab

Preview with #7F9945

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

Preview Lab → · Contrast checker → · Palette generator →

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