#7E952D#7E952D

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

Color values

HEX#7E952D
RGBrgb(126, 149, 45)
HSLhsl(73, 54%, 38%)
HSVhsv(73, 70%, 58%)
CMYKcmyk(15.4%, 0%, 69.8%, 41.6%)
CIE-LABlab(58.15, -23.09, 49.76)
CIE-LCHlch(58.15, 54.86, 114.89°)
OKLaboklab(63.13% -0.0675 0.112)
OKLCHoklch(63.13% 0.131 121.1)
XYZxyz(19.8256, 26.1200, 6.4793)
Luminance0.2612 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E952D #442D95
analogous
#95782D #7E952D #4A952D
triadic
#7E952D #2D7E95 #952D7E
tetradic
#7E952D #2D9578 #442D95 #952D4A
square
#7E952D #2D9578 #442D95 #952D4A
split-complementary
#7E952D #2D4A95 #782D95
monochromatic
#2F3711 #56661F #7E952D #A6C43B #BBD26A

Accessibility & contrast

On white

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

On black

6.22
#7E952D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E952D
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E952D#FFFFFF#000000##000000
##7E952D1.003.376.226.22
#FFFFFF3.371.0021.0021.00
#0000006.2221.001.001.00
##0000006.2221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7e952d;
/* rgb */ color: rgb(126, 149, 45);
/* oklch */ color: oklch(63.1% 0.131 121.1);
Tailwind
colors: {
  custom: {
    50: '#a6b46c',
    500: '#7e952d',
    950: '#000000',
  },
}
SCSS
$custom: #7e952d;
$custom-light: #a6b46c;
$custom-dark: #000000;
JSON
{
  "hex": "#7e952d",
  "rgb": {
    "r": 126,
    "g": 149,
    "b": 45
  },
  "hsl": {
    "h": 73.269,
    "s": 53.608,
    "l": 38.039
  },
  "oklch": {
    "l": 0.63133,
    "c": 0.13078,
    "h": 121.1
  },
  "luminance": 0.2612
}

Semantic roles & 50–950 ramp

primary
#7E952D
secondary
#7765B9
accent
#4BDD6B
background
#FAFBF6
surface
#F4F6EC
border
#CED0C7
text
#101107
muted
#7F807A

Preview Lab

Preview with #7E952D

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

Preview Lab → · Contrast checker → · Palette generator →

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