#4F7314#4F7314

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

Color values

HEX#4F7314
RGBrgb(79, 115, 20)
HSLhsl(83, 70%, 26%)
HSVhsv(83, 83%, 45%)
CMYKcmyk(31.3%, 0%, 82.6%, 54.9%)
CIE-LABlab(44.20, -27.57, 44.34)
CIE-LCHlch(44.20, 52.21, 121.88°)
OKLaboklab(50.96% -0.079 0.0976)
OKLCHoklch(50.96% 0.126 129)
XYZxyz(9.4814, 13.9740, 2.8594)
Luminance0.1397 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F7314 #381473
analogous
#736814 #4F7314 #207314
triadic
#4F7314 #144F73 #73144F
tetradic
#4F7314 #147368 #381473 #731420
square
#4F7314 #147368 #381473 #731420
split-complementary
#4F7314 #142073 #681473
monochromatic
#121A05 #2B3F0B #4F7314 #73A71D #96DA28

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4F7314#FFFFFF#000000##FFFFFF
##4F73141.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)
#526E62
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #4f7314;
/* rgb */ color: rgb(79, 115, 20);
/* oklch */ color: oklch(51.0% 0.126 129.0);
Tailwind
colors: {
  custom: {
    50: '#849b5b',
    500: '#4f7314',
    950: '#000000',
  },
}
SCSS
$custom: #4f7314;
$custom-light: #849b5b;
$custom-dark: #000000;
JSON
{
  "hex": "#4f7314",
  "rgb": {
    "r": 79,
    "g": 115,
    "b": 20
  },
  "hsl": {
    "h": 82.737,
    "s": 70.37,
    "l": 26.471
  },
  "oklch": {
    "l": 0.50964,
    "c": 0.12559,
    "h": 129
  },
  "luminance": 0.13974
}

Semantic roles & 50–950 ramp

primary
#4F7314
secondary
#643AA9
accent
#3BED7E
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0E04
muted
#7C7E79

Preview Lab

Preview with #4F7314

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

Preview Lab → · Contrast checker → · Palette generator →

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