#4F7520#4F7520

#4F7520 is a mid, vivid yellow-green. Relative luminance 0.145; OKLCH L 51.6% C 0.121 H 130.6°. Best body text is #FFFFFF at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#4F7520
RGBrgb(79, 117, 32)
HSLhsl(87, 57%, 29%)
HSVhsv(87, 73%, 46%)
CMYKcmyk(32.5%, 0%, 72.6%, 54.1%)
CIE-LABlab(44.93, -27.78, 40.59)
CIE-LCHlch(44.93, 49.19, 124.39°)
OKLaboklab(51.58% -0.0786 0.0918)
OKLCHoklch(51.58% 0.121 130.6)
XYZxyz(9.8464, 14.4888, 3.6441)
Luminance0.1449 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F7520 #462075
analogous
#757120 #4F7520 #247520
triadic
#4F7520 #204F75 #75204F
tetradic
#4F7520 #207571 #462075 #752024
square
#4F7520 #207571 #462075 #752024
split-complementary
#4F7520 #202475 #712075
monochromatic
#101807 #2F4513 #4F7520 #6FA52D #8FCC44

Accessibility & contrast

On white

5.39
#4F7520 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#4F7520 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F7520
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F7520#FFFFFF#000000##FFFFFF
##4F75201.005.393.905.39
#FFFFFF5.391.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6C13
Deuteranopia (green-blind)
#756927
Tritanopia (blue-blind)
#517064
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #4f7520;
/* rgb */ color: rgb(79, 117, 32);
/* oklch */ color: oklch(51.6% 0.121 130.6);
Tailwind
colors: {
  custom: {
    50: '#849d61',
    500: '#4f7520',
    950: '#000000',
  },
}
SCSS
$custom: #4f7520;
$custom-light: #849d61;
$custom-dark: #000000;
JSON
{
  "hex": "#4f7520",
  "rgb": {
    "r": 79,
    "g": 117,
    "b": 32
  },
  "hsl": {
    "h": 86.824,
    "s": 57.047,
    "l": 29.216
  },
  "oklch": {
    "l": 0.51583,
    "c": 0.12083,
    "h": 130.6
  },
  "luminance": 0.14489
}

Semantic roles & 50–950 ramp

primary
#4F7520
secondary
#7348A8
accent
#47E08C
background
#F8F9F5
surface
#EFF2EA
border
#CACCC6
text
#0B0E05
muted
#7C7E79

Preview Lab

Preview with #4F7520

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

Preview Lab → · Contrast checker → · Palette generator →

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