#4D7C15#4D7C15

#4D7C15 is a mid, vivid yellow-green. Relative luminance 0.160; OKLCH L 53.3% C 0.138 H 131.9°. Best body text is #FFFFFF at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#4D7C15
RGBrgb(77, 124, 21)
HSLhsl(87, 71%, 28%)
HSVhsv(87, 83%, 49%)
CMYKcmyk(37.9%, 0%, 83.1%, 51.4%)
CIE-LABlab(47.04, -32.53, 46.59)
CIE-LCHlch(47.04, 56.82, 124.92°)
OKLaboklab(53.25% -0.0922 0.1026)
OKLCHoklch(53.25% 0.138 131.9)
XYZxyz(10.4035, 16.0468, 3.2585)
Luminance0.1605 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D7C15 #44157C
analogous
#7C7715 #4D7C15 #197C15
triadic
#4D7C15 #154D7C #7C154D
tetradic
#4D7C15 #157C77 #44157C #7C1519
square
#4D7C15 #157C77 #44157C #7C1519
split-complementary
#4D7C15 #15197C #77157C
monochromatic
#101A04 #2C480C #4D7C15 #6DB01E #8DDC30

Accessibility & contrast

On white

4.99
#4D7C15 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#4D7C15 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D7C15
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D7C15#FFFFFF#000000##FFFFFF
##4D7C151.004.994.214.99
#FFFFFF4.991.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827200
Deuteranopia (green-blind)
#7B6E21
Tritanopia (blue-blind)
#4E7769
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #4d7c15;
/* rgb */ color: rgb(77, 124, 21);
/* oklch */ color: oklch(53.3% 0.138 131.9);
Tailwind
colors: {
  custom: {
    50: '#83a25d',
    500: '#4d7c15',
    950: '#000000',
  },
}
SCSS
$custom: #4d7c15;
$custom-light: #83a25d;
$custom-dark: #000000;
JSON
{
  "hex": "#4d7c15",
  "rgb": {
    "r": 77,
    "g": 124,
    "b": 21
  },
  "hsl": {
    "h": 87.379,
    "s": 71.034,
    "l": 28.431
  },
  "oklch": {
    "l": 0.53252,
    "c": 0.13793,
    "h": 131.9
  },
  "luminance": 0.16047
}

Semantic roles & 50–950 ramp

primary
#4D7C15
secondary
#713CB1
accent
#3AEE8C
background
#F8FAF5
surface
#EFF3E9
border
#CACDC5
text
#0B0F05
muted
#7C7F79

Preview Lab

Preview with #4D7C15

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

Preview Lab → · Contrast checker → · Palette generator →

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