#4F7117#4F7117

#4F7117 is a mid, vivid yellow-green. Relative luminance 0.135; OKLCH L 50.4% C 0.121 H 128.6°. Best body text is #FFFFFF at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#4F7117
RGBrgb(79, 113, 23)
HSLhsl(83, 66%, 27%)
HSVhsv(83, 80%, 44%)
CMYKcmyk(30.1%, 0%, 79.6%, 55.7%)
CIE-LABlab(43.56, -26.44, 42.73)
CIE-LCHlch(43.56, 50.25, 121.75°)
OKLaboklab(50.45% -0.0757 0.0948)
OKLCHoklch(50.45% 0.121 128.6)
XYZxyz(9.2842, 13.5341, 2.9336)
Luminance0.1353 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F7117 #391771
analogous
#716617 #4F7117 #227117
triadic
#4F7117 #174F71 #71174F
tetradic
#4F7117 #177166 #391771 #711722
square
#4F7117 #177166 #391771 #711722
split-complementary
#4F7117 #172271 #661771
monochromatic
#121905 #2B3E0D #4F7117 #73A421 #96D42E

Accessibility & contrast

On white

5.67
#4F7117 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#4F7117 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F7117
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F7117#FFFFFF#000000##FFFFFF
##4F71171.005.673.715.67
#FFFFFF5.671.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776803
Deuteranopia (green-blind)
#726620
Tritanopia (blue-blind)
#526C60
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #4f7117;
/* rgb */ color: rgb(79, 113, 23);
/* oklch */ color: oklch(50.4% 0.121 128.6);
Tailwind
colors: {
  custom: {
    50: '#849a5c',
    500: '#4f7117',
    950: '#000000',
  },
}
SCSS
$custom: #4f7117;
$custom-light: #849a5c;
$custom-dark: #000000;
JSON
{
  "hex": "#4f7117",
  "rgb": {
    "r": 79,
    "g": 113,
    "b": 23
  },
  "hsl": {
    "h": 82.667,
    "s": 66.176,
    "l": 26.667
  },
  "oklch": {
    "l": 0.5045,
    "c": 0.1213,
    "h": 128.6
  },
  "luminance": 0.13534
}

Semantic roles & 50–950 ramp

primary
#4F7117
secondary
#653DA7
accent
#3FE97F
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0E04
muted
#7C7E79

Preview Lab

Preview with #4F7117

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

Preview Lab → · Contrast checker → · Palette generator →

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