#4F7317#4F7317

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

Color values

HEX#4F7317
RGBrgb(79, 115, 23)
HSLhsl(83, 67%, 27%)
HSVhsv(83, 80%, 45%)
CMYKcmyk(31.3%, 0%, 80%, 54.9%)
CIE-LABlab(44.21, -27.41, 43.35)
CIE-LCHlch(44.21, 51.29, 122.31°)
OKLaboklab(50.98% -0.0784 0.0961)
OKLCHoklch(50.98% 0.124 129.2)
XYZxyz(9.5098, 13.9853, 3.0088)
Luminance0.1399 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F7317 #3B1773
analogous
#736917 #4F7317 #217317
triadic
#4F7317 #174F73 #73174F
tetradic
#4F7317 #177369 #3B1773 #731721
square
#4F7317 #177369 #3B1773 #731721
split-complementary
#4F7317 #172173 #691773
monochromatic
#121A05 #2C400D #4F7317 #72A621 #94D52F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4F7317#FFFFFF#000000##FFFFFF
##4F73171.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)
#796A02
Deuteranopia (green-blind)
#746820
Tritanopia (blue-blind)
#526E62
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #4f7317;
/* rgb */ color: rgb(79, 115, 23);
/* oklch */ color: oklch(51.0% 0.124 129.2);
Tailwind
colors: {
  custom: {
    50: '#849b5c',
    500: '#4f7317',
    950: '#000000',
  },
}
SCSS
$custom: #4f7317;
$custom-light: #849b5c;
$custom-dark: #000000;
JSON
{
  "hex": "#4f7317",
  "rgb": {
    "r": 79,
    "g": 115,
    "b": 23
  },
  "hsl": {
    "h": 83.478,
    "s": 66.667,
    "l": 27.059
  },
  "oklch": {
    "l": 0.50982,
    "c": 0.12396,
    "h": 129.2
  },
  "luminance": 0.13986
}

Semantic roles & 50–950 ramp

primary
#4F7317
secondary
#673DA9
accent
#3EEA81
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0E04
muted
#7C7E79

Preview Lab

Preview with #4F7317

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

Preview Lab → · Contrast checker → · Palette generator →

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