#4F7514#4F7514

#4F7514 is a mid, vivid yellow-green. Relative luminance 0.144; OKLCH L 51.5% C 0.128 H 129.5°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#4F7514
RGBrgb(79, 117, 20)
HSLhsl(84, 71%, 27%)
HSVhsv(84, 83%, 46%)
CMYKcmyk(32.5%, 0%, 82.9%, 54.1%)
CIE-LABlab(44.85, -28.53, 44.94)
CIE-LCHlch(44.85, 53.23, 122.41°)
OKLaboklab(51.5% -0.0816 0.0989)
OKLCHoklch(51.5% 0.128 129.5)
XYZxyz(9.7120, 14.4351, 2.9362)
Luminance0.1444 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F7514 #3A1475
analogous
#756B14 #4F7514 #1F7514
triadic
#4F7514 #144F75 #75144F
tetradic
#4F7514 #14756B #3A1475 #75141F
square
#4F7514 #14756B #3A1475 #75141F
split-complementary
#4F7514 #141F75 #6B1475
monochromatic
#121A04 #2C410B #4F7514 #72A91D #95DA29

Accessibility & contrast

On white

5.40
#4F7514 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#4F7514 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F7514
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F7514#FFFFFF#000000##FFFFFF
##4F75141.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6C00
Deuteranopia (green-blind)
#76691F
Tritanopia (blue-blind)
#516F63
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #4f7514;
/* rgb */ color: rgb(79, 117, 20);
/* oklch */ color: oklch(51.5% 0.128 129.5);
Tailwind
colors: {
  custom: {
    50: '#849d5b',
    500: '#4f7514',
    950: '#000000',
  },
}
SCSS
$custom: #4f7514;
$custom-light: #849d5b;
$custom-dark: #000000;
JSON
{
  "hex": "#4f7514",
  "rgb": {
    "r": 79,
    "g": 117,
    "b": 20
  },
  "hsl": {
    "h": 83.505,
    "s": 70.803,
    "l": 26.863
  },
  "oklch": {
    "l": 0.51497,
    "c": 0.12822,
    "h": 129.5
  },
  "luminance": 0.14435
}

Semantic roles & 50–950 ramp

primary
#4F7514
secondary
#663AAB
accent
#3AEE80
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0E04
muted
#7C7E79

Preview Lab

Preview with #4F7514

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

Preview Lab → · Contrast checker → · Palette generator →

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