#4E751F#4E751F

#4E751F is a mid, vivid yellow-green. Relative luminance 0.144; OKLCH L 51.5% C 0.122 H 130.9°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#4E751F
RGBrgb(78, 117, 31)
HSLhsl(87, 58%, 29%)
HSVhsv(87, 74%, 46%)
CMYKcmyk(33.3%, 0%, 73.5%, 54.1%)
CIE-LABlab(44.86, -28.26, 40.92)
CIE-LCHlch(44.86, 49.73, 124.63°)
OKLaboklab(51.51% -0.0799 0.0923)
OKLCHoklch(51.51% 0.122 130.9)
XYZxyz(9.7504, 14.4409, 3.5697)
Luminance0.1444 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E751F #461F75
analogous
#75711F #4E751F #23751F
triadic
#4E751F #1F4E75 #751F4E
tetradic
#4E751F #1F7571 #461F75 #751F23
square
#4E751F #1F7571 #461F75 #751F23
split-complementary
#4E751F #1F2375 #711F75
monochromatic
#101806 #2E4512 #4E751F #6EA52C #8ECD42

Accessibility & contrast

On white

5.40
#4E751F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#4E751F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E751F
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E751F#FFFFFF#000000##FFFFFF
##4E751F1.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6C11
Deuteranopia (green-blind)
#756927
Tritanopia (blue-blind)
#507064
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #4e751f;
/* rgb */ color: rgb(78, 117, 31);
/* oklch */ color: oklch(51.5% 0.122 130.9);
Tailwind
colors: {
  custom: {
    50: '#839d60',
    500: '#4e751f',
    950: '#000000',
  },
}
SCSS
$custom: #4e751f;
$custom-light: #839d60;
$custom-dark: #000000;
JSON
{
  "hex": "#4e751f",
  "rgb": {
    "r": 78,
    "g": 117,
    "b": 31
  },
  "hsl": {
    "h": 87.209,
    "s": 58.108,
    "l": 29.02
  },
  "oklch": {
    "l": 0.5151,
    "c": 0.12211,
    "h": 130.9
  },
  "luminance": 0.14441
}

Semantic roles & 50–950 ramp

primary
#4E751F
secondary
#7347A9
accent
#46E18D
background
#F8F9F5
surface
#EFF2EA
border
#CACCC6
text
#0B0E05
muted
#7C7E79

Preview Lab

Preview with #4E751F

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

Preview Lab → · Contrast checker → · Palette generator →

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