#4D5D22#4D5D22

#4D5D22 is a mid, moderate yellow-green. Relative luminance 0.095; OKLCH L 45.1% C 0.086 H 122.6°. Best body text is #FFFFFF at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#4D5D22
RGBrgb(77, 93, 34)
HSLhsl(76, 46%, 25%)
HSVhsv(76, 63%, 36%)
CMYKcmyk(17.2%, 0%, 63.4%, 63.5%)
CIE-LABlab(36.97, -16.14, 31.14)
CIE-LCHlch(36.97, 35.07, 117.40°)
OKLaboklab(45.11% -0.0462 0.0721)
OKLCHoklch(45.11% 0.086 122.6)
XYZxyz(7.2637, 9.5220, 2.9683)
Luminance0.0952 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D5D22 #32225D
analogous
#5D5022 #4D5D22 #305D22
triadic
#4D5D22 #224D5D #5D224D
tetradic
#4D5D22 #225D50 #32225D #5D2230
square
#4D5D22 #225D50 #32225D #5D2230
split-complementary
#4D5D22 #22305D #50225D
monochromatic
#131608 #283012 #4D5D22 #728A32 #97B743

Accessibility & contrast

On white

7.23
#4D5D22 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#4D5D22 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D5D22
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D5D22#FFFFFF#000000##FFFFFF
##4D5D221.007.232.907.23
#FFFFFF7.231.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#62571B
Deuteranopia (green-blind)
#605726
Tritanopia (blue-blind)
#515850
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #4d5d22;
/* rgb */ color: rgb(77, 93, 34);
/* oklch */ color: oklch(45.1% 0.086 122.6);
Tailwind
colors: {
  custom: {
    50: '#808b60',
    500: '#4d5d22',
    950: '#000000',
  },
}
SCSS
$custom: #4d5d22;
$custom-light: #808b60;
$custom-dark: #000000;
JSON
{
  "hex": "#4d5d22",
  "rgb": {
    "r": 77,
    "g": 93,
    "b": 34
  },
  "hsl": {
    "h": 76.271,
    "s": 46.457,
    "l": 24.902
  },
  "oklch": {
    "l": 0.45109,
    "c": 0.08565,
    "h": 122.6
  },
  "luminance": 0.09522
}

Semantic roles & 50–950 ramp

primary
#4D5D22
secondary
#5D4A91
accent
#52D676
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0A0B05
muted
#7C7C79

Preview Lab

Preview with #4D5D22

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

Preview Lab → · Contrast checker → · Palette generator →

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