#4D7922#4D7922

#4D7922 is a mid, vivid yellow-green. Relative luminance 0.154; OKLCH L 52.5% C 0.126 H 132.5°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#4D7922
RGBrgb(77, 121, 34)
HSLhsl(90, 56%, 30%)
HSVhsv(90, 72%, 47%)
CMYKcmyk(36.4%, 0%, 71.9%, 52.5%)
CIE-LABlab(46.13, -30.32, 40.96)
CIE-LCHlch(46.13, 50.96, 126.51°)
OKLaboklab(52.54% -0.0852 0.0929)
OKLCHoklch(52.54% 0.126 132.5)
XYZxyz(10.1865, 15.3676, 3.9426)
Luminance0.1537 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D7922 #4E2279
analogous
#787922 #4D7922 #227923
triadic
#4D7922 #224D79 #79224D
tetradic
#4D7922 #227879 #4E2279 #792322
square
#4D7922 #227879 #4E2279 #792322
split-complementary
#4D7922 #232279 #792278
monochromatic
#101907 #2F4915 #4D7922 #6BA92F #8ACC49

Accessibility & contrast

On white

5.16
#4D7922 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#4D7922 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D7922
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D7922#FFFFFF#000000##FFFFFF
##4D79221.005.164.075.16
#FFFFFF5.161.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E6F15
Deuteranopia (green-blind)
#786C2A
Tritanopia (blue-blind)
#4E7468
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #4d7922;
/* rgb */ color: rgb(77, 121, 34);
/* oklch */ color: oklch(52.5% 0.126 132.5);
Tailwind
colors: {
  custom: {
    50: '#83a063',
    500: '#4d7922',
    950: '#000000',
  },
}
SCSS
$custom: #4d7922;
$custom-light: #83a063;
$custom-dark: #000000;
JSON
{
  "hex": "#4d7922",
  "rgb": {
    "r": 77,
    "g": 121,
    "b": 34
  },
  "hsl": {
    "h": 90.345,
    "s": 56.129,
    "l": 30.392
  },
  "oklch": {
    "l": 0.52541,
    "c": 0.12604,
    "h": 132.5
  },
  "luminance": 0.15368
}

Semantic roles & 50–950 ramp

primary
#4D7922
secondary
#7C4BAC
accent
#48DF95
background
#F8F9F6
surface
#EFF2EB
border
#CACCC6
text
#0B0E05
muted
#7C7E7A

Preview Lab

Preview with #4D7922

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

Preview Lab → · Contrast checker → · Palette generator →

#4D7922 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva