#4F6718#4F6718

#4F6718 is a mid, moderate yellow-green. Relative luminance 0.114; OKLCH L 47.8% C 0.107 H 125.2°. Best body text is #FFFFFF at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#4F6718
RGBrgb(79, 103, 24)
HSLhsl(78, 62%, 25%)
HSVhsv(78, 77%, 40%)
CMYKcmyk(23.3%, 0%, 76.7%, 59.6%)
CIE-LABlab(40.29, -21.35, 39.20)
CIE-LCHlch(40.29, 44.64, 118.58°)
OKLaboklab(47.8% -0.0618 0.0875)
OKLCHoklch(47.8% 0.107 125.2)
XYZxyz(8.2396, 11.4286, 2.6358)
Luminance0.1143 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F6718 #301867
analogous
#675818 #4F6718 #276718
triadic
#4F6718 #184F67 #67184F
tetradic
#4F6718 #186758 #301867 #671827
square
#4F6718 #186758 #301867 #671827
split-complementary
#4F6718 #182767 #581867
monochromatic
#131906 #29350C #4F6718 #759924 #9BCA2F

Accessibility & contrast

On white

6.39
#4F6718 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#4F6718 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F6718
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F6718#FFFFFF#000000##FFFFFF
##4F67181.006.393.296.39
#FFFFFF6.391.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6D6009
Deuteranopia (green-blind)
#6A5F1F
Tritanopia (blue-blind)
#536258
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #4f6718;
/* rgb */ color: rgb(79, 103, 24);
/* oklch */ color: oklch(47.8% 0.107 125.2);
Tailwind
colors: {
  custom: {
    50: '#83925b',
    500: '#4f6718',
    950: '#000000',
  },
}
SCSS
$custom: #4f6718;
$custom-light: #83925b;
$custom-dark: #000000;
JSON
{
  "hex": "#4f6718",
  "rgb": {
    "r": 79,
    "g": 103,
    "b": 24
  },
  "hsl": {
    "h": 78.228,
    "s": 62.205,
    "l": 24.902
  },
  "oklch": {
    "l": 0.47803,
    "c": 0.10712,
    "h": 125.2
  },
  "luminance": 0.11429
}

Semantic roles & 50–950 ramp

primary
#4F6718
secondary
#5B3E9D
accent
#43E574
background
#F8F9F5
surface
#EFF1E9
border
#CACBC5
text
#0B0D04
muted
#7C7E79

Preview Lab

Preview with #4F6718

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

Preview Lab → · Contrast checker → · Palette generator →

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