#4E7225#4E7225

#4E7225 is a mid, moderate yellow-green. Relative luminance 0.138; OKLCH L 50.8% C 0.113 H 130.9°. Best body text is #FFFFFF at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#4E7225
RGBrgb(78, 114, 37)
HSLhsl(88, 51%, 30%)
HSVhsv(88, 68%, 45%)
CMYKcmyk(31.6%, 0%, 67.5%, 55.3%)
CIE-LABlab(43.93, -26.32, 37.33)
CIE-LCHlch(43.93, 45.68, 125.19°)
OKLaboklab(50.77% -0.0741 0.0857)
OKLCHoklch(50.77% 0.113 130.9)
XYZxyz(9.4930, 13.7876, 3.9110)
Luminance0.1379 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7225 #492572
analogous
#727025 #4E7225 #287225
triadic
#4E7225 #254E72 #72254E
tetradic
#4E7225 #257270 #492572 #722528
square
#4E7225 #257270 #492572 #722528
split-complementary
#4E7225 #252872 #702572
monochromatic
#101707 #2E4416 #4E7225 #6EA034 #8DC54C

Accessibility & contrast

On white

5.59
#4E7225 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#4E7225 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E7225
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E7225#FFFFFF#000000##FFFFFF
##4E72251.005.593.765.59
#FFFFFF5.591.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776A1B
Deuteranopia (green-blind)
#72672B
Tritanopia (blue-blind)
#506D62
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #4e7225;
/* rgb */ color: rgb(78, 114, 37);
/* oklch */ color: oklch(50.8% 0.113 130.9);
Tailwind
colors: {
  custom: {
    50: '#829a64',
    500: '#4e7225',
    950: '#000000',
  },
}
SCSS
$custom: #4e7225;
$custom-light: #829a64;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7225",
  "rgb": {
    "r": 78,
    "g": 114,
    "b": 37
  },
  "hsl": {
    "h": 88.052,
    "s": 50.993,
    "l": 29.608
  },
  "oklch": {
    "l": 0.50767,
    "c": 0.11326,
    "h": 130.9
  },
  "luminance": 0.13788
}

Semantic roles & 50–950 ramp

primary
#4E7225
secondary
#774EA5
accent
#4DDA8F
background
#F8F9F6
surface
#EFF2EB
border
#CACCC6
text
#0B0E05
muted
#7C7E7A

Preview Lab

Preview with #4E7225

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

Preview Lab → · Contrast checker → · Palette generator →

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