#7D9C2C#7D9C2C

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

Color values

HEX#7D9C2C
RGBrgb(125, 156, 44)
HSLhsl(77, 56%, 39%)
HSVhsv(77, 72%, 61%)
CMYKcmyk(19.9%, 0%, 71.8%, 38.8%)
CIE-LABlab(60.18, -27.03, 52.17)
CIE-LCHlch(60.18, 58.76, 117.39°)
OKLaboklab(64.75% -0.0784 0.1169)
OKLCHoklch(64.75% 0.141 123.9)
XYZxyz(20.8007, 28.3186, 6.7526)
Luminance0.2832 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D9C2C #4B2C9C
analogous
#9C832C #7D9C2C #459C2C
triadic
#7D9C2C #2C7D9C #9C2C7D
tetradic
#7D9C2C #2C9C83 #4B2C9C #9C2C45
square
#7D9C2C #2C9C83 #4B2C9C #9C2C45
split-complementary
#7D9C2C #2C459C #832C9C
monochromatic
#313D11 #576C1F #7D9C2C #A2C83D #B9D66D

Accessibility & contrast

On white

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

On black

6.66
#7D9C2C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D9C2C
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D9C2C#FFFFFF#000000##000000
##7D9C2C1.003.156.666.66
#FFFFFF3.151.0021.0021.00
#0000006.6621.001.001.00
##0000006.6621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7d9c2c;
/* rgb */ color: rgb(125, 156, 44);
/* oklch */ color: oklch(64.7% 0.141 123.9);
Tailwind
colors: {
  custom: {
    50: '#a6b96d',
    500: '#7d9c2c',
    950: '#000000',
  },
}
SCSS
$custom: #7d9c2c;
$custom-light: #a6b96d;
$custom-dark: #000000;
JSON
{
  "hex": "#7d9c2c",
  "rgb": {
    "r": 125,
    "g": 156,
    "b": 44
  },
  "hsl": {
    "h": 76.607,
    "s": 56,
    "l": 39.216
  },
  "oklch": {
    "l": 0.64747,
    "c": 0.14079,
    "h": 123.9
  },
  "luminance": 0.28319
}

Semantic roles & 50–950 ramp

primary
#7D9C2C
secondary
#7F67BD
accent
#49DF72
background
#FAFBF6
surface
#F4F6EC
border
#CED0C7
text
#101107
muted
#7F807A

Preview Lab

Preview with #7D9C2C

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

Preview Lab → · Contrast checker → · Palette generator →

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