#4F7313#4F7313

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

Color values

HEX#4F7313
RGBrgb(79, 115, 19)
HSLhsl(83, 72%, 26%)
HSVhsv(83, 83%, 45%)
CMYKcmyk(31.3%, 0%, 83.5%, 54.9%)
CIE-LABlab(44.19, -27.62, 44.65)
CIE-LCHlch(44.19, 52.50, 121.74°)
OKLaboklab(50.96% -0.0792 0.0981)
OKLCHoklch(50.96% 0.126 128.9)
XYZxyz(9.4727, 13.9705, 2.8135)
Luminance0.1397 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F7313 #371373
analogous
#736713 #4F7313 #1F7313
triadic
#4F7313 #134F73 #73134F
tetradic
#4F7313 #137367 #371373 #73131F
square
#4F7313 #137367 #371373 #73131F
split-complementary
#4F7313 #131F73 #671373
monochromatic
#121A04 #2B3E0A #4F7313 #73A81C #97DB25

Accessibility & contrast

On white

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

On black

3.79
#4F7313 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##4F7313#FFFFFF#000000##FFFFFF
##4F73131.005.533.795.53
#FFFFFF5.531.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796A00
Deuteranopia (green-blind)
#74681E
Tritanopia (blue-blind)
#526D62
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #4f7313;
/* rgb */ color: rgb(79, 115, 19);
/* oklch */ color: oklch(51.0% 0.126 128.9);
Tailwind
colors: {
  custom: {
    50: '#849b5a',
    500: '#4f7313',
    950: '#000000',
  },
}
SCSS
$custom: #4f7313;
$custom-light: #849b5a;
$custom-dark: #000000;
JSON
{
  "hex": "#4f7313",
  "rgb": {
    "r": 79,
    "g": 115,
    "b": 19
  },
  "hsl": {
    "h": 82.5,
    "s": 71.642,
    "l": 26.275
  },
  "oklch": {
    "l": 0.50958,
    "c": 0.12611,
    "h": 128.9
  },
  "luminance": 0.13971
}

Semantic roles & 50–950 ramp

primary
#4F7313
secondary
#6338AA
accent
#39EE7D
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0E04
muted
#7C7E79

Preview Lab

Preview with #4F7313

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

Preview Lab → · Contrast checker → · Palette generator →

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