#7D9C2D#7D9C2D

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

Color values

HEX#7D9C2D
RGBrgb(125, 156, 45)
HSLhsl(77, 55%, 39%)
HSVhsv(77, 71%, 61%)
CMYKcmyk(19.9%, 0%, 71.2%, 38.8%)
CIE-LABlab(60.18, -26.97, 51.79)
CIE-LCHlch(60.18, 58.39, 117.50°)
OKLaboklab(64.76% -0.0782 0.1163)
OKLCHoklch(64.76% 0.14 123.9)
XYZxyz(20.8198, 28.3262, 6.8528)
Luminance0.2833 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D9C2D #4C2D9C
analogous
#9C842D #7D9C2D #459C2D
triadic
#7D9C2D #2D7D9C #9C2D7D
tetradic
#7D9C2D #2D9C84 #4C2D9C #9C2D45
square
#7D9C2D #2D9C84 #4C2D9C #9C2D45
split-complementary
#7D9C2D #2D459C #842D9C
monochromatic
#313D12 #576D1F #7D9C2D #A1C83F #B8D56E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7D9C2D#FFFFFF#000000##000000
##7D9C2D1.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)
#A5921B
Deuteranopia (green-blind)
#A19136
Tritanopia (blue-blind)
#839486
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #7d9c2d;
/* rgb */ color: rgb(125, 156, 45);
/* oklch */ color: oklch(64.8% 0.140 123.9);
Tailwind
colors: {
  custom: {
    50: '#a6b96d',
    500: '#7d9c2d',
    950: '#000000',
  },
}
SCSS
$custom: #7d9c2d;
$custom-light: #a6b96d;
$custom-dark: #000000;
JSON
{
  "hex": "#7d9c2d",
  "rgb": {
    "r": 125,
    "g": 156,
    "b": 45
  },
  "hsl": {
    "h": 76.757,
    "s": 55.224,
    "l": 39.412
  },
  "oklch": {
    "l": 0.64755,
    "c": 0.14013,
    "h": 123.9
  },
  "luminance": 0.28326
}

Semantic roles & 50–950 ramp

primary
#7D9C2D
secondary
#8068BC
accent
#49DF73
background
#FAFBF6
surface
#F4F6EC
border
#CED0C7
text
#101107
muted
#7F807A

Preview Lab

Preview with #7D9C2D

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

Preview Lab → · Contrast checker → · Palette generator →

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