#4F8319#4F8319

#4F8319 is a mid, vivid yellow-green. Relative luminance 0.180; OKLCH L 55.3% C 0.144 H 132.9°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#4F8319
RGBrgb(79, 131, 25)
HSLhsl(89, 68%, 31%)
HSVhsv(89, 81%, 51%)
CMYKcmyk(39.7%, 0%, 80.9%, 48.6%)
CIE-LABlab(49.45, -34.71, 47.60)
CIE-LCHlch(49.45, 58.92, 126.10°)
OKLaboklab(55.26% -0.0979 0.1053)
OKLCHoklch(55.26% 0.144 132.9)
XYZxyz(11.5161, 17.9645, 3.7802)
Luminance0.1797 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F8319 #4D1983
analogous
#838219 #4F8319 #1A8319
triadic
#4F8319 #194F83 #83194F
tetradic
#4F8319 #198382 #4D1983 #83191A
square
#4F8319 #198382 #4D1983 #83191A
split-complementary
#4F8319 #191A83 #821983
monochromatic
#111C05 #30500F #4F8319 #6EB623 #8DDA3D

Accessibility & contrast

On white

4.57
#4F8319 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.59
#4F8319 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F8319
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F8319#FFFFFF#000000##000000
##4F83191.004.574.594.59
#FFFFFF4.571.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#897800
Deuteranopia (green-blind)
#827425
Tritanopia (blue-blind)
#4F7D6F
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #4f8319;
/* rgb */ color: rgb(79, 131, 25);
/* oklch */ color: oklch(55.3% 0.144 132.9);
Tailwind
colors: {
  custom: {
    50: '#85a75f',
    500: '#4f8319',
    950: '#000000',
  },
}
SCSS
$custom: #4f8319;
$custom-light: #85a75f;
$custom-dark: #000000;
JSON
{
  "hex": "#4f8319",
  "rgb": {
    "r": 79,
    "g": 131,
    "b": 25
  },
  "hsl": {
    "h": 89.434,
    "s": 67.949,
    "l": 30.588
  },
  "oklch": {
    "l": 0.55263,
    "c": 0.14382,
    "h": 132.9
  },
  "luminance": 0.17965
}

Semantic roles & 50–950 ramp

primary
#4F8319
secondary
#7B41B7
accent
#3DEB92
background
#F8FAF5
surface
#F0F4EA
border
#CBCEC6
text
#0C0F05
muted
#7D7F79

Preview Lab

Preview with #4F8319

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

Preview Lab → · Contrast checker → · Palette generator →

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