#4F6A17#4F6A17

#4F6A17 is a mid, moderate yellow-green. Relative luminance 0.120; OKLCH L 48.6% C 0.112 H 126.3°. Best body text is #FFFFFF at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#4F6A17
RGBrgb(79, 106, 23)
HSLhsl(80, 64%, 25%)
HSVhsv(80, 78%, 42%)
CMYKcmyk(25.5%, 0%, 78.3%, 58.4%)
CIE-LABlab(41.27, -22.95, 40.53)
CIE-LCHlch(41.27, 46.58, 119.52°)
OKLaboklab(48.59% -0.0662 0.0901)
OKLCHoklch(48.59% 0.112 126.3)
XYZxyz(8.5332, 12.0321, 2.6833)
Luminance0.1203 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F6A17 #32176A
analogous
#6A5B17 #4F6A17 #256A17
triadic
#4F6A17 #174F6A #6A174F
tetradic
#4F6A17 #176A5B #32176A #6A1725
square
#4F6A17 #176A5B #32176A #6A1725
split-complementary
#4F6A17 #17256A #5B176A
monochromatic
#131905 #2A380C #4F6A17 #749C22 #9ACF2D

Accessibility & contrast

On white

6.16
#4F6A17 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#4F6A17 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F6A17
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F6A17#FFFFFF#000000##FFFFFF
##4F6A171.006.163.416.16
#FFFFFF6.161.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#706206
Deuteranopia (green-blind)
#6C611F
Tritanopia (blue-blind)
#53655A
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #4f6a17;
/* rgb */ color: rgb(79, 106, 23);
/* oklch */ color: oklch(48.6% 0.112 126.3);
Tailwind
colors: {
  custom: {
    50: '#83945b',
    500: '#4f6a17',
    950: '#000000',
  },
}
SCSS
$custom: #4f6a17;
$custom-light: #83945b;
$custom-dark: #000000;
JSON
{
  "hex": "#4f6a17",
  "rgb": {
    "r": 79,
    "g": 106,
    "b": 23
  },
  "hsl": {
    "h": 79.518,
    "s": 64.341,
    "l": 25.294
  },
  "oklch": {
    "l": 0.4859,
    "c": 0.11186,
    "h": 126.3
  },
  "luminance": 0.12032
}

Semantic roles & 50–950 ramp

primary
#4F6A17
secondary
#5D3DA0
accent
#40E777
background
#F8F9F5
surface
#EFF1E9
border
#CACBC5
text
#0B0D04
muted
#7C7E79

Preview Lab

Preview with #4F6A17

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

Preview Lab → · Contrast checker → · Palette generator →

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