#4D7C22#4D7C22

#4D7C22 is a mid, vivid yellow-green. Relative luminance 0.161; OKLCH L 53.3% C 0.130 H 133.1°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#4D7C22
RGBrgb(77, 124, 34)
HSLhsl(91, 57%, 31%)
HSVhsv(91, 73%, 49%)
CMYKcmyk(37.9%, 0%, 72.6%, 51.4%)
CIE-LABlab(47.12, -31.71, 41.97)
CIE-LCHlch(47.12, 52.60, 127.07°)
OKLaboklab(53.34% -0.089 0.095)
OKLCHoklch(53.34% 0.13 133.1)
XYZxyz(10.5568, 16.1081, 4.0660)
Luminance0.1611 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D7C22 #51227C
analogous
#7A7C22 #4D7C22 #227C24
triadic
#4D7C22 #224D7C #7C224D
tetradic
#4D7C22 #227A7C #51227C #7C2422
square
#4D7C22 #227A7C #51227C #7C2422
split-complementary
#4D7C22 #24227C #7C227A
monochromatic
#111C08 #2F4C15 #4D7C22 #6BAC2F #89CE4B

Accessibility & contrast

On white

4.97
#4D7C22 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#4D7C22 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D7C22
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D7C22#FFFFFF#000000##FFFFFF
##4D7C221.004.974.224.97
#FFFFFF4.971.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817214
Deuteranopia (green-blind)
#7B6E2A
Tritanopia (blue-blind)
#4D776A
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #4d7c22;
/* rgb */ color: rgb(77, 124, 34);
/* oklch */ color: oklch(53.3% 0.130 133.1);
Tailwind
colors: {
  custom: {
    50: '#83a263',
    500: '#4d7c22',
    950: '#000000',
  },
}
SCSS
$custom: #4d7c22;
$custom-light: #83a263;
$custom-dark: #000000;
JSON
{
  "hex": "#4d7c22",
  "rgb": {
    "r": 77,
    "g": 124,
    "b": 34
  },
  "hsl": {
    "h": 91.333,
    "s": 56.962,
    "l": 30.98
  },
  "oklch": {
    "l": 0.53343,
    "c": 0.13016,
    "h": 133.1
  },
  "luminance": 0.16109
}

Semantic roles & 50–950 ramp

primary
#4D7C22
secondary
#7F4BAF
accent
#48E097
background
#F8FAF6
surface
#EFF3EB
border
#CACDC6
text
#0B0F05
muted
#7C7F7A

Preview Lab

Preview with #4D7C22

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

Preview Lab → · Contrast checker → · Palette generator →

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