#4E731C#4E731C

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

Color values

HEX#4E731C
RGBrgb(78, 115, 28)
HSLhsl(86, 61%, 28%)
HSVhsv(86, 76%, 45%)
CMYKcmyk(32.2%, 0%, 75.7%, 54.9%)
CIE-LABlab(44.18, -27.51, 41.44)
CIE-LCHlch(44.18, 49.74, 123.58°)
OKLaboklab(50.95% -0.0781 0.0929)
OKLCHoklch(50.95% 0.121 130.1)
XYZxyz(9.4822, 13.9647, 3.2943)
Luminance0.1396 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E731C #411C73
analogous
#736C1C #4E731C #23731C
triadic
#4E731C #1C4E73 #731C4E
tetradic
#4E731C #1C736C #411C73 #731C23
square
#4E731C #1C736C #411C73 #731C23
split-complementary
#4E731C #1C2373 #6C1C73
monochromatic
#111906 #2D4210 #4E731C #6FA428 #90CF3A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4E731C#FFFFFF#000000##FFFFFF
##4E731C1.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)
#796A0C
Deuteranopia (green-blind)
#736824
Tritanopia (blue-blind)
#506E62
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #4e731c;
/* rgb */ color: rgb(78, 115, 28);
/* oklch */ color: oklch(51.0% 0.121 130.1);
Tailwind
colors: {
  custom: {
    50: '#839b5f',
    500: '#4e731c',
    950: '#000000',
  },
}
SCSS
$custom: #4e731c;
$custom-light: #839b5f;
$custom-dark: #000000;
JSON
{
  "hex": "#4e731c",
  "rgb": {
    "r": 78,
    "g": 115,
    "b": 28
  },
  "hsl": {
    "h": 85.517,
    "s": 60.839,
    "l": 28.039
  },
  "oklch": {
    "l": 0.50952,
    "c": 0.12141,
    "h": 130.1
  },
  "luminance": 0.13965
}

Semantic roles & 50–950 ramp

primary
#4E731C
secondary
#6E43A7
accent
#44E488
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0E05
muted
#7C7E79

Preview Lab

Preview with #4E731C

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

Preview Lab → · Contrast checker → · Palette generator →

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