#7D9D2F#7D9D2F

#7D9D2F is a light, vivid yellow-green. Relative luminance 0.287; OKLCH L 65.0% C 0.140 H 124.3°. Best body text is #000000 at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#7D9D2F
RGBrgb(125, 157, 47)
HSLhsl(77, 54%, 40%)
HSVhsv(77, 70%, 62%)
CMYKcmyk(20.4%, 0%, 70.1%, 38.4%)
CIE-LABlab(60.50, -27.33, 51.33)
CIE-LCHlch(60.50, 58.15, 118.03°)
OKLaboklab(65.01% -0.079 0.1156)
OKLCHoklch(65.01% 0.14 124.3)
XYZxyz(21.0277, 28.6790, 7.1166)
Luminance0.2868 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D9D2F #4F2F9D
analogous
#9D862F #7D9D2F #469D2F
triadic
#7D9D2F #2F7D9D #9D2F7D
tetradic
#7D9D2F #2F9D86 #4F2F9D #9D2F46
square
#7D9D2F #2F9D86 #4F2F9D #9D2F46
split-complementary
#7D9D2F #2F469D #862F9D
monochromatic
#323F13 #576E21 #7D9D2F #A0C743 #B8D572

Accessibility & contrast

On white

3.12
#7D9D2F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.74
#7D9D2F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D9D2F
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D9D2F#FFFFFF#000000##000000
##7D9D2F1.003.126.746.74
#FFFFFF3.121.0021.0021.00
#0000006.7421.001.001.00
##0000006.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#A6931E
Deuteranopia (green-blind)
#A29238
Tritanopia (blue-blind)
#839587
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #7d9d2f;
/* rgb */ color: rgb(125, 157, 47);
/* oklch */ color: oklch(65.0% 0.140 124.3);
Tailwind
colors: {
  custom: {
    50: '#a6ba6e',
    500: '#7d9d2f',
    950: '#000000',
  },
}
SCSS
$custom: #7d9d2f;
$custom-light: #a6ba6e;
$custom-dark: #000000;
JSON
{
  "hex": "#7d9d2f",
  "rgb": {
    "r": 125,
    "g": 157,
    "b": 47
  },
  "hsl": {
    "h": 77.455,
    "s": 53.922,
    "l": 40
  },
  "oklch": {
    "l": 0.65014,
    "c": 0.14003,
    "h": 124.3
  },
  "luminance": 0.28679
}

Semantic roles & 50–950 ramp

primary
#7D9D2F
secondary
#836BBC
accent
#4BDD75
background
#FAFBF6
surface
#F4F6EC
border
#CED0C7
text
#101108
muted
#7F807B

Preview Lab

Preview with #7D9D2F

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

Preview Lab → · Contrast checker → · Palette generator →

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