#4F7D15#4F7D15

#4F7D15 is a mid, vivid yellow-green. Relative luminance 0.164; OKLCH L 53.6% C 0.138 H 131.5°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#4F7D15
RGBrgb(79, 125, 21)
HSLhsl(87, 71%, 29%)
HSVhsv(87, 83%, 49%)
CMYKcmyk(36.8%, 0%, 83.2%, 51%)
CIE-LABlab(47.47, -32.22, 47.03)
CIE-LCHlch(47.47, 57.00, 124.41°)
OKLaboklab(53.64% -0.0915 0.1035)
OKLCHoklch(53.64% 0.138 131.5)
XYZxyz(10.6933, 16.3832, 3.3082)
Luminance0.1638 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F7D15 #43157D
analogous
#7D7715 #4F7D15 #1B7D15
triadic
#4F7D15 #154F7D #7D154F
tetradic
#4F7D15 #157D77 #43157D #7D151B
square
#4F7D15 #157D77 #43157D #7D151B
split-complementary
#4F7D15 #151B7D #77157D
monochromatic
#111A04 #2E490C #4F7D15 #70B11E #90DC30

Accessibility & contrast

On white

4.91
#4F7D15 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#4F7D15 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F7D15
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F7D15#FFFFFF#000000##FFFFFF
##4F7D151.004.914.284.91
#FFFFFF4.911.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837300
Deuteranopia (green-blind)
#7D6F21
Tritanopia (blue-blind)
#50776A
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #4f7d15;
/* rgb */ color: rgb(79, 125, 21);
/* oklch */ color: oklch(53.6% 0.138 131.5);
Tailwind
colors: {
  custom: {
    50: '#85a35d',
    500: '#4f7d15',
    950: '#000000',
  },
}
SCSS
$custom: #4f7d15;
$custom-light: #85a35d;
$custom-dark: #000000;
JSON
{
  "hex": "#4f7d15",
  "rgb": {
    "r": 79,
    "g": 125,
    "b": 21
  },
  "hsl": {
    "h": 86.538,
    "s": 71.233,
    "l": 28.627
  },
  "oklch": {
    "l": 0.53638,
    "c": 0.13811,
    "h": 131.5
  },
  "luminance": 0.16384
}

Semantic roles & 50–950 ramp

primary
#4F7D15
secondary
#703CB2
accent
#3AEE8A
background
#F8FAF5
surface
#F0F3E9
border
#CBCDC5
text
#0B0F05
muted
#7C7F79

Preview Lab

Preview with #4F7D15

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

Preview Lab → · Contrast checker → · Palette generator →

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