#4F6617#4F6617

#4F6617 is a mid, moderate yellow-green. Relative luminance 0.112; OKLCH L 47.5% C 0.106 H 124.7°. Best body text is #FFFFFF at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#4F6617
RGBrgb(79, 102, 23)
HSLhsl(77, 63%, 25%)
HSVhsv(77, 77%, 40%)
CMYKcmyk(22.5%, 0%, 77.5%, 60%)
CIE-LABlab(39.96, -20.90, 39.27)
CIE-LCHlch(39.96, 44.48, 118.02°)
OKLaboklab(47.53% -0.0606 0.0875)
OKLCHoklch(47.53% 0.106 124.7)
XYZxyz(8.1305, 11.2268, 2.5491)
Luminance0.1123 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F6617 #2E1766
analogous
#665617 #4F6617 #286617
triadic
#4F6617 #174F66 #66174F
tetradic
#4F6617 #176656 #2E1766 #661728
square
#4F6617 #176656 #2E1766 #661728
split-complementary
#4F6617 #172866 #561766
monochromatic
#131906 #28340C #4F6617 #769822 #9CCA2E

Accessibility & contrast

On white

6.47
#4F6617 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#4F6617 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F6617
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F6617#FFFFFF#000000##FFFFFF
##4F66171.006.473.256.47
#FFFFFF6.471.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C5F08
Deuteranopia (green-blind)
#695E1E
Tritanopia (blue-blind)
#536157
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #4f6617;
/* rgb */ color: rgb(79, 102, 23);
/* oklch */ color: oklch(47.5% 0.106 124.7);
Tailwind
colors: {
  custom: {
    50: '#83915a',
    500: '#4f6617',
    950: '#000000',
  },
}
SCSS
$custom: #4f6617;
$custom-light: #83915a;
$custom-dark: #000000;
JSON
{
  "hex": "#4f6617",
  "rgb": {
    "r": 79,
    "g": 102,
    "b": 23
  },
  "hsl": {
    "h": 77.468,
    "s": 63.2,
    "l": 24.51
  },
  "oklch": {
    "l": 0.47531,
    "c": 0.10643,
    "h": 124.7
  },
  "luminance": 0.11227
}

Semantic roles & 50–950 ramp

primary
#4F6617
secondary
#583C9C
accent
#42E672
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0B0C04
muted
#7C7D79

Preview Lab

Preview with #4F6617

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

Preview Lab → · Contrast checker → · Palette generator →

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