#4E731B#4E731B

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

Color values

HEX#4E731B
RGBrgb(78, 115, 27)
HSLhsl(85, 62%, 28%)
HSVhsv(85, 77%, 45%)
CMYKcmyk(32.2%, 0%, 76.5%, 54.9%)
CIE-LABlab(44.18, -27.58, 41.82)
CIE-LCHlch(44.18, 50.10, 123.40°)
OKLaboklab(50.94% -0.0784 0.0935)
OKLCHoklch(50.94% 0.122 130)
XYZxyz(9.4704, 13.9600, 3.2323)
Luminance0.1396 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E731B #401B73
analogous
#736C1B #4E731B #22731B
triadic
#4E731B #1B4E73 #731B4E
tetradic
#4E731B #1B736C #401B73 #731B22
square
#4E731B #1B736C #401B73 #731B22
split-complementary
#4E731B #1B2273 #6C1B73
monochromatic
#111906 #2C410F #4E731B #70A527 #90D038

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4E731B#FFFFFF#000000##FFFFFF
##4E731B1.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)
#796A0A
Deuteranopia (green-blind)
#736823
Tritanopia (blue-blind)
#506E62
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #4e731b;
/* rgb */ color: rgb(78, 115, 27);
/* oklch */ color: oklch(50.9% 0.122 130.0);
Tailwind
colors: {
  custom: {
    50: '#839b5e',
    500: '#4e731b',
    950: '#000000',
  },
}
SCSS
$custom: #4e731b;
$custom-light: #839b5e;
$custom-dark: #000000;
JSON
{
  "hex": "#4e731b",
  "rgb": {
    "r": 78,
    "g": 115,
    "b": 27
  },
  "hsl": {
    "h": 85.227,
    "s": 61.972,
    "l": 27.843
  },
  "oklch": {
    "l": 0.50945,
    "c": 0.12207,
    "h": 130
  },
  "luminance": 0.1396
}

Semantic roles & 50–950 ramp

primary
#4E731B
secondary
#6D42A8
accent
#43E587
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0E05
muted
#7C7E79

Preview Lab

Preview with #4E731B

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

Preview Lab → · Contrast checker → · Palette generator →

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