#4F6F17#4F6F17

#4F6F17 is a mid, moderate yellow-green. Relative luminance 0.131; OKLCH L 49.9% C 0.119 H 128.0°. Best body text is #FFFFFF at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#4F6F17
RGBrgb(79, 111, 23)
HSLhsl(82, 66%, 26%)
HSVhsv(82, 79%, 44%)
CMYKcmyk(28.8%, 0%, 79.3%, 56.5%)
CIE-LABlab(42.90, -25.46, 42.10)
CIE-LCHlch(42.90, 49.20, 121.16°)
OKLaboklab(49.92% -0.0731 0.0934)
OKLCHoklch(49.92% 0.119 128)
XYZxyz(9.0636, 13.0928, 2.8601)
Luminance0.1309 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F6F17 #37176F
analogous
#6F6317 #4F6F17 #236F17
triadic
#4F6F17 #174F6F #6F174F
tetradic
#4F6F17 #176F63 #37176F #6F1723
square
#4F6F17 #176F63 #37176F #6F1723
split-complementary
#4F6F17 #17236F #63176F
monochromatic
#121905 #2B3C0C #4F6F17 #73A222 #97D32D

Accessibility & contrast

On white

5.80
#4F6F17 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#4F6F17 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F6F17
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F6F17#FFFFFF#000000##FFFFFF
##4F6F171.005.803.625.80
#FFFFFF5.801.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#756703
Deuteranopia (green-blind)
#706520
Tritanopia (blue-blind)
#526A5E
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #4f6f17;
/* rgb */ color: rgb(79, 111, 23);
/* oklch */ color: oklch(49.9% 0.119 128.0);
Tailwind
colors: {
  custom: {
    50: '#84985c',
    500: '#4f6f17',
    950: '#000000',
  },
}
SCSS
$custom: #4f6f17;
$custom-light: #84985c;
$custom-dark: #000000;
JSON
{
  "hex": "#4f6f17",
  "rgb": {
    "r": 79,
    "g": 111,
    "b": 23
  },
  "hsl": {
    "h": 81.818,
    "s": 65.672,
    "l": 26.275
  },
  "oklch": {
    "l": 0.49918,
    "c": 0.11861,
    "h": 128
  },
  "luminance": 0.13093
}

Semantic roles & 50–950 ramp

primary
#4F6F17
secondary
#633DA5
accent
#3FE97D
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0D04
muted
#7C7E79

Preview Lab

Preview with #4F6F17

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

Preview Lab → · Contrast checker → · Palette generator →

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