#7E952F#7E952F

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

Color values

HEX#7E952F
RGBrgb(126, 149, 47)
HSLhsl(74, 52%, 38%)
HSVhsv(74, 68%, 58%)
CMYKcmyk(15.4%, 0%, 68.5%, 41.6%)
CIE-LABlab(58.17, -22.96, 48.96)
CIE-LCHlch(58.17, 54.08, 115.12°)
OKLaboklab(63.15% -0.067 0.1106)
OKLCHoklch(63.15% 0.129 121.2)
XYZxyz(19.8650, 26.1358, 6.6870)
Luminance0.2614 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E952F #462F95
analogous
#95792F #7E952F #4B952F
triadic
#7E952F #2F7E95 #952F7E
tetradic
#7E952F #2F9579 #462F95 #952F4B
square
#7E952F #2F9579 #462F95 #952F4B
split-complementary
#7E952F #2F4B95 #792F95
monochromatic
#2F3812 #576620 #7E952F #A5C23F #BBD16D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7E952F#FFFFFF#000000##000000
##7E952F1.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)
#9E8C20
Deuteranopia (green-blind)
#9B8C37
Tritanopia (blue-blind)
#858D80
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #7e952f;
/* rgb */ color: rgb(126, 149, 47);
/* oklch */ color: oklch(63.1% 0.129 121.2);
Tailwind
colors: {
  custom: {
    50: '#a6b46d',
    500: '#7e952f',
    950: '#000000',
  },
}
SCSS
$custom: #7e952f;
$custom-light: #a6b46d;
$custom-dark: #000000;
JSON
{
  "hex": "#7e952f",
  "rgb": {
    "r": 126,
    "g": 149,
    "b": 47
  },
  "hsl": {
    "h": 73.529,
    "s": 52.041,
    "l": 38.431
  },
  "oklch": {
    "l": 0.6315,
    "c": 0.12933,
    "h": 121.2
  },
  "luminance": 0.26136
}

Semantic roles & 50–950 ramp

primary
#7E952F
secondary
#7A67B8
accent
#4CDB6D
background
#FAFBF6
surface
#F4F6EC
border
#CED0C7
text
#101107
muted
#7F807A

Preview Lab

Preview with #7E952F

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

Preview Lab → · Contrast checker → · Palette generator →

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