#4F7319#4F7319

#4F7319 is a mid, vivid yellow-green. Relative luminance 0.140; OKLCH L 51.0% C 0.123 H 129.4°. Best body text is #FFFFFF at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#4F7319
RGBrgb(79, 115, 25)
HSLhsl(84, 64%, 27%)
HSVhsv(84, 78%, 45%)
CMYKcmyk(31.3%, 0%, 78.3%, 54.9%)
CIE-LABlab(44.22, -27.30, 42.64)
CIE-LCHlch(44.22, 50.63, 122.62°)
OKLaboklab(51% -0.0779 0.0949)
OKLCHoklch(51% 0.123 129.4)
XYZxyz(9.5306, 13.9936, 3.1184)
Luminance0.1399 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F7319 #3D1973
analogous
#736A19 #4F7319 #227319
triadic
#4F7319 #194F73 #73194F
tetradic
#4F7319 #19736A #3D1973 #731922
square
#4F7319 #19736A #3D1973 #731922
split-complementary
#4F7319 #192273 #6A1973
monochromatic
#111905 #2C410E #4F7319 #72A524 #93D334

Accessibility & contrast

On white

5.53
#4F7319 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#4F7319 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F7319
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F7319#FFFFFF#000000##FFFFFF
##4F73191.005.533.805.53
#FFFFFF5.531.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796A06
Deuteranopia (green-blind)
#746822
Tritanopia (blue-blind)
#516E62
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #4f7319;
/* rgb */ color: rgb(79, 115, 25);
/* oklch */ color: oklch(51.0% 0.123 129.4);
Tailwind
colors: {
  custom: {
    50: '#849b5d',
    500: '#4f7319',
    950: '#000000',
  },
}
SCSS
$custom: #4f7319;
$custom-light: #849b5d;
$custom-dark: #000000;
JSON
{
  "hex": "#4f7319",
  "rgb": {
    "r": 79,
    "g": 115,
    "b": 25
  },
  "hsl": {
    "h": 84,
    "s": 64.286,
    "l": 27.451
  },
  "oklch": {
    "l": 0.50996,
    "c": 0.12277,
    "h": 129.4
  },
  "luminance": 0.13994
}

Semantic roles & 50–950 ramp

primary
#4F7319
secondary
#6940A8
accent
#41E783
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0E05
muted
#7C7E79

Preview Lab

Preview with #4F7319

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

Preview Lab → · Contrast checker → · Palette generator →

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