#7F942E#7F942E

#7F942E is a light, vivid yellow-green. Relative luminance 0.259; OKLCH L 63.0% C 0.128 H 120.3°. Best body text is #000000 at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#7F942E
RGBrgb(127, 148, 46)
HSLhsl(72, 53%, 38%)
HSVhsv(72, 69%, 58%)
CMYKcmyk(14.2%, 0%, 68.9%, 42%)
CIE-LABlab(57.93, -22.09, 49.16)
CIE-LCHlch(57.93, 53.89, 114.20°)
OKLaboklab(62.98% -0.0647 0.1109)
OKLCHoklch(62.98% 0.128 120.3)
XYZxyz(19.8358, 25.8892, 6.5364)
Luminance0.2589 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F942E #432E94
analogous
#94762E #7F942E #4C942E
triadic
#7F942E #2E7F94 #942E7F
tetradic
#7F942E #2E9476 #432E94 #942E4C
square
#7F942E #2E9476 #432E94 #942E4C
split-complementary
#7F942E #2E4C94 #762E94
monochromatic
#2F3711 #57651F #7F942E #A7C33D #BCD16B

Accessibility & contrast

On white

3.40
#7F942E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.18
#7F942E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7F942E
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F942E#FFFFFF#000000##000000
##7F942E1.003.406.186.18
#FFFFFF3.401.0021.0021.00
#0000006.1821.001.001.00
##0000006.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#9D8B1F
Deuteranopia (green-blind)
#9B8B36
Tritanopia (blue-blind)
#868C80
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #7f942e;
/* rgb */ color: rgb(127, 148, 46);
/* oklch */ color: oklch(63.0% 0.128 120.3);
Tailwind
colors: {
  custom: {
    50: '#a7b36d',
    500: '#7f942e',
    950: '#000000',
  },
}
SCSS
$custom: #7f942e;
$custom-light: #a7b36d;
$custom-dark: #000000;
JSON
{
  "hex": "#7f942e",
  "rgb": {
    "r": 127,
    "g": 148,
    "b": 46
  },
  "hsl": {
    "h": 72.353,
    "s": 52.577,
    "l": 38.039
  },
  "oklch": {
    "l": 0.62977,
    "c": 0.12838,
    "h": 120.3
  },
  "luminance": 0.25889
}

Semantic roles & 50–950 ramp

primary
#7F942E
secondary
#7766B8
accent
#4CDC69
background
#FAFBF6
surface
#F4F6EC
border
#CED0C7
text
#101107
muted
#7F807A

Preview Lab

Preview with #7F942E

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

Preview Lab → · Contrast checker → · Palette generator →

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