#4E812D#4E812D

#4E812D is a mid, vivid yellow-green. Relative luminance 0.175; OKLCH L 54.8% C 0.128 H 135.1°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#4E812D
RGBrgb(78, 129, 45)
HSLhsl(96, 48%, 34%)
HSVhsv(96, 65%, 51%)
CMYKcmyk(39.5%, 0%, 65.1%, 49.4%)
CIE-LABlab(48.90, -32.67, 39.06)
CIE-LCHlch(48.90, 50.92, 129.91°)
OKLaboklab(54.84% -0.0908 0.0903)
OKLCHoklch(54.84% 0.128 135.1)
XYZxyz(11.4655, 17.5091, 5.2576)
Luminance0.1751 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E812D #602D81
analogous
#78812D #4E812D #2D8136
triadic
#4E812D #2D4E81 #812D4E
tetradic
#4E812D #2D7881 #602D81 #81362D
square
#4E812D #2D7881 #602D81 #81362D
split-complementary
#4E812D #362D81 #812D78
monochromatic
#17260D #33541D #4E812D #69AE3D #89C861

Accessibility & contrast

On white

4.66
#4E812D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#4E812D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #4E812D
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E812D#FFFFFF#000000##FFFFFF
##4E812D1.004.664.504.66
#FFFFFF4.661.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#867723
Deuteranopia (green-blind)
#7F7334
Tritanopia (blue-blind)
#4D7C6F
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #4e812d;
/* rgb */ color: rgb(78, 129, 45);
/* oklch */ color: oklch(54.8% 0.128 135.1);
Tailwind
colors: {
  custom: {
    50: '#83a66a',
    500: '#4e812d',
    950: '#000000',
  },
}
SCSS
$custom: #4e812d;
$custom-light: #83a66a;
$custom-dark: #000000;
JSON
{
  "hex": "#4e812d",
  "rgb": {
    "r": 78,
    "g": 129,
    "b": 45
  },
  "hsl": {
    "h": 96.429,
    "s": 48.276,
    "l": 34.118
  },
  "oklch": {
    "l": 0.5484,
    "c": 0.12807,
    "h": 135.1
  },
  "luminance": 0.1751
}

Semantic roles & 50–950 ramp

primary
#4E812D
secondary
#8E5CAE
accent
#50D8A2
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B0F07
muted
#7C7F7A

Preview Lab

Preview with #4E812D

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

Preview Lab → · Contrast checker → · Palette generator →

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