#4E731D#4E731D

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

Color values

HEX#4E731D
RGBrgb(78, 115, 29)
HSLhsl(86, 60%, 28%)
HSVhsv(86, 75%, 45%)
CMYKcmyk(32.2%, 0%, 74.8%, 54.9%)
CIE-LABlab(44.19, -27.44, 41.05)
CIE-LCHlch(44.19, 49.38, 123.76°)
OKLaboklab(50.96% -0.0779 0.0923)
OKLCHoklch(50.96% 0.121 130.2)
XYZxyz(9.4943, 13.9696, 3.3583)
Luminance0.1397 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E731D #421D73
analogous
#736D1D #4E731D #23731D
triadic
#4E731D #1D4E73 #731D4E
tetradic
#4E731D #1D736D #421D73 #731D23
square
#4E731D #1D736D #421D73 #731D23
split-complementary
#4E731D #1D2373 #6D1D73
monochromatic
#111806 #2D4211 #4E731D #6FA429 #8FCE3C

Accessibility & contrast

On white

5.54
#4E731D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#4E731D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E731D
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E731D#FFFFFF#000000##FFFFFF
##4E731D1.005.543.795.54
#FFFFFF5.541.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796A0E
Deuteranopia (green-blind)
#736825
Tritanopia (blue-blind)
#506E62
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #4e731d;
/* rgb */ color: rgb(78, 115, 29);
/* oklch */ color: oklch(51.0% 0.121 130.2);
Tailwind
colors: {
  custom: {
    50: '#839b5f',
    500: '#4e731d',
    950: '#000000',
  },
}
SCSS
$custom: #4e731d;
$custom-light: #839b5f;
$custom-dark: #000000;
JSON
{
  "hex": "#4e731d",
  "rgb": {
    "r": 78,
    "g": 115,
    "b": 29
  },
  "hsl": {
    "h": 85.814,
    "s": 59.722,
    "l": 28.235
  },
  "oklch": {
    "l": 0.5096,
    "c": 0.12074,
    "h": 130.2
  },
  "luminance": 0.1397
}

Semantic roles & 50–950 ramp

primary
#4E731D
secondary
#6F45A7
accent
#45E389
background
#F8F9F5
surface
#EFF2EA
border
#CACCC6
text
#0B0E05
muted
#7C7E79

Preview Lab

Preview with #4E731D

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

Preview Lab → · Contrast checker → · Palette generator →

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