#4E702B#4E702B

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

Color values

HEX#4E702B
RGBrgb(78, 112, 43)
HSLhsl(90, 45%, 30%)
HSVhsv(90, 62%, 44%)
CMYKcmyk(30.4%, 0%, 61.6%, 56.1%)
CIE-LABlab(43.33, -24.75, 33.80)
CIE-LCHlch(43.33, 41.90, 126.22°)
OKLaboklab(50.31% -0.0693 0.0789)
OKLCHoklch(50.31% 0.105 131.3)
XYZxyz(9.3720, 13.3822, 4.3743)
Luminance0.1338 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E702B #4D2B70
analogous
#706F2B #4E702B #2C702B
triadic
#4E702B #2B4E70 #702B4E
tetradic
#4E702B #2B706F #4D2B70 #702B2C
square
#4E702B #2B706F #4D2B70 #702B2C
split-complementary
#4E702B #2B2C70 #6F2B70
monochromatic
#101809 #2F441A #4E702B #6D9C3C #8BBE57

Accessibility & contrast

On white

5.71
#4E702B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #4E702B
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E702B#FFFFFF#000000##FFFFFF
##4E702B1.005.713.685.71
#FFFFFF5.711.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#756824
Deuteranopia (green-blind)
#706530
Tritanopia (blue-blind)
#4F6B61
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #4e702b;
/* rgb */ color: rgb(78, 112, 43);
/* oklch */ color: oklch(50.3% 0.105 131.3);
Tailwind
colors: {
  custom: {
    50: '#829967',
    500: '#4e702b',
    950: '#000000',
  },
}
SCSS
$custom: #4e702b;
$custom-light: #829967;
$custom-dark: #000000;
JSON
{
  "hex": "#4e702b",
  "rgb": {
    "r": 78,
    "g": 112,
    "b": 43
  },
  "hsl": {
    "h": 89.565,
    "s": 44.516,
    "l": 30.392
  },
  "oklch": {
    "l": 0.50305,
    "c": 0.10498,
    "h": 131.3
  },
  "luminance": 0.13382
}

Semantic roles & 50–950 ramp

primary
#4E702B
secondary
#7B55A2
accent
#54D493
background
#F8F9F6
surface
#EFF2EB
border
#CACCC6
text
#0B0E06
muted
#7C7E7A

Preview Lab

Preview with #4E702B

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

Preview Lab → · Contrast checker → · Palette generator →

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