#4F7519#4F7519

#4F7519 is a mid, vivid yellow-green. Relative luminance 0.145; OKLCH L 51.5% C 0.125 H 129.9°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#4F7519
RGBrgb(79, 117, 25)
HSLhsl(85, 65%, 28%)
HSVhsv(85, 79%, 46%)
CMYKcmyk(32.5%, 0%, 78.6%, 54.1%)
CIE-LABlab(44.88, -28.26, 43.27)
CIE-LCHlch(44.88, 51.68, 123.14°)
OKLaboklab(51.53% -0.0805 0.0962)
OKLCHoklch(51.53% 0.125 129.9)
XYZxyz(9.7612, 14.4547, 3.1953)
Luminance0.1446 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F7519 #3F1975
analogous
#756D19 #4F7519 #217519
triadic
#4F7519 #194F75 #75194F
tetradic
#4F7519 #19756D #3F1975 #751921
square
#4F7519 #19756D #3F1975 #751921
split-complementary
#4F7519 #192175 #6D1975
monochromatic
#111905 #2D430E #4F7519 #71A724 #92D435

Accessibility & contrast

On white

5.40
#4F7519 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#4F7519 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F7519
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F7519#FFFFFF#000000##FFFFFF
##4F75191.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4f7519;
/* rgb */ color: rgb(79, 117, 25);
/* oklch */ color: oklch(51.5% 0.125 129.9);
Tailwind
colors: {
  custom: {
    50: '#849d5d',
    500: '#4f7519',
    950: '#000000',
  },
}
SCSS
$custom: #4f7519;
$custom-light: #849d5d;
$custom-dark: #000000;
JSON
{
  "hex": "#4f7519",
  "rgb": {
    "r": 79,
    "g": 117,
    "b": 25
  },
  "hsl": {
    "h": 84.783,
    "s": 64.789,
    "l": 27.843
  },
  "oklch": {
    "l": 0.51529,
    "c": 0.12546,
    "h": 129.9
  },
  "luminance": 0.14455
}

Semantic roles & 50–950 ramp

primary
#4F7519
secondary
#6C40AA
accent
#40E885
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0E05
muted
#7C7E79

Preview Lab

Preview with #4F7519

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

Preview Lab → · Contrast checker → · Palette generator →

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