#4E812C#4E812C

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

Color values

HEX#4E812C
RGBrgb(78, 129, 44)
HSLhsl(96, 49%, 34%)
HSVhsv(96, 66%, 51%)
CMYKcmyk(39.5%, 0%, 65.9%, 49.4%)
CIE-LABlab(48.89, -32.76, 39.51)
CIE-LCHlch(48.89, 51.33, 129.67°)
OKLaboklab(54.83% -0.0911 0.0912)
OKLCHoklch(54.83% 0.129 135)
XYZxyz(11.4465, 17.5015, 5.1574)
Luminance0.1750 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E812C #5F2C81
analogous
#79812C #4E812C #2C8135
triadic
#4E812C #2C4E81 #812C4E
tetradic
#4E812C #2C7981 #5F2C81 #81352C
square
#4E812C #2C7981 #5F2C81 #81352C
split-complementary
#4E812C #352C81 #812C79
monochromatic
#17260D #32531C #4E812C #6AAF3C #89C85F

Accessibility & contrast

On white

4.67
#4E812C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #4E812C
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E812C#FFFFFF#000000##FFFFFF
##4E812C1.004.674.504.67
#FFFFFF4.671.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4e812c;
/* rgb */ color: rgb(78, 129, 44);
/* oklch */ color: oklch(54.8% 0.129 135.0);
Tailwind
colors: {
  custom: {
    50: '#83a669',
    500: '#4e812c',
    950: '#000000',
  },
}
SCSS
$custom: #4e812c;
$custom-light: #83a669;
$custom-dark: #000000;
JSON
{
  "hex": "#4e812c",
  "rgb": {
    "r": 78,
    "g": 129,
    "b": 44
  },
  "hsl": {
    "h": 96,
    "s": 49.133,
    "l": 33.922
  },
  "oklch": {
    "l": 0.54829,
    "c": 0.1289,
    "h": 135
  },
  "luminance": 0.17502
}

Semantic roles & 50–950 ramp

primary
#4E812C
secondary
#8D5AAF
accent
#4FD9A2
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B0F06
muted
#7C7F7A

Preview Lab

Preview with #4E812C

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

Preview Lab → · Contrast checker → · Palette generator →

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