#4F7225#4F7225

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

Color values

HEX#4F7225
RGBrgb(79, 114, 37)
HSLhsl(87, 51%, 30%)
HSVhsv(87, 68%, 45%)
CMYKcmyk(30.7%, 0%, 67.5%, 55.3%)
CIE-LABlab(43.99, -25.92, 37.42)
CIE-LCHlch(43.99, 45.52, 124.71°)
OKLaboklab(50.83% -0.0731 0.0858)
OKLCHoklch(50.83% 0.113 130.4)
XYZxyz(9.5756, 13.8302, 3.9149)
Luminance0.1383 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F7225 #482572
analogous
#726F25 #4F7225 #297225
triadic
#4F7225 #254F72 #72254F
tetradic
#4F7225 #25726F #482572 #722529
square
#4F7225 #25726F #482572 #722529
split-complementary
#4F7225 #252972 #6F2572
monochromatic
#101707 #2F4416 #4F7225 #6FA034 #8EC54C

Accessibility & contrast

On white

5.58
#4F7225 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#4F7225 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F7225
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F7225#FFFFFF#000000##FFFFFF
##4F72251.005.583.775.58
#FFFFFF5.581.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.581.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4f7225;
/* rgb */ color: rgb(79, 114, 37);
/* oklch */ color: oklch(50.8% 0.113 130.4);
Tailwind
colors: {
  custom: {
    50: '#839a64',
    500: '#4f7225',
    950: '#000000',
  },
}
SCSS
$custom: #4f7225;
$custom-light: #839a64;
$custom-dark: #000000;
JSON
{
  "hex": "#4f7225",
  "rgb": {
    "r": 79,
    "g": 114,
    "b": 37
  },
  "hsl": {
    "h": 87.273,
    "s": 50.993,
    "l": 29.608
  },
  "oklch": {
    "l": 0.50834,
    "c": 0.1127,
    "h": 130.4
  },
  "luminance": 0.1383
}

Semantic roles & 50–950 ramp

primary
#4F7225
secondary
#754EA5
accent
#4DDA8D
background
#F8F9F6
surface
#EFF2EB
border
#CACCC6
text
#0B0E05
muted
#7C7E7A

Preview Lab

Preview with #4F7225

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

Preview Lab → · Contrast checker → · Palette generator →

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