#4E702C#4E702C

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

Color values

HEX#4E702C
RGBrgb(78, 112, 44)
HSLhsl(90, 44%, 31%)
HSVhsv(90, 61%, 44%)
CMYKcmyk(30.4%, 0%, 60.7%, 56.1%)
CIE-LABlab(43.34, -24.65, 33.31)
CIE-LCHlch(43.34, 41.44, 126.50°)
OKLaboklab(50.32% -0.0689 0.078)
OKLCHoklch(50.32% 0.104 131.5)
XYZxyz(9.3906, 13.3896, 4.4721)
Luminance0.1339 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E702C #4E2C70
analogous
#70702C #4E702C #2C702C
triadic
#4E702C #2C4E70 #702C4E
tetradic
#4E702C #2C7070 #4E2C70 #702C2C
square
#4E702C #2C7070 #4E2C70 #702C2C
split-complementary
#4E702C #2C2C70 #702C70
monochromatic
#111809 #2F441B #4E702C #6D9C3D #8BBE59

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4E702C#FFFFFF#000000##FFFFFF
##4E702C1.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)
#756825
Deuteranopia (green-blind)
#706531
Tritanopia (blue-blind)
#4F6C61
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #4e702c;
/* rgb */ color: rgb(78, 112, 44);
/* oklch */ color: oklch(50.3% 0.104 131.5);
Tailwind
colors: {
  custom: {
    50: '#829968',
    500: '#4e702c',
    950: '#000000',
  },
}
SCSS
$custom: #4e702c;
$custom-light: #829968;
$custom-dark: #000000;
JSON
{
  "hex": "#4e702c",
  "rgb": {
    "r": 78,
    "g": 112,
    "b": 44
  },
  "hsl": {
    "h": 90,
    "s": 43.59,
    "l": 30.588
  },
  "oklch": {
    "l": 0.50317,
    "c": 0.10403,
    "h": 131.5
  },
  "luminance": 0.1339
}

Semantic roles & 50–950 ramp

primary
#4E702C
secondary
#7C56A2
accent
#54D394
background
#F8F9F6
surface
#EFF2EB
border
#CACCC6
text
#0B0E06
muted
#7C7E7A

Preview Lab

Preview with #4E702C

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

Preview Lab → · Contrast checker → · Palette generator →

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