#4F6B17#4F6B17

#4F6B17 is a mid, moderate yellow-green. Relative luminance 0.122; OKLCH L 48.9% C 0.113 H 126.7°. Best body text is #FFFFFF at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#4F6B17
RGBrgb(79, 107, 23)
HSLhsl(80, 65%, 25%)
HSVhsv(80, 79%, 42%)
CMYKcmyk(26.2%, 0%, 78.5%, 58%)
CIE-LABlab(41.59, -23.46, 40.85)
CIE-LCHlch(41.59, 47.11, 119.87°)
OKLaboklab(48.86% -0.0676 0.0908)
OKLCHoklch(48.86% 0.113 126.7)
XYZxyz(8.6368, 12.2394, 2.7178)
Luminance0.1224 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F6B17 #33176B
analogous
#6B5D17 #4F6B17 #256B17
triadic
#4F6B17 #174F6B #6B174F
tetradic
#4F6B17 #176B5D #33176B #6B1725
square
#4F6B17 #176B5D #33176B #6B1725
split-complementary
#4F6B17 #17256B #5D176B
monochromatic
#131905 #2A390C #4F6B17 #749D22 #99D02D

Accessibility & contrast

On white

6.09
#4F6B17 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#4F6B17 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F6B17
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F6B17#FFFFFF#000000##FFFFFF
##4F6B171.006.093.456.09
#FFFFFF6.091.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#716305
Deuteranopia (green-blind)
#6D621F
Tritanopia (blue-blind)
#52665B
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #4f6b17;
/* rgb */ color: rgb(79, 107, 23);
/* oklch */ color: oklch(48.9% 0.113 126.7);
Tailwind
colors: {
  custom: {
    50: '#83955b',
    500: '#4f6b17',
    950: '#000000',
  },
}
SCSS
$custom: #4f6b17;
$custom-light: #83955b;
$custom-dark: #000000;
JSON
{
  "hex": "#4f6b17",
  "rgb": {
    "r": 79,
    "g": 107,
    "b": 23
  },
  "hsl": {
    "h": 80,
    "s": 64.615,
    "l": 25.49
  },
  "oklch": {
    "l": 0.48855,
    "c": 0.11321,
    "h": 126.7
  },
  "luminance": 0.1224
}

Semantic roles & 50–950 ramp

primary
#4F6B17
secondary
#5E3DA1
accent
#40E878
background
#F8F9F5
surface
#EFF1E9
border
#CACBC5
text
#0B0D04
muted
#7C7E79

Preview Lab

Preview with #4F6B17

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

Preview Lab → · Contrast checker → · Palette generator →

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