#7E9C2D#7E9C2D

#7E9C2D is a light, vivid yellow-green. Relative luminance 0.284; OKLCH L 64.8% C 0.140 H 123.5°. Best body text is #000000 at 6.68:1 contrast (WCAG AA passes).

Color values

HEX#7E9C2D
RGBrgb(126, 156, 45)
HSLhsl(76, 55%, 39%)
HSVhsv(76, 71%, 61%)
CMYKcmyk(19.2%, 0%, 71.2%, 38.8%)
CIE-LABlab(60.25, -26.55, 51.88)
CIE-LCHlch(60.25, 58.28, 117.10°)
OKLaboklab(64.83% -0.0771 0.1165)
OKLCHoklch(64.83% 0.14 123.5)
XYZxyz(20.9665, 28.4019, 6.8596)
Luminance0.2840 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E9C2D #4B2D9C
analogous
#9C832D #7E9C2D #479C2D
triadic
#7E9C2D #2D7E9C #9C2D7E
tetradic
#7E9C2D #2D9C83 #4B2D9C #9C2D47
square
#7E9C2D #2D9C83 #4B2D9C #9C2D47
split-complementary
#7E9C2D #2D479C #832D9C
monochromatic
#313D12 #586D1F #7E9C2D #A3C83F #B9D56E

Accessibility & contrast

On white

3.14
#7E9C2D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.68
#7E9C2D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E9C2D
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E9C2D#FFFFFF#000000##000000
##7E9C2D1.003.146.686.68
#FFFFFF3.141.0021.0021.00
#0000006.6821.001.001.00
##0000006.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A5921B
Deuteranopia (green-blind)
#A19136
Tritanopia (blue-blind)
#849486
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #7e9c2d;
/* rgb */ color: rgb(126, 156, 45);
/* oklch */ color: oklch(64.8% 0.140 123.5);
Tailwind
colors: {
  custom: {
    50: '#a6b96d',
    500: '#7e9c2d',
    950: '#000000',
  },
}
SCSS
$custom: #7e9c2d;
$custom-light: #a6b96d;
$custom-dark: #000000;
JSON
{
  "hex": "#7e9c2d",
  "rgb": {
    "r": 126,
    "g": 156,
    "b": 45
  },
  "hsl": {
    "h": 76.216,
    "s": 55.224,
    "l": 39.412
  },
  "oklch": {
    "l": 0.64827,
    "c": 0.13967,
    "h": 123.5
  },
  "luminance": 0.28402
}

Semantic roles & 50–950 ramp

primary
#7E9C2D
secondary
#7F68BC
accent
#49DF72
background
#FAFBF6
surface
#F4F6EC
border
#CED0C7
text
#101107
muted
#7F807A

Preview Lab

Preview with #7E9C2D

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

Preview Lab → · Contrast checker → · Palette generator →

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