#7D9C2E#7D9C2E

#7D9C2E is a light, vivid yellow-green. Relative luminance 0.283; OKLCH L 64.8% C 0.139 H 124.0°. Best body text is #000000 at 6.67:1 contrast (WCAG AA passes).

Color values

HEX#7D9C2E
RGBrgb(125, 156, 46)
HSLhsl(77, 54%, 40%)
HSVhsv(77, 71%, 61%)
CMYKcmyk(19.9%, 0%, 70.5%, 38.8%)
CIE-LABlab(60.19, -26.90, 51.41)
CIE-LCHlch(60.19, 58.03, 117.62°)
OKLaboklab(64.76% -0.0779 0.1156)
OKLCHoklch(64.76% 0.139 124)
XYZxyz(20.8392, 28.3340, 6.9554)
Luminance0.2833 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D9C2E #4D2E9C
analogous
#9C842E #7D9C2E #469C2E
triadic
#7D9C2E #2E7D9C #9C2E7D
tetradic
#7D9C2E #2E9C84 #4D2E9C #9C2E46
square
#7D9C2E #2E9C84 #4D2E9C #9C2E46
split-complementary
#7D9C2E #2E469C #842E9C
monochromatic
#313D12 #576D20 #7D9C2E #A1C740 #B8D570

Accessibility & contrast

On white

3.15
#7D9C2E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.67
#7D9C2E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D9C2E
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D9C2E#FFFFFF#000000##000000
##7D9C2E1.003.156.676.67
#FFFFFF3.151.0021.0021.00
#0000006.6721.001.001.00
##0000006.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A5921D
Deuteranopia (green-blind)
#A19137
Tritanopia (blue-blind)
#839486
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #7d9c2e;
/* rgb */ color: rgb(125, 156, 46);
/* oklch */ color: oklch(64.8% 0.139 124.0);
Tailwind
colors: {
  custom: {
    50: '#a6b96e',
    500: '#7d9c2e',
    950: '#000000',
  },
}
SCSS
$custom: #7d9c2e;
$custom-light: #a6b96e;
$custom-dark: #000000;
JSON
{
  "hex": "#7d9c2e",
  "rgb": {
    "r": 125,
    "g": 156,
    "b": 46
  },
  "hsl": {
    "h": 76.909,
    "s": 54.455,
    "l": 39.608
  },
  "oklch": {
    "l": 0.64763,
    "c": 0.13944,
    "h": 124
  },
  "luminance": 0.28334
}

Semantic roles & 50–950 ramp

primary
#7D9C2E
secondary
#816ABC
accent
#4ADE74
background
#FAFBF6
surface
#F4F6EC
border
#CED0C7
text
#101107
muted
#7F807A

Preview Lab

Preview with #7D9C2E

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

Preview Lab → · Contrast checker → · Palette generator →

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