#4F7415#4F7415

#4F7415 is a mid, vivid yellow-green. Relative luminance 0.142; OKLCH L 51.2% C 0.126 H 129.3°. Best body text is #FFFFFF at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#4F7415
RGBrgb(79, 116, 21)
HSLhsl(83, 69%, 27%)
HSVhsv(83, 82%, 45%)
CMYKcmyk(31.9%, 0%, 81.9%, 54.5%)
CIE-LABlab(44.53, -28.00, 44.32)
CIE-LCHlch(44.53, 52.43, 122.29°)
OKLaboklab(51.24% -0.0801 0.0978)
OKLCHoklch(51.24% 0.126 129.3)
XYZxyz(9.6052, 14.2069, 2.9455)
Luminance0.1421 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F7415 #3A1574
analogous
#746A15 #4F7415 #207415
triadic
#4F7415 #154F74 #74154F
tetradic
#4F7415 #15746A #3A1574 #741520
square
#4F7415 #15746A #3A1574 #741520
split-complementary
#4F7415 #152074 #6A1574
monochromatic
#121A05 #2C400C #4F7415 #72A81E #95D92B

Accessibility & contrast

On white

5.47
#4F7415 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#4F7415 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F7415
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F7415#FFFFFF#000000##FFFFFF
##4F74151.005.473.845.47
#FFFFFF5.471.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6B00
Deuteranopia (green-blind)
#75681F
Tritanopia (blue-blind)
#526F62
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #4f7415;
/* rgb */ color: rgb(79, 116, 21);
/* oklch */ color: oklch(51.2% 0.126 129.3);
Tailwind
colors: {
  custom: {
    50: '#849c5b',
    500: '#4f7415',
    950: '#000000',
  },
}
SCSS
$custom: #4f7415;
$custom-light: #849c5b;
$custom-dark: #000000;
JSON
{
  "hex": "#4f7415",
  "rgb": {
    "r": 79,
    "g": 116,
    "b": 21
  },
  "hsl": {
    "h": 83.368,
    "s": 69.343,
    "l": 26.863
  },
  "oklch": {
    "l": 0.51236,
    "c": 0.12639,
    "h": 129.3
  },
  "luminance": 0.14207
}

Semantic roles & 50–950 ramp

primary
#4F7415
secondary
#663BAA
accent
#3CEC80
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0E04
muted
#7C7E79

Preview Lab

Preview with #4F7415

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

Preview Lab → · Contrast checker → · Palette generator →

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