#4E7125#4E7125

#4E7125 is a mid, moderate yellow-green. Relative luminance 0.136; OKLCH L 50.5% C 0.112 H 130.6°. Best body text is #FFFFFF at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#4E7125
RGBrgb(78, 113, 37)
HSLhsl(88, 51%, 29%)
HSVhsv(88, 67%, 44%)
CMYKcmyk(31%, 0%, 67.3%, 55.7%)
CIE-LABlab(43.60, -25.83, 36.98)
CIE-LCHlch(43.60, 45.11, 124.93°)
OKLaboklab(50.5% -0.0728 0.0849)
OKLCHoklch(50.5% 0.112 130.6)
XYZxyz(9.3809, 13.5632, 3.8736)
Luminance0.1356 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7125 #482571
analogous
#716E25 #4E7125 #287125
triadic
#4E7125 #254E71 #71254E
tetradic
#4E7125 #25716E #482571 #712528
square
#4E7125 #25716E #482571 #712528
split-complementary
#4E7125 #252871 #6E2571
monochromatic
#101708 #2E4316 #4E7125 #6E9F34 #8DC44C

Accessibility & contrast

On white

5.66
#4E7125 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#4E7125 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E7125
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E7125#FFFFFF#000000##FFFFFF
##4E71251.005.663.715.66
#FFFFFF5.661.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#76691B
Deuteranopia (green-blind)
#71662B
Tritanopia (blue-blind)
#506C61
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #4e7125;
/* rgb */ color: rgb(78, 113, 37);
/* oklch */ color: oklch(50.5% 0.112 130.6);
Tailwind
colors: {
  custom: {
    50: '#829a63',
    500: '#4e7125',
    950: '#000000',
  },
}
SCSS
$custom: #4e7125;
$custom-light: #829a63;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7125",
  "rgb": {
    "r": 78,
    "g": 113,
    "b": 37
  },
  "hsl": {
    "h": 87.632,
    "s": 50.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.50502,
    "c": 0.11182,
    "h": 130.6
  },
  "luminance": 0.13564
}

Semantic roles & 50–950 ramp

primary
#4E7125
secondary
#764EA4
accent
#4EDA8E
background
#F8F9F6
surface
#EFF2EB
border
#CACCC6
text
#0B0E05
muted
#7C7E7A

Preview Lab

Preview with #4E7125

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

Preview Lab → · Contrast checker → · Palette generator →

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