#4F6817#4F6817

#4F6817 is a mid, moderate yellow-green. Relative luminance 0.116; OKLCH L 48.1% C 0.109 H 125.5°. Best body text is #FFFFFF at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#4F6817
RGBrgb(79, 104, 23)
HSLhsl(79, 64%, 25%)
HSVhsv(79, 78%, 41%)
CMYKcmyk(24%, 0%, 77.9%, 59.2%)
CIE-LABlab(40.61, -21.93, 39.90)
CIE-LCHlch(40.61, 45.53, 118.79°)
OKLaboklab(48.06% -0.0634 0.0888)
OKLCHoklch(48.06% 0.109 125.5)
XYZxyz(8.3295, 11.6246, 2.6154)
Luminance0.1163 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F6817 #301768
analogous
#685917 #4F6817 #266817
triadic
#4F6817 #174F68 #68174F
tetradic
#4F6817 #176859 #301768 #681726
square
#4F6817 #176859 #301768 #681726
split-complementary
#4F6817 #172668 #591768
monochromatic
#131906 #29360C #4F6817 #759A22 #9BCC2D

Accessibility & contrast

On white

6.32
#4F6817 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #4F6817
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F6817#FFFFFF#000000##FFFFFF
##4F68171.006.323.336.32
#FFFFFF6.321.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6E6107
Deuteranopia (green-blind)
#6B5F1E
Tritanopia (blue-blind)
#536358
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #4f6817;
/* rgb */ color: rgb(79, 104, 23);
/* oklch */ color: oklch(48.1% 0.109 125.5);
Tailwind
colors: {
  custom: {
    50: '#83935b',
    500: '#4f6817',
    950: '#000000',
  },
}
SCSS
$custom: #4f6817;
$custom-light: #83935b;
$custom-dark: #000000;
JSON
{
  "hex": "#4f6817",
  "rgb": {
    "r": 79,
    "g": 104,
    "b": 23
  },
  "hsl": {
    "h": 78.519,
    "s": 63.78,
    "l": 24.902
  },
  "oklch": {
    "l": 0.4806,
    "c": 0.10915,
    "h": 125.5
  },
  "luminance": 0.11625
}

Semantic roles & 50–950 ramp

primary
#4F6817
secondary
#5B3D9E
accent
#41E774
background
#F8F9F5
surface
#EFF1E9
border
#CACBC5
text
#0B0D04
muted
#7C7E79

Preview Lab

Preview with #4F6817

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

Preview Lab → · Contrast checker → · Palette generator →

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