#4F681F#4F681F

#4F681F is a mid, moderate yellow-green. Relative luminance 0.117; OKLCH L 48.1% C 0.103 H 126.3°. Best body text is #FFFFFF at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#4F681F
RGBrgb(79, 104, 31)
HSLhsl(81, 54%, 26%)
HSVhsv(81, 70%, 41%)
CMYKcmyk(24%, 0%, 70.2%, 59.2%)
CIE-LABlab(40.67, -21.37, 36.62)
CIE-LCHlch(40.67, 42.40, 120.27°)
OKLaboklab(48.13% -0.0611 0.0833)
OKLCHoklch(48.13% 0.103 126.3)
XYZxyz(8.4221, 11.6617, 3.1033)
Luminance0.1166 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F681F #381F68
analogous
#685D1F #4F681F #2B681F
triadic
#4F681F #1F4F68 #681F4F
tetradic
#4F681F #1F685D #381F68 #681F2B
square
#4F681F #1F685D #381F68 #681F2B
split-complementary
#4F681F #1F2B68 #5D1F68
monochromatic
#121807 #2B3911 #4F681F #73972D #96C53C

Accessibility & contrast

On white

6.30
#4F681F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#4F681F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F681F
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F681F#FFFFFF#000000##FFFFFF
##4F681F1.006.303.336.30
#FFFFFF6.301.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6E6115
Deuteranopia (green-blind)
#6A5F25
Tritanopia (blue-blind)
#526359
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #4f681f;
/* rgb */ color: rgb(79, 104, 31);
/* oklch */ color: oklch(48.1% 0.103 126.3);
Tailwind
colors: {
  custom: {
    50: '#83935f',
    500: '#4f681f',
    950: '#000000',
  },
}
SCSS
$custom: #4f681f;
$custom-light: #83935f;
$custom-dark: #000000;
JSON
{
  "hex": "#4f681f",
  "rgb": {
    "r": 79,
    "g": 104,
    "b": 31
  },
  "hsl": {
    "h": 80.548,
    "s": 54.074,
    "l": 26.471
  },
  "oklch": {
    "l": 0.48128,
    "c": 0.1033,
    "h": 126.3
  },
  "luminance": 0.11662
}

Semantic roles & 50–950 ramp

primary
#4F681F
secondary
#64469C
accent
#4ADD7D
background
#F8F9F5
surface
#EFF1E9
border
#CACBC5
text
#0B0D05
muted
#7C7E79

Preview Lab

Preview with #4F681F

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

Preview Lab → · Contrast checker → · Palette generator →

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