#4F7219#4F7219

#4F7219 is a mid, vivid yellow-green. Relative luminance 0.138; OKLCH L 50.7% C 0.121 H 129.1°. Best body text is #FFFFFF at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#4F7219
RGBrgb(79, 114, 25)
HSLhsl(84, 64%, 27%)
HSVhsv(84, 78%, 45%)
CMYKcmyk(30.7%, 0%, 78.1%, 55.3%)
CIE-LABlab(43.90, -26.81, 42.33)
CIE-LCHlch(43.90, 50.10, 122.35°)
OKLaboklab(50.73% -0.0766 0.0943)
OKLCHoklch(50.73% 0.121 129.1)
XYZxyz(9.4172, 13.7668, 3.0806)
Luminance0.1377 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F7219 #3C1972
analogous
#726919 #4F7219 #227219
triadic
#4F7219 #194F72 #72194F
tetradic
#4F7219 #197269 #3C1972 #721922
square
#4F7219 #197269 #3C1972 #721922
split-complementary
#4F7219 #192272 #691972
monochromatic
#111906 #2C400E #4F7219 #72A424 #94D233

Accessibility & contrast

On white

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

On black

3.75
#4F7219 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##4F7219#FFFFFF#000000##FFFFFF
##4F72191.005.593.755.59
#FFFFFF5.591.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786906
Deuteranopia (green-blind)
#736722
Tritanopia (blue-blind)
#526D61
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #4f7219;
/* rgb */ color: rgb(79, 114, 25);
/* oklch */ color: oklch(50.7% 0.121 129.1);
Tailwind
colors: {
  custom: {
    50: '#849a5d',
    500: '#4f7219',
    950: '#000000',
  },
}
SCSS
$custom: #4f7219;
$custom-light: #849a5d;
$custom-dark: #000000;
JSON
{
  "hex": "#4f7219",
  "rgb": {
    "r": 79,
    "g": 114,
    "b": 25
  },
  "hsl": {
    "h": 83.596,
    "s": 64.029,
    "l": 27.255
  },
  "oklch": {
    "l": 0.5073,
    "c": 0.12143,
    "h": 129.1
  },
  "luminance": 0.13767
}

Semantic roles & 50–950 ramp

primary
#4F7219
secondary
#6840A7
accent
#41E782
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0E04
muted
#7C7E79

Preview Lab

Preview with #4F7219

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

Preview Lab → · Contrast checker → · Palette generator →

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