#4F7C17#4F7C17

#4F7C17 is a mid, vivid yellow-green. Relative luminance 0.161; OKLCH L 53.4% C 0.136 H 131.4°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#4F7C17
RGBrgb(79, 124, 23)
HSLhsl(87, 69%, 29%)
HSVhsv(87, 81%, 49%)
CMYKcmyk(36.3%, 0%, 81.5%, 51.4%)
CIE-LABlab(47.16, -31.65, 46.11)
CIE-LCHlch(47.16, 55.93, 124.47°)
OKLaboklab(53.38% -0.0898 0.1019)
OKLCHoklch(53.38% 0.136 131.4)
XYZxyz(10.5867, 16.1390, 3.3678)
Luminance0.1614 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F7C17 #44177C
analogous
#7C7717 #4F7C17 #1D7C17
triadic
#4F7C17 #174F7C #7C174F
tetradic
#4F7C17 #177C77 #44177C #7C171D
square
#4F7C17 #177C77 #44177C #7C171D
split-complementary
#4F7C17 #171D7C #77177C
monochromatic
#101A05 #2E480D #4F7C17 #70B021 #90D934

Accessibility & contrast

On white

4.97
#4F7C17 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#4F7C17 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F7C17
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F7C17#FFFFFF#000000##FFFFFF
##4F7C171.004.974.234.97
#FFFFFF4.971.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827200
Deuteranopia (green-blind)
#7C6F22
Tritanopia (blue-blind)
#507669
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #4f7c17;
/* rgb */ color: rgb(79, 124, 23);
/* oklch */ color: oklch(53.4% 0.136 131.4);
Tailwind
colors: {
  custom: {
    50: '#85a25e',
    500: '#4f7c17',
    950: '#000000',
  },
}
SCSS
$custom: #4f7c17;
$custom-light: #85a25e;
$custom-dark: #000000;
JSON
{
  "hex": "#4f7c17",
  "rgb": {
    "r": 79,
    "g": 124,
    "b": 23
  },
  "hsl": {
    "h": 86.733,
    "s": 68.707,
    "l": 28.824
  },
  "oklch": {
    "l": 0.53383,
    "c": 0.13581,
    "h": 131.4
  },
  "luminance": 0.16139
}

Semantic roles & 50–950 ramp

primary
#4F7C17
secondary
#713EB1
accent
#3CEC8A
background
#F8FAF5
surface
#F0F3E9
border
#CBCDC5
text
#0B0F05
muted
#7C7F79

Preview Lab

Preview with #4F7C17

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

Preview Lab → · Contrast checker → · Palette generator →

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