#4D7115#4D7115

#4D7115 is a mid, vivid yellow-green. Relative luminance 0.134; OKLCH L 50.3% C 0.124 H 129.3°. Best body text is #FFFFFF at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#4D7115
RGBrgb(77, 113, 21)
HSLhsl(83, 69%, 26%)
HSVhsv(83, 81%, 44%)
CMYKcmyk(31.9%, 0%, 81.4%, 55.7%)
CIE-LABlab(43.42, -27.38, 43.25)
CIE-LCHlch(43.42, 51.19, 122.34°)
OKLaboklab(50.3% -0.0783 0.0956)
OKLCHoklch(50.3% 0.124 129.3)
XYZxyz(9.1010, 13.4419, 2.8244)
Luminance0.1344 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D7115 #391571
analogous
#716715 #4D7115 #1F7115
triadic
#4D7115 #154D71 #71154D
tetradic
#4D7115 #157167 #391571 #71151F
square
#4D7115 #157167 #391571 #71151F
split-complementary
#4D7115 #151F71 #671571
monochromatic
#121A05 #2A3D0B #4D7115 #70A51F #93D729

Accessibility & contrast

On white

5.69
#4D7115 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#4D7115 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D7115
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D7115#FFFFFF#000000##FFFFFF
##4D71151.005.693.695.69
#FFFFFF5.691.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776800
Deuteranopia (green-blind)
#72661F
Tritanopia (blue-blind)
#4F6C60
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #4d7115;
/* rgb */ color: rgb(77, 113, 21);
/* oklch */ color: oklch(50.3% 0.124 129.3);
Tailwind
colors: {
  custom: {
    50: '#829a5b',
    500: '#4d7115',
    950: '#000000',
  },
}
SCSS
$custom: #4d7115;
$custom-light: #829a5b;
$custom-dark: #000000;
JSON
{
  "hex": "#4d7115",
  "rgb": {
    "r": 77,
    "g": 113,
    "b": 21
  },
  "hsl": {
    "h": 83.478,
    "s": 68.657,
    "l": 26.275
  },
  "oklch": {
    "l": 0.50303,
    "c": 0.12353,
    "h": 129.3
  },
  "luminance": 0.13442
}

Semantic roles & 50–950 ramp

primary
#4D7115
secondary
#653BA7
accent
#3CEB81
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0E04
muted
#7C7E79

Preview Lab

Preview with #4D7115

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

Preview Lab → · Contrast checker → · Palette generator →

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