#4D7E22#4D7E22

#4D7E22 is a mid, vivid yellow-green. Relative luminance 0.166; OKLCH L 53.9% C 0.133 H 133.5°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#4D7E22
RGBrgb(77, 126, 34)
HSLhsl(92, 58%, 31%)
HSVhsv(92, 73%, 49%)
CMYKcmyk(38.9%, 0%, 73%, 50.6%)
CIE-LABlab(47.77, -32.62, 42.64)
CIE-LCHlch(47.77, 53.69, 127.42°)
OKLaboklab(53.88% -0.0915 0.0964)
OKLCHoklch(53.88% 0.133 133.5)
XYZxyz(10.8100, 16.6145, 4.1504)
Luminance0.1661 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D7E22 #53227E
analogous
#7B7E22 #4D7E22 #227E25
triadic
#4D7E22 #224D7E #7E224D
tetradic
#4D7E22 #227B7E #53227E #7E2522
square
#4D7E22 #227B7E #53227E #7E2522
split-complementary
#4D7E22 #25227E #7E227B
monochromatic
#121E08 #304E15 #4D7E22 #6AAE2F #89CF4C

Accessibility & contrast

On white

4.86
#4D7E22 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#4D7E22 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D7E22
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D7E22#FFFFFF#000000##FFFFFF
##4D7E221.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837413
Deuteranopia (green-blind)
#7C702A
Tritanopia (blue-blind)
#4D796C
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #4d7e22;
/* rgb */ color: rgb(77, 126, 34);
/* oklch */ color: oklch(53.9% 0.133 133.5);
Tailwind
colors: {
  custom: {
    50: '#83a463',
    500: '#4d7e22',
    950: '#000000',
  },
}
SCSS
$custom: #4d7e22;
$custom-light: #83a463;
$custom-dark: #000000;
JSON
{
  "hex": "#4d7e22",
  "rgb": {
    "r": 77,
    "g": 126,
    "b": 34
  },
  "hsl": {
    "h": 91.957,
    "s": 57.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.53877,
    "c": 0.13289,
    "h": 133.5
  },
  "luminance": 0.16615
}

Semantic roles & 50–950 ramp

primary
#4D7E22
secondary
#814BB1
accent
#47E199
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B0F06
muted
#7C7F7A

Preview Lab

Preview with #4D7E22

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

Preview Lab → · Contrast checker → · Palette generator →

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