#4D7D22#4D7D22

#4D7D22 is a mid, vivid yellow-green. Relative luminance 0.164; OKLCH L 53.6% C 0.132 H 133.3°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#4D7D22
RGBrgb(77, 125, 34)
HSLhsl(92, 57%, 31%)
HSVhsv(92, 73%, 49%)
CMYKcmyk(38.4%, 0%, 72.8%, 51%)
CIE-LABlab(47.44, -32.17, 42.31)
CIE-LCHlch(47.44, 53.15, 127.25°)
OKLaboklab(53.61% -0.0902 0.0957)
OKLCHoklch(53.61% 0.132 133.3)
XYZxyz(10.6827, 16.3600, 4.1080)
Luminance0.1636 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D7D22 #52227D
analogous
#7A7D22 #4D7D22 #227D24
triadic
#4D7D22 #224D7D #7D224D
tetradic
#4D7D22 #227A7D #52227D #7D2422
square
#4D7D22 #227A7D #52227D #7D2422
split-complementary
#4D7D22 #24227D #7D227A
monochromatic
#121D08 #2F4D15 #4D7D22 #6BAD2F #89CE4B

Accessibility & contrast

On white

4.92
#4D7D22 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#4D7D22 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D7D22
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D7D22#FFFFFF#000000##FFFFFF
##4D7D221.004.924.274.92
#FFFFFF4.921.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827313
Deuteranopia (green-blind)
#7C6F2A
Tritanopia (blue-blind)
#4D786B
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #4d7d22;
/* rgb */ color: rgb(77, 125, 34);
/* oklch */ color: oklch(53.6% 0.132 133.3);
Tailwind
colors: {
  custom: {
    50: '#83a363',
    500: '#4d7d22',
    950: '#000000',
  },
}
SCSS
$custom: #4d7d22;
$custom-light: #83a363;
$custom-dark: #000000;
JSON
{
  "hex": "#4d7d22",
  "rgb": {
    "r": 77,
    "g": 125,
    "b": 34
  },
  "hsl": {
    "h": 91.648,
    "s": 57.233,
    "l": 31.176
  },
  "oklch": {
    "l": 0.5361,
    "c": 0.13153,
    "h": 133.3
  },
  "luminance": 0.16361
}

Semantic roles & 50–950 ramp

primary
#4D7D22
secondary
#804BB0
accent
#47E098
background
#F8FAF6
surface
#EFF3EB
border
#CACDC6
text
#0B0F05
muted
#7C7F7A

Preview Lab

Preview with #4D7D22

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

Preview Lab → · Contrast checker → · Palette generator →

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