#4E7E30#4E7E30

#4E7E30 is a mid, vivid yellow-green. Relative luminance 0.168; OKLCH L 54.1% C 0.121 H 135.2°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#4E7E30
RGBrgb(78, 126, 48)
HSLhsl(97, 45%, 34%)
HSVhsv(97, 62%, 49%)
CMYKcmyk(38.1%, 0%, 61.9%, 50.6%)
CIE-LABlab(47.95, -30.98, 36.58)
CIE-LCHlch(47.95, 47.94, 130.26°)
OKLaboklab(54.08% -0.0859 0.0854)
OKLCHoklch(54.08% 0.121 135.2)
XYZxyz(11.1360, 16.7543, 5.4429)
Luminance0.1676 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7E30 #60307E
analogous
#757E30 #4E7E30 #307E39
triadic
#4E7E30 #304E7E #7E304E
tetradic
#4E7E30 #30757E #60307E #7E3930
square
#4E7E30 #30757E #60307E #7E3930
split-complementary
#4E7E30 #39307E #7E3075
monochromatic
#17250E #33521F #4E7E30 #69AA41 #89C464

Accessibility & contrast

On white

4.83
#4E7E30 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#4E7E30 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E7E30
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E7E30#FFFFFF#000000##FFFFFF
##4E7E301.004.834.354.83
#FFFFFF4.831.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837428
Deuteranopia (green-blind)
#7C7036
Tritanopia (blue-blind)
#4D796D
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #4e7e30;
/* rgb */ color: rgb(78, 126, 48);
/* oklch */ color: oklch(54.1% 0.121 135.2);
Tailwind
colors: {
  custom: {
    50: '#83a46b',
    500: '#4e7e30',
    950: '#000000',
  },
}
SCSS
$custom: #4e7e30;
$custom-light: #83a46b;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7e30",
  "rgb": {
    "r": 78,
    "g": 126,
    "b": 48
  },
  "hsl": {
    "h": 96.923,
    "s": 44.828,
    "l": 34.118
  },
  "oklch": {
    "l": 0.54077,
    "c": 0.12115,
    "h": 135.2
  },
  "luminance": 0.16755
}

Semantic roles & 50–950 ramp

primary
#4E7E30
secondary
#8E5FAB
accent
#53D5A3
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B0F07
muted
#7C7F7A

Preview Lab

Preview with #4E7E30

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

Preview Lab → · Contrast checker → · Palette generator →

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