#4E7F30#4E7F30

#4E7F30 is a mid, vivid yellow-green. Relative luminance 0.170; OKLCH L 54.3% C 0.123 H 135.3°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#4E7F30
RGBrgb(78, 127, 48)
HSLhsl(97, 45%, 34%)
HSVhsv(97, 62%, 50%)
CMYKcmyk(38.6%, 0%, 62.2%, 50.2%)
CIE-LABlab(48.27, -31.44, 36.95)
CIE-LCHlch(48.27, 48.52, 130.40°)
OKLaboklab(54.34% -0.0872 0.0862)
OKLCHoklch(54.34% 0.123 135.3)
XYZxyz(11.2645, 17.0113, 5.4857)
Luminance0.1701 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7F30 #61307F
analogous
#767F30 #4E7F30 #307F3A
triadic
#4E7F30 #304E7F #7F304E
tetradic
#4E7F30 #30767F #61307F #7F3A30
square
#4E7F30 #30767F #61307F #7F3A30
split-complementary
#4E7F30 #3A307F #7F3076
monochromatic
#17260E #33531F #4E7F30 #69AB41 #89C565

Accessibility & contrast

On white

4.77
#4E7F30 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#4E7F30 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E7F30
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E7F30#FFFFFF#000000##FFFFFF
##4E7F301.004.774.404.77
#FFFFFF4.771.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#847527
Deuteranopia (green-blind)
#7D7136
Tritanopia (blue-blind)
#4D7A6E
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #4e7f30;
/* rgb */ color: rgb(78, 127, 48);
/* oklch */ color: oklch(54.3% 0.123 135.3);
Tailwind
colors: {
  custom: {
    50: '#83a46b',
    500: '#4e7f30',
    950: '#000000',
  },
}
SCSS
$custom: #4e7f30;
$custom-light: #83a46b;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7f30",
  "rgb": {
    "r": 78,
    "g": 127,
    "b": 48
  },
  "hsl": {
    "h": 97.215,
    "s": 45.143,
    "l": 34.314
  },
  "oklch": {
    "l": 0.54343,
    "c": 0.12261,
    "h": 135.3
  },
  "luminance": 0.17012
}

Semantic roles & 50–950 ramp

primary
#4E7F30
secondary
#8F5FAC
accent
#53D5A4
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B0F07
muted
#7C7F7A

Preview Lab

Preview with #4E7F30

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

Preview Lab → · Contrast checker → · Palette generator →

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