#4F7925#4F7925

#4F7925 is a mid, vivid yellow-green. Relative luminance 0.155; OKLCH L 52.7% C 0.123 H 132.1°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#4F7925
RGBrgb(79, 121, 37)
HSLhsl(90, 53%, 31%)
HSVhsv(90, 69%, 47%)
CMYKcmyk(34.7%, 0%, 69.4%, 52.5%)
CIE-LABlab(46.27, -29.30, 39.85)
CIE-LCHlch(46.27, 49.46, 126.32°)
OKLaboklab(52.69% -0.0823 0.0909)
OKLCHoklch(52.69% 0.123 132.1)
XYZxyz(10.3956, 15.4702, 4.1882)
Luminance0.1547 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F7925 #4F2579
analogous
#797925 #4F7925 #257925
triadic
#4F7925 #254F79 #79254F
tetradic
#4F7925 #257979 #4F2579 #792525
square
#4F7925 #257979 #4F2579 #792525
split-complementary
#4F7925 #252579 #792579
monochromatic
#121B08 #304A17 #4F7925 #6EA833 #8CC94F

Accessibility & contrast

On white

5.13
#4F7925 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#4F7925 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F7925
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F7925#FFFFFF#000000##FFFFFF
##4F79251.005.134.095.13
#FFFFFF5.131.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E7019
Deuteranopia (green-blind)
#786C2C
Tritanopia (blue-blind)
#507468
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #4f7925;
/* rgb */ color: rgb(79, 121, 37);
/* oklch */ color: oklch(52.7% 0.123 132.1);
Tailwind
colors: {
  custom: {
    50: '#84a064',
    500: '#4f7925',
    950: '#000000',
  },
}
SCSS
$custom: #4f7925;
$custom-light: #84a064;
$custom-dark: #000000;
JSON
{
  "hex": "#4f7925",
  "rgb": {
    "r": 79,
    "g": 121,
    "b": 37
  },
  "hsl": {
    "h": 90,
    "s": 53.165,
    "l": 30.98
  },
  "oklch": {
    "l": 0.52691,
    "c": 0.12266,
    "h": 132.1
  },
  "luminance": 0.15471
}

Semantic roles & 50–950 ramp

primary
#4F7925
secondary
#7D4EAB
accent
#4BDD94
background
#F8F9F6
surface
#EFF2EB
border
#CACCC6
text
#0B0E06
muted
#7C7E7A

Preview Lab

Preview with #4F7925

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

Preview Lab → · Contrast checker → · Palette generator →

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