#4E7B2D#4E7B2D

#4E7B2D is a mid, moderate yellow-green. Relative luminance 0.160; OKLCH L 53.2% C 0.119 H 134.1°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#4E7B2D
RGBrgb(78, 123, 45)
HSLhsl(95, 46%, 33%)
HSVhsv(95, 63%, 48%)
CMYKcmyk(36.6%, 0%, 63.4%, 51.8%)
CIE-LABlab(46.94, -29.88, 36.89)
CIE-LCHlch(46.94, 47.48, 129.01°)
OKLaboklab(53.25% -0.0832 0.0857)
OKLCHoklch(53.25% 0.119 134.1)
XYZxyz(10.6983, 15.9746, 5.0018)
Luminance0.1598 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7B2D #5A2D7B
analogous
#757B2D #4E7B2D #2D7B33
triadic
#4E7B2D #2D4E7B #7B2D4E
tetradic
#4E7B2D #2D757B #5A2D7B #7B332D
square
#4E7B2D #2D757B #5A2D7B #7B332D
split-complementary
#4E7B2D #332D7B #7B2D75
monochromatic
#15210C #324E1D #4E7B2D #6AA83D #89C45E

Accessibility & contrast

On white

5.01
#4E7B2D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#4E7B2D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E7B2D
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E7B2D#FFFFFF#000000##FFFFFF
##4E7B2D1.005.014.195.01
#FFFFFF5.011.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807224
Deuteranopia (green-blind)
#796E33
Tritanopia (blue-blind)
#4E766A
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #4e7b2d;
/* rgb */ color: rgb(78, 123, 45);
/* oklch */ color: oklch(53.2% 0.119 134.1);
Tailwind
colors: {
  custom: {
    50: '#83a169',
    500: '#4e7b2d',
    950: '#000000',
  },
}
SCSS
$custom: #4e7b2d;
$custom-light: #83a169;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7b2d",
  "rgb": {
    "r": 78,
    "g": 123,
    "b": 45
  },
  "hsl": {
    "h": 94.615,
    "s": 46.429,
    "l": 32.941
  },
  "oklch": {
    "l": 0.53246,
    "c": 0.11944,
    "h": 134.1
  },
  "luminance": 0.15975
}

Semantic roles & 50–950 ramp

primary
#4E7B2D
secondary
#8859AB
accent
#52D69E
background
#F8F9F6
surface
#EFF2EB
border
#CACCC6
text
#0B0F06
muted
#7C7E7A

Preview Lab

Preview with #4E7B2D

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

Preview Lab → · Contrast checker → · Palette generator →

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