#7D9A2E#7D9A2E

#7D9A2E is a light, vivid yellow-green. Relative luminance 0.277; OKLCH L 64.3% C 0.137 H 123.3°. Best body text is #000000 at 6.53:1 contrast (WCAG AA passes).

Color values

HEX#7D9A2E
RGBrgb(125, 154, 46)
HSLhsl(76, 54%, 39%)
HSVhsv(76, 70%, 60%)
CMYKcmyk(18.8%, 0%, 70.1%, 39.6%)
CIE-LABlab(59.59, -25.93, 50.80)
CIE-LCHlch(59.59, 57.03, 117.04°)
OKLaboklab(64.28% -0.0752 0.1144)
OKLCHoklch(64.28% 0.137 123.3)
XYZxyz(20.5064, 27.6683, 6.8444)
Luminance0.2767 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D9A2E #4B2E9A
analogous
#9A812E #7D9A2E #479A2E
triadic
#7D9A2E #2E7D9A #9A2E7D
tetradic
#7D9A2E #2E9A81 #4B2E9A #9A2E47
square
#7D9A2E #2E9A81 #4B2E9A #9A2E47
split-complementary
#7D9A2E #2E479A #812E9A
monochromatic
#313C12 #576B20 #7D9A2E #A2C63F #B9D46F

Accessibility & contrast

On white

3.21
#7D9A2E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.53
#7D9A2E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D9A2E
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D9A2E#FFFFFF#000000##000000
##7D9A2E1.003.216.536.53
#FFFFFF3.211.0021.0021.00
#0000006.5321.001.001.00
##0000006.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#A3901D
Deuteranopia (green-blind)
#9F8F37
Tritanopia (blue-blind)
#839285
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #7d9a2e;
/* rgb */ color: rgb(125, 154, 46);
/* oklch */ color: oklch(64.3% 0.137 123.3);
Tailwind
colors: {
  custom: {
    50: '#a6b76d',
    500: '#7d9a2e',
    950: '#000000',
  },
}
SCSS
$custom: #7d9a2e;
$custom-light: #a6b76d;
$custom-dark: #000000;
JSON
{
  "hex": "#7d9a2e",
  "rgb": {
    "r": 125,
    "g": 154,
    "b": 46
  },
  "hsl": {
    "h": 76.111,
    "s": 54,
    "l": 39.216
  },
  "oklch": {
    "l": 0.64277,
    "c": 0.13688,
    "h": 123.3
  },
  "luminance": 0.27668
}

Semantic roles & 50–950 ramp

primary
#7D9A2E
secondary
#7F69BB
accent
#4ADD72
background
#FAFBF6
surface
#F4F6EC
border
#CED0C7
text
#101107
muted
#7F807A

Preview Lab

Preview with #7D9A2E

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

Preview Lab → · Contrast checker → · Palette generator →

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