#7F9422#7F9422

#7F9422 is a light, vivid yellow-green. Relative luminance 0.258; OKLCH L 62.9% C 0.136 H 119.8°. Best body text is #000000 at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#7F9422
RGBrgb(127, 148, 34)
HSLhsl(71, 63%, 36%)
HSVhsv(71, 77%, 58%)
CMYKcmyk(14.2%, 0%, 77%, 42%)
CIE-LABlab(57.85, -22.78, 53.58)
CIE-LCHlch(57.85, 58.22, 113.03°)
OKLaboklab(62.89% -0.0677 0.1181)
OKLCHoklch(62.89% 0.136 119.8)
XYZxyz(19.6314, 25.8074, 5.4602)
Luminance0.2581 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F9422 #372294
analogous
#947022 #7F9422 #469422
triadic
#7F9422 #227F94 #94227F
tetradic
#7F9422 #229470 #372294 #942246
square
#7F9422 #229470 #372294 #942246
split-complementary
#7F9422 #224694 #702294
monochromatic
#2A300B #546217 #7F9422 #AAC62D #C1D958

Accessibility & contrast

On white

3.41
#7F9422 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.16
#7F9422 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7F9422
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F9422#FFFFFF#000000##000000
##7F94221.003.416.166.16
#FFFFFF3.411.0021.0021.00
#0000006.1621.001.001.00
##0000006.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#9E8B06
Deuteranopia (green-blind)
#9B8B2C
Tritanopia (blue-blind)
#878C7F
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #7f9422;
/* rgb */ color: rgb(127, 148, 34);
/* oklch */ color: oklch(62.9% 0.136 119.8);
Tailwind
colors: {
  custom: {
    50: '#a7b367',
    500: '#7f9422',
    950: '#000000',
  },
}
SCSS
$custom: #7f9422;
$custom-light: #a7b367;
$custom-dark: #000000;
JSON
{
  "hex": "#7f9422",
  "rgb": {
    "r": 127,
    "g": 148,
    "b": 34
  },
  "hsl": {
    "h": 71.053,
    "s": 62.637,
    "l": 35.686
  },
  "oklch": {
    "l": 0.6289,
    "c": 0.13618,
    "h": 119.8
  },
  "luminance": 0.25807
}

Semantic roles & 50–950 ramp

primary
#7F9422
secondary
#6855BD
accent
#42E660
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101106
muted
#7F807A

Preview Lab

Preview with #7F9422

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

Preview Lab → · Contrast checker → · Palette generator →

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