#4F7B14#4F7B14

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

Color values

HEX#4F7B14
RGBrgb(79, 123, 20)
HSLhsl(86, 72%, 28%)
HSVhsv(86, 84%, 48%)
CMYKcmyk(35.8%, 0%, 83.7%, 51.8%)
CIE-LABlab(46.81, -31.35, 46.73)
CIE-LCHlch(46.81, 56.27, 123.85°)
OKLaboklab(53.1% -0.0892 0.1027)
OKLCHoklch(53.1% 0.136 131)
XYZxyz(10.4336, 15.8783, 3.1768)
Luminance0.1588 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F7B14 #40147B
analogous
#7B7314 #4F7B14 #1B7B14
triadic
#4F7B14 #144F7B #7B144F
tetradic
#4F7B14 #147B73 #40147B #7B141B
square
#4F7B14 #147B73 #40147B #7B141B
split-complementary
#4F7B14 #141B7B #73147B
monochromatic
#111A04 #2D460B #4F7B14 #71B01D #92DD2D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4F7B14#FFFFFF#000000##FFFFFF
##4F7B141.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)
#7B6E20
Tritanopia (blue-blind)
#517568
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #4f7b14;
/* rgb */ color: rgb(79, 123, 20);
/* oklch */ color: oklch(53.1% 0.136 131.0);
Tailwind
colors: {
  custom: {
    50: '#85a15c',
    500: '#4f7b14',
    950: '#000000',
  },
}
SCSS
$custom: #4f7b14;
$custom-light: #85a15c;
$custom-dark: #000000;
JSON
{
  "hex": "#4f7b14",
  "rgb": {
    "r": 79,
    "g": 123,
    "b": 20
  },
  "hsl": {
    "h": 85.631,
    "s": 72.028,
    "l": 28.039
  },
  "oklch": {
    "l": 0.53099,
    "c": 0.13601,
    "h": 131
  },
  "luminance": 0.15879
}

Semantic roles & 50–950 ramp

primary
#4F7B14
secondary
#6D3AB1
accent
#39EF87
background
#F8F9F5
surface
#F0F2E9
border
#CBCCC5
text
#0B0F04
muted
#7C7E79

Preview Lab

Preview with #4F7B14

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

Preview Lab → · Contrast checker → · Palette generator →

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