#7D9A2D#7D9A2D

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

Color values

HEX#7D9A2D
RGBrgb(125, 154, 45)
HSLhsl(76, 55%, 39%)
HSVhsv(76, 71%, 60%)
CMYKcmyk(18.8%, 0%, 70.8%, 39.6%)
CIE-LABlab(59.58, -25.99, 51.19)
CIE-LCHlch(59.58, 57.41, 116.92°)
OKLaboklab(64.27% -0.0755 0.115)
OKLCHoklch(64.27% 0.138 123.3)
XYZxyz(20.4869, 27.6605, 6.7418)
Luminance0.2766 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D9A2D #4A2D9A
analogous
#9A812D #7D9A2D #479A2D
triadic
#7D9A2D #2D7D9A #9A2D7D
tetradic
#7D9A2D #2D9A81 #4A2D9A #9A2D47
square
#7D9A2D #2D9A81 #4A2D9A #9A2D47
split-complementary
#7D9A2D #2D479A #812D9A
monochromatic
#303B11 #576B1F #7D9A2D #A2C73E #B9D46D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7D9A2D#FFFFFF#000000##000000
##7D9A2D1.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)
#A3901B
Deuteranopia (green-blind)
#9F8F36
Tritanopia (blue-blind)
#839284
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #7d9a2d;
/* rgb */ color: rgb(125, 154, 45);
/* oklch */ color: oklch(64.3% 0.138 123.3);
Tailwind
colors: {
  custom: {
    50: '#a6b76d',
    500: '#7d9a2d',
    950: '#000000',
  },
}
SCSS
$custom: #7d9a2d;
$custom-light: #a6b76d;
$custom-dark: #000000;
JSON
{
  "hex": "#7d9a2d",
  "rgb": {
    "r": 125,
    "g": 154,
    "b": 45
  },
  "hsl": {
    "h": 75.963,
    "s": 54.774,
    "l": 39.02
  },
  "oklch": {
    "l": 0.64269,
    "c": 0.13758,
    "h": 123.3
  },
  "luminance": 0.27661
}

Semantic roles & 50–950 ramp

primary
#7D9A2D
secondary
#7E67BB
accent
#4ADE71
background
#FAFBF6
surface
#F4F6EC
border
#CED0C7
text
#101107
muted
#7F807A

Preview Lab

Preview with #7D9A2D

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

Preview Lab → · Contrast checker → · Palette generator →

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