#4E731E#4E731E

#4E731E is a mid, vivid yellow-green. Relative luminance 0.140; OKLCH L 51.0% C 0.120 H 130.3°. Best body text is #FFFFFF at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#4E731E
RGBrgb(78, 115, 30)
HSLhsl(86, 59%, 28%)
HSVhsv(86, 74%, 45%)
CMYKcmyk(32.2%, 0%, 73.9%, 54.9%)
CIE-LABlab(44.20, -27.37, 40.66)
CIE-LCHlch(44.20, 49.01, 123.95°)
OKLaboklab(50.97% -0.0776 0.0916)
OKLCHoklch(50.97% 0.12 130.3)
XYZxyz(9.5069, 13.9746, 3.4245)
Luminance0.1398 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E731E #431E73
analogous
#736D1E #4E731E #23731E
triadic
#4E731E #1E4E73 #731E4E
tetradic
#4E731E #1E736D #431E73 #731E23
square
#4E731E #1E736D #431E73 #731E23
split-complementary
#4E731E #1E2373 #6D1E73
monochromatic
#101806 #2D4211 #4E731E #6FA42B #8FCD3F

Accessibility & contrast

On white

5.53
#4E731E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#4E731E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E731E
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E731E#FFFFFF#000000##FFFFFF
##4E731E1.005.533.805.53
#FFFFFF5.531.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786A10
Deuteranopia (green-blind)
#736826
Tritanopia (blue-blind)
#506E62
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #4e731e;
/* rgb */ color: rgb(78, 115, 30);
/* oklch */ color: oklch(51.0% 0.120 130.3);
Tailwind
colors: {
  custom: {
    50: '#839b60',
    500: '#4e731e',
    950: '#000000',
  },
}
SCSS
$custom: #4e731e;
$custom-light: #839b60;
$custom-dark: #000000;
JSON
{
  "hex": "#4e731e",
  "rgb": {
    "r": 78,
    "g": 115,
    "b": 30
  },
  "hsl": {
    "h": 86.118,
    "s": 58.621,
    "l": 28.431
  },
  "oklch": {
    "l": 0.50968,
    "c": 0.12004,
    "h": 130.3
  },
  "luminance": 0.13975
}

Semantic roles & 50–950 ramp

primary
#4E731E
secondary
#7046A7
accent
#46E28A
background
#F8F9F5
surface
#EFF2EA
border
#CACCC6
text
#0B0E05
muted
#7C7E79

Preview Lab

Preview with #4E731E

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

Preview Lab → · Contrast checker → · Palette generator →

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