#4D7E10#4D7E10

#4D7E10 is a mid, vivid yellow-green. Relative luminance 0.165; OKLCH L 53.8% C 0.143 H 132.0°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#4D7E10
RGBrgb(77, 126, 16)
HSLhsl(87, 77%, 28%)
HSVhsv(87, 87%, 49%)
CMYKcmyk(38.9%, 0%, 87.3%, 50.6%)
CIE-LABlab(47.67, -33.66, 48.56)
CIE-LCHlch(47.67, 59.08, 124.73°)
OKLaboklab(53.76% -0.0955 0.106)
OKLCHoklch(53.76% 0.143 132)
XYZxyz(10.6148, 16.5364, 3.1227)
Luminance0.1654 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D7E10 #41107E
analogous
#7E7810 #4D7E10 #167E10
triadic
#4D7E10 #104D7E #7E104D
tetradic
#4D7E10 #107E78 #41107E #7E1016
square
#4D7E10 #107E78 #41107E #7E1016
split-complementary
#4D7E10 #10167E #78107E
monochromatic
#111B03 #2C4809 #4D7E10 #6EB417 #8FE325

Accessibility & contrast

On white

4.88
#4D7E10 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#4D7E10 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D7E10
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D7E10#FFFFFF#000000##FFFFFF
##4D7E101.004.884.314.88
#FFFFFF4.881.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#847400
Deuteranopia (green-blind)
#7D701E
Tritanopia (blue-blind)
#4E786B
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #4d7e10;
/* rgb */ color: rgb(77, 126, 16);
/* oklch */ color: oklch(53.8% 0.143 132.0);
Tailwind
colors: {
  custom: {
    50: '#84a45b',
    500: '#4d7e10',
    950: '#000000',
  },
}
SCSS
$custom: #4d7e10;
$custom-light: #84a45b;
$custom-dark: #000000;
JSON
{
  "hex": "#4d7e10",
  "rgb": {
    "r": 77,
    "g": 126,
    "b": 16
  },
  "hsl": {
    "h": 86.727,
    "s": 77.465,
    "l": 27.843
  },
  "oklch": {
    "l": 0.53764,
    "c": 0.14266,
    "h": 132
  },
  "luminance": 0.16537
}

Semantic roles & 50–950 ramp

primary
#4D7E10
secondary
#6E36B4
accent
#34F489
background
#F8FAF5
surface
#F0F4E9
border
#CBCEC5
text
#0B0F04
muted
#7C7F79

Preview Lab

Preview with #4D7E10

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

Preview Lab → · Contrast checker → · Palette generator →

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