#4E731F#4E731F

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

Color values

HEX#4E731F
RGBrgb(78, 115, 31)
HSLhsl(86, 58%, 29%)
HSVhsv(86, 73%, 45%)
CMYKcmyk(32.2%, 0%, 73%, 54.9%)
CIE-LABlab(44.20, -27.30, 40.25)
CIE-LCHlch(44.20, 48.63, 124.14°)
OKLaboklab(50.98% -0.0773 0.0909)
OKLCHoklch(50.98% 0.119 130.4)
XYZxyz(9.5199, 13.9798, 3.4929)
Luminance0.1398 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E731F #441F73
analogous
#736E1F #4E731F #24731F
triadic
#4E731F #1F4E73 #731F4E
tetradic
#4E731F #1F736E #441F73 #731F24
square
#4E731F #1F736E #441F73 #731F24
split-complementary
#4E731F #1F2473 #6E1F73
monochromatic
#101806 #2D4312 #4E731F #6FA32C #8ECC41

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4E731F#FFFFFF#000000##FFFFFF
##4E731F1.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)
#786A12
Deuteranopia (green-blind)
#736826
Tritanopia (blue-blind)
#506E62
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #4e731f;
/* rgb */ color: rgb(78, 115, 31);
/* oklch */ color: oklch(51.0% 0.119 130.4);
Tailwind
colors: {
  custom: {
    50: '#839b60',
    500: '#4e731f',
    950: '#000000',
  },
}
SCSS
$custom: #4e731f;
$custom-light: #839b60;
$custom-dark: #000000;
JSON
{
  "hex": "#4e731f",
  "rgb": {
    "r": 78,
    "g": 115,
    "b": 31
  },
  "hsl": {
    "h": 86.429,
    "s": 57.534,
    "l": 28.627
  },
  "oklch": {
    "l": 0.50977,
    "c": 0.11933,
    "h": 130.4
  },
  "luminance": 0.1398
}

Semantic roles & 50–950 ramp

primary
#4E731F
secondary
#7147A7
accent
#47E18B
background
#F8F9F5
surface
#EFF2EA
border
#CACCC6
text
#0B0E05
muted
#7C7E79

Preview Lab

Preview with #4E731F

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

Preview Lab → · Contrast checker → · Palette generator →

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