#4F7725#4F7725

#4F7725 is a mid, moderate yellow-green. Relative luminance 0.150; OKLCH L 52.2% C 0.120 H 131.7°. Best body text is #FFFFFF at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#4F7725
RGBrgb(79, 119, 37)
HSLhsl(89, 53%, 31%)
HSVhsv(89, 69%, 47%)
CMYKcmyk(33.6%, 0%, 68.9%, 53.3%)
CIE-LABlab(45.62, -28.34, 39.16)
CIE-LCHlch(45.62, 48.34, 125.90°)
OKLaboklab(52.16% -0.0797 0.0895)
OKLCHoklch(52.16% 0.12 131.7)
XYZxyz(10.1551, 14.9891, 4.1080)
Luminance0.1499 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F7725 #4D2577
analogous
#777625 #4F7725 #267725
triadic
#4F7725 #254F77 #77254F
tetradic
#4F7725 #257776 #4D2577 #772526
square
#4F7725 #257776 #4D2577 #772526
split-complementary
#4F7725 #252677 #762577
monochromatic
#111A08 #304816 #4F7725 #6EA634 #8DC84E

Accessibility & contrast

On white

5.25
#4F7725 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#4F7725 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F7725
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F7725#FFFFFF#000000##FFFFFF
##4F77251.005.254.005.25
#FFFFFF5.251.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6E1A
Deuteranopia (green-blind)
#776B2C
Tritanopia (blue-blind)
#507266
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #4f7725;
/* rgb */ color: rgb(79, 119, 37);
/* oklch */ color: oklch(52.2% 0.120 131.7);
Tailwind
colors: {
  custom: {
    50: '#849e64',
    500: '#4f7725',
    950: '#000000',
  },
}
SCSS
$custom: #4f7725;
$custom-light: #849e64;
$custom-dark: #000000;
JSON
{
  "hex": "#4f7725",
  "rgb": {
    "r": 79,
    "g": 119,
    "b": 37
  },
  "hsl": {
    "h": 89.268,
    "s": 52.564,
    "l": 30.588
  },
  "oklch": {
    "l": 0.5216,
    "c": 0.11984,
    "h": 131.7
  },
  "luminance": 0.14989
}

Semantic roles & 50–950 ramp

primary
#4F7725
secondary
#7B4EA9
accent
#4CDC92
background
#F8F9F6
surface
#EFF2EB
border
#CACCC6
text
#0B0E06
muted
#7C7E7A

Preview Lab

Preview with #4F7725

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

Preview Lab → · Contrast checker → · Palette generator →

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