#4E702E#4E702E

#4E702E is a mid, moderate yellow-green. Relative luminance 0.134; OKLCH L 50.3% C 0.102 H 131.8°. Best body text is #FFFFFF at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#4E702E
RGBrgb(78, 112, 46)
HSLhsl(91, 42%, 31%)
HSVhsv(91, 59%, 44%)
CMYKcmyk(30.4%, 0%, 58.9%, 56.1%)
CIE-LABlab(43.37, -24.43, 32.32)
CIE-LCHlch(43.37, 40.52, 127.08°)
OKLaboklab(50.34% -0.0681 0.076)
OKLCHoklch(50.34% 0.102 131.8)
XYZxyz(9.4291, 13.4050, 4.6749)
Luminance0.1341 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E702E #502E70
analogous
#6F702E #4E702E #2E702F
triadic
#4E702E #2E4E70 #702E4E
tetradic
#4E702E #2E6F70 #502E70 #702F2E
square
#4E702E #2E6F70 #502E70 #702F2E
split-complementary
#4E702E #2F2E70 #702E6F
monochromatic
#12190A #30451C #4E702E #6C9B40 #8BBC5C

Accessibility & contrast

On white

5.70
#4E702E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#4E702E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E702E
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E702E#FFFFFF#000000##FFFFFF
##4E702E1.005.703.685.70
#FFFFFF5.701.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#756827
Deuteranopia (green-blind)
#706633
Tritanopia (blue-blind)
#4F6C61
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #4e702e;
/* rgb */ color: rgb(78, 112, 46);
/* oklch */ color: oklch(50.3% 0.102 131.8);
Tailwind
colors: {
  custom: {
    50: '#829969',
    500: '#4e702e',
    950: '#000000',
  },
}
SCSS
$custom: #4e702e;
$custom-light: #829969;
$custom-dark: #000000;
JSON
{
  "hex": "#4e702e",
  "rgb": {
    "r": 78,
    "g": 112,
    "b": 46
  },
  "hsl": {
    "h": 90.909,
    "s": 41.772,
    "l": 30.98
  },
  "oklch": {
    "l": 0.50343,
    "c": 0.10208,
    "h": 131.8
  },
  "luminance": 0.13405
}

Semantic roles & 50–950 ramp

primary
#4E702E
secondary
#7E58A1
accent
#56D296
background
#F8F9F6
surface
#EFF2EB
border
#CACCC6
text
#0B0E06
muted
#7C7E7A

Preview Lab

Preview with #4E702E

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

Preview Lab → · Contrast checker → · Palette generator →

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