#4F7B15#4F7B15

#4F7B15 is a mid, vivid yellow-green. Relative luminance 0.159; OKLCH L 53.1% C 0.136 H 131.1°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#4F7B15
RGBrgb(79, 123, 21)
HSLhsl(86, 71%, 28%)
HSVhsv(86, 83%, 48%)
CMYKcmyk(35.8%, 0%, 82.9%, 51.8%)
CIE-LABlab(46.82, -31.30, 46.43)
CIE-LCHlch(46.82, 55.99, 123.98°)
OKLaboklab(53.1% -0.089 0.1022)
OKLCHoklch(53.1% 0.136 131.1)
XYZxyz(10.4427, 15.8819, 3.2246)
Luminance0.1588 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F7B15 #41157B
analogous
#7B7415 #4F7B15 #1C7B15
triadic
#4F7B15 #154F7B #7B154F
tetradic
#4F7B15 #157B74 #41157B #7B151C
square
#4F7B15 #157B74 #41157B #7B151C
split-complementary
#4F7B15 #151C7B #74157B
monochromatic
#111A04 #2D470C #4F7B15 #71AF1E #91DB2F

Accessibility & contrast

On white

5.03
#4F7B15 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#4F7B15 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F7B15
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F7B15#FFFFFF#000000##FFFFFF
##4F7B151.005.034.185.03
#FFFFFF5.031.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817100
Deuteranopia (green-blind)
#7B6E21
Tritanopia (blue-blind)
#517568
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #4f7b15;
/* rgb */ color: rgb(79, 123, 21);
/* oklch */ color: oklch(53.1% 0.136 131.1);
Tailwind
colors: {
  custom: {
    50: '#85a15d',
    500: '#4f7b15',
    950: '#000000',
  },
}
SCSS
$custom: #4f7b15;
$custom-light: #85a15d;
$custom-dark: #000000;
JSON
{
  "hex": "#4f7b15",
  "rgb": {
    "r": 79,
    "g": 123,
    "b": 21
  },
  "hsl": {
    "h": 85.882,
    "s": 70.833,
    "l": 28.235
  },
  "oklch": {
    "l": 0.53104,
    "c": 0.13553,
    "h": 131.1
  },
  "luminance": 0.15882
}

Semantic roles & 50–950 ramp

primary
#4F7B15
secondary
#6E3BB0
accent
#3AEE88
background
#F8F9F5
surface
#F0F2E9
border
#CBCCC5
text
#0B0F05
muted
#7C7E79

Preview Lab

Preview with #4F7B15

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

Preview Lab → · Contrast checker → · Palette generator →

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