#4E7E10#4E7E10

#4E7E10 is a mid, vivid yellow-green. Relative luminance 0.166; OKLCH L 53.8% C 0.142 H 131.7°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#4E7E10
RGBrgb(78, 126, 16)
HSLhsl(86, 77%, 28%)
HSVhsv(86, 87%, 49%)
CMYKcmyk(38.1%, 0%, 87.3%, 50.6%)
CIE-LABlab(47.72, -33.28, 48.63)
CIE-LCHlch(47.72, 58.92, 124.39°)
OKLaboklab(53.82% -0.0946 0.1061)
OKLCHoklch(53.82% 0.142 131.7)
XYZxyz(10.6962, 16.5784, 3.1265)
Luminance0.1658 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7E10 #40107E
analogous
#7E7710 #4E7E10 #177E10
triadic
#4E7E10 #104E7E #7E104E
tetradic
#4E7E10 #107E77 #40107E #7E1017
square
#4E7E10 #107E77 #40107E #7E1017
split-complementary
#4E7E10 #10177E #77107E
monochromatic
#111B03 #2C4809 #4E7E10 #70B417 #90E325

Accessibility & contrast

On white

4.87
#4E7E10 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#4E7E10 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E7E10
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E7E10#FFFFFF#000000##FFFFFF
##4E7E101.004.874.324.87
#FFFFFF4.871.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4e7e10;
/* rgb */ color: rgb(78, 126, 16);
/* oklch */ color: oklch(53.8% 0.142 131.7);
Tailwind
colors: {
  custom: {
    50: '#85a45b',
    500: '#4e7e10',
    950: '#000000',
  },
}
SCSS
$custom: #4e7e10;
$custom-light: #85a45b;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7e10",
  "rgb": {
    "r": 78,
    "g": 126,
    "b": 16
  },
  "hsl": {
    "h": 86.182,
    "s": 77.465,
    "l": 27.843
  },
  "oklch": {
    "l": 0.53822,
    "c": 0.14211,
    "h": 131.7
  },
  "luminance": 0.16579
}

Semantic roles & 50–950 ramp

primary
#4E7E10
secondary
#6D36B4
accent
#34F488
background
#F8FAF5
surface
#F0F4E9
border
#CBCEC5
text
#0B0F04
muted
#7C7F79

Preview Lab

Preview with #4E7E10

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

Preview Lab → · Contrast checker → · Palette generator →

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