#4E7039#4E7039

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

Color values

HEX#4E7039
RGBrgb(78, 112, 57)
HSLhsl(97, 33%, 33%)
HSVhsv(97, 49%, 44%)
CMYKcmyk(30.4%, 0%, 49.1%, 56.1%)
CIE-LABlab(43.51, -23.06, 26.64)
CIE-LCHlch(43.51, 35.24, 130.88°)
OKLaboklab(50.51% -0.0635 0.0644)
OKLCHoklch(50.51% 0.09 134.6)
XYZxyz(9.6744, 13.5031, 5.9667)
Luminance0.1350 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7039 #5B3970
analogous
#697039 #4E7039 #39703F
triadic
#4E7039 #394E70 #70394E
tetradic
#4E7039 #396970 #5B3970 #703F39
square
#4E7039 #396970 #5B3970 #703F39
split-complementary
#4E7039 #3F3970 #703969
monochromatic
#161F10 #324724 #4E7039 #6A994E #89B56E

Accessibility & contrast

On white

5.67
#4E7039 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #4E7039
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E7039#FFFFFF#000000##FFFFFF
##4E70391.005.673.705.67
#FFFFFF5.671.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.671.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4e7039;
/* rgb */ color: rgb(78, 112, 57);
/* oklch */ color: oklch(50.5% 0.090 134.6);
Tailwind
colors: {
  custom: {
    50: '#819970',
    500: '#4e7039',
    950: '#000000',
  },
}
SCSS
$custom: #4e7039;
$custom-light: #819970;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7039",
  "rgb": {
    "r": 78,
    "g": 112,
    "b": 57
  },
  "hsl": {
    "h": 97.091,
    "s": 32.544,
    "l": 33.137
  },
  "oklch": {
    "l": 0.50507,
    "c": 0.09046,
    "h": 134.6
  },
  "luminance": 0.13503
}

Semantic roles & 50–950 ramp

primary
#4E7039
secondary
#89669F
accent
#5FC9A0
background
#F8F9F6
surface
#EFF2EC
border
#CACCC7
text
#0A0E07
muted
#7C7E7A

Preview Lab

Preview with #4E7039

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

Preview Lab → · Contrast checker → · Palette generator →

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