#7F962E#7F962E

#7F962E is a light, vivid yellow-green. Relative luminance 0.265; OKLCH L 63.5% C 0.131 H 121.1°. Best body text is #000000 at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#7F962E
RGBrgb(127, 150, 46)
HSLhsl(73, 53%, 38%)
HSVhsv(73, 69%, 59%)
CMYKcmyk(15.3%, 0%, 69.3%, 41.2%)
CIE-LABlab(58.53, -23.10, 49.77)
CIE-LCHlch(58.53, 54.87, 114.90°)
OKLaboklab(63.46% -0.0675 0.1122)
OKLCHoklch(63.46% 0.131 121.1)
XYZxyz(20.1522, 26.5220, 6.6418)
Luminance0.2652 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F962E #452E96
analogous
#96792E #7F962E #4B962E
triadic
#7F962E #2E7F96 #962E7F
tetradic
#7F962E #2E9679 #452E96 #962E4B
square
#7F962E #2E9679 #452E96 #962E4B
split-complementary
#7F962E #2E4B96 #792E96
monochromatic
#303811 #576720 #7F962E #A6C43E #BCD26C

Accessibility & contrast

On white

3.33
#7F962E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.30
#7F962E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7F962E
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F962E#FFFFFF#000000##000000
##7F962E1.003.336.306.30
#FFFFFF3.331.0021.0021.00
#0000006.3021.001.001.00
##0000006.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#9F8D1E
Deuteranopia (green-blind)
#9C8D36
Tritanopia (blue-blind)
#868E81
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #7f962e;
/* rgb */ color: rgb(127, 150, 46);
/* oklch */ color: oklch(63.5% 0.131 121.1);
Tailwind
colors: {
  custom: {
    50: '#a7b46d',
    500: '#7f962e',
    950: '#000000',
  },
}
SCSS
$custom: #7f962e;
$custom-light: #a7b46d;
$custom-dark: #000000;
JSON
{
  "hex": "#7f962e",
  "rgb": {
    "r": 127,
    "g": 150,
    "b": 46
  },
  "hsl": {
    "h": 73.269,
    "s": 53.061,
    "l": 38.431
  },
  "oklch": {
    "l": 0.63459,
    "c": 0.13091,
    "h": 121.1
  },
  "luminance": 0.26522
}

Semantic roles & 50–950 ramp

primary
#7F962E
secondary
#7967B9
accent
#4BDC6B
background
#FAFBF6
surface
#F4F6EC
border
#CED0C7
text
#101107
muted
#7F807A

Preview Lab

Preview with #7F962E

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

Preview Lab → · Contrast checker → · Palette generator →

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