#4E7038#4E7038

#4E7038 is a mid, moderate yellow-green. Relative luminance 0.135; OKLCH L 50.5% C 0.092 H 134.3°. Best body text is #FFFFFF at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#4E7038
RGBrgb(78, 112, 56)
HSLhsl(96, 33%, 33%)
HSVhsv(96, 50%, 44%)
CMYKcmyk(30.4%, 0%, 50%, 56.1%)
CIE-LABlab(43.50, -23.20, 27.17)
CIE-LCHlch(43.50, 35.73, 130.49°)
OKLaboklab(50.49% -0.0639 0.0656)
OKLCHoklch(50.49% 0.092 134.3)
XYZxyz(9.6497, 13.4932, 5.8367)
Luminance0.1349 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7038 #5A3870
analogous
#6A7038 #4E7038 #38703E
triadic
#4E7038 #384E70 #70384E
tetradic
#4E7038 #386A70 #5A3870 #703E38
square
#4E7038 #386A70 #5A3870 #703E38
split-complementary
#4E7038 #3E3870 #70386A
monochromatic
#151E0F #324724 #4E7038 #6A994C #89B66D

Accessibility & contrast

On white

5.68
#4E7038 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#4E7038 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E7038
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E7038#FFFFFF#000000##FFFFFF
##4E70381.005.683.705.68
#FFFFFF5.681.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#746933
Deuteranopia (green-blind)
#6F663B
Tritanopia (blue-blind)
#4E6C63
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #4e7038;
/* rgb */ color: rgb(78, 112, 56);
/* oklch */ color: oklch(50.5% 0.092 134.3);
Tailwind
colors: {
  custom: {
    50: '#819970',
    500: '#4e7038',
    950: '#000000',
  },
}
SCSS
$custom: #4e7038;
$custom-light: #819970;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7038",
  "rgb": {
    "r": 78,
    "g": 112,
    "b": 56
  },
  "hsl": {
    "h": 96.429,
    "s": 33.333,
    "l": 32.941
  },
  "oklch": {
    "l": 0.5049,
    "c": 0.09158,
    "h": 134.3
  },
  "luminance": 0.13494
}

Semantic roles & 50–950 ramp

primary
#4E7038
secondary
#88659F
accent
#5EC99F
background
#F8F9F6
surface
#EFF2EC
border
#CACCC7
text
#0A0E07
muted
#7C7E7A

Preview Lab

Preview with #4E7038

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

Preview Lab → · Contrast checker → · Palette generator →

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