#4D7118#4D7118

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

Color values

HEX#4D7118
RGBrgb(77, 113, 24)
HSLhsl(84, 65%, 27%)
HSVhsv(84, 79%, 44%)
CMYKcmyk(31.9%, 0%, 78.8%, 55.7%)
CIE-LABlab(43.44, -27.21, 42.21)
CIE-LCHlch(43.44, 50.22, 122.81°)
OKLaboklab(50.32% -0.0776 0.0939)
OKLCHoklch(50.32% 0.122 129.6)
XYZxyz(9.1305, 13.4537, 2.9797)
Luminance0.1345 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D7118 #3C1871
analogous
#716918 #4D7118 #207118
triadic
#4D7118 #184D71 #71184D
tetradic
#4D7118 #187169 #3C1871 #711820
square
#4D7118 #187169 #3C1871 #711820
split-complementary
#4D7118 #182071 #691871
monochromatic
#111905 #2B3F0D #4D7118 #6FA323 #91D330

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4D7118#FFFFFF#000000##FFFFFF
##4D71181.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)
#776805
Deuteranopia (green-blind)
#726621
Tritanopia (blue-blind)
#4F6C60
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #4d7118;
/* rgb */ color: rgb(77, 113, 24);
/* oklch */ color: oklch(50.3% 0.122 129.6);
Tailwind
colors: {
  custom: {
    50: '#829a5c',
    500: '#4d7118',
    950: '#000000',
  },
}
SCSS
$custom: #4d7118;
$custom-light: #829a5c;
$custom-dark: #000000;
JSON
{
  "hex": "#4d7118",
  "rgb": {
    "r": 77,
    "g": 113,
    "b": 24
  },
  "hsl": {
    "h": 84.27,
    "s": 64.964,
    "l": 26.863
  },
  "oklch": {
    "l": 0.50323,
    "c": 0.1218,
    "h": 129.6
  },
  "luminance": 0.13454
}

Semantic roles & 50–950 ramp

primary
#4D7118
secondary
#683EA6
accent
#40E884
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0E04
muted
#7C7E79

Preview Lab

Preview with #4D7118

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

Preview Lab → · Contrast checker → · Palette generator →

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