#7E952E#7E952E

#7E952E is a light, vivid yellow-green. Relative luminance 0.261; OKLCH L 63.1% C 0.130 H 121.1°. Best body text is #000000 at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#7E952E
RGBrgb(126, 149, 46)
HSLhsl(73, 53%, 38%)
HSVhsv(73, 69%, 58%)
CMYKcmyk(15.4%, 0%, 69.1%, 41.6%)
CIE-LABlab(58.16, -23.02, 49.37)
CIE-LCHlch(58.16, 54.47, 115.00°)
OKLaboklab(63.14% -0.0673 0.1113)
OKLCHoklch(63.14% 0.13 121.1)
XYZxyz(19.8451, 26.1278, 6.5819)
Luminance0.2613 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E952E #452E95
analogous
#95782E #7E952E #4A952E
triadic
#7E952E #2E7E95 #952E7E
tetradic
#7E952E #2E9578 #452E95 #952E4A
square
#7E952E #2E9578 #452E95 #952E4A
split-complementary
#7E952E #2E4A95 #782E95
monochromatic
#2F3711 #566620 #7E952E #A5C33D #BBD26C

Accessibility & contrast

On white

3.37
#7E952E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.23
#7E952E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E952E
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E952E#FFFFFF#000000##000000
##7E952E1.003.376.236.23
#FFFFFF3.371.0021.0021.00
#0000006.2321.001.001.00
##0000006.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#9E8C1F
Deuteranopia (green-blind)
#9B8C36
Tritanopia (blue-blind)
#858D80
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #7e952e;
/* rgb */ color: rgb(126, 149, 46);
/* oklch */ color: oklch(63.1% 0.130 121.1);
Tailwind
colors: {
  custom: {
    50: '#a6b46d',
    500: '#7e952e',
    950: '#000000',
  },
}
SCSS
$custom: #7e952e;
$custom-light: #a6b46d;
$custom-dark: #000000;
JSON
{
  "hex": "#7e952e",
  "rgb": {
    "r": 126,
    "g": 149,
    "b": 46
  },
  "hsl": {
    "h": 73.398,
    "s": 52.821,
    "l": 38.235
  },
  "oklch": {
    "l": 0.63142,
    "c": 0.13007,
    "h": 121.1
  },
  "luminance": 0.26128
}

Semantic roles & 50–950 ramp

primary
#7E952E
secondary
#7966B9
accent
#4CDC6C
background
#FAFBF6
surface
#F4F6EC
border
#CED0C7
text
#101107
muted
#7F807A

Preview Lab

Preview with #7E952E

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

Preview Lab → · Contrast checker → · Palette generator →

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