#7E942E#7E942E

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

Color values

HEX#7E942E
RGBrgb(126, 148, 46)
HSLhsl(73, 53%, 38%)
HSVhsv(73, 69%, 58%)
CMYKcmyk(14.9%, 0%, 68.9%, 42%)
CIE-LABlab(57.86, -22.52, 49.06)
CIE-LCHlch(57.86, 53.98, 114.66°)
OKLaboklab(62.9% -0.0659 0.1107)
OKLCHoklch(62.9% 0.129 120.8)
XYZxyz(19.6875, 25.8127, 6.5294)
Luminance0.2581 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E942E #442E94
analogous
#94772E #7E942E #4B942E
triadic
#7E942E #2E7E94 #942E7E
tetradic
#7E942E #2E9477 #442E94 #942E4B
square
#7E942E #2E9477 #442E94 #942E4B
split-complementary
#7E942E #2E4B94 #772E94
monochromatic
#2F3711 #56651F #7E942E #A6C33D #BBD16B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7E942E#FFFFFF#000000##000000
##7E942E1.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)
#9D8B1F
Deuteranopia (green-blind)
#9A8B36
Tritanopia (blue-blind)
#858C7F
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #7e942e;
/* rgb */ color: rgb(126, 148, 46);
/* oklch */ color: oklch(62.9% 0.129 120.8);
Tailwind
colors: {
  custom: {
    50: '#a6b36d',
    500: '#7e942e',
    950: '#000000',
  },
}
SCSS
$custom: #7e942e;
$custom-light: #a6b36d;
$custom-dark: #000000;
JSON
{
  "hex": "#7e942e",
  "rgb": {
    "r": 126,
    "g": 148,
    "b": 46
  },
  "hsl": {
    "h": 72.941,
    "s": 52.577,
    "l": 38.039
  },
  "oklch": {
    "l": 0.629,
    "c": 0.12879,
    "h": 120.8
  },
  "luminance": 0.25813
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7E942E

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

Preview Lab → · Contrast checker → · Palette generator →

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