#4F6816#4F6816

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

Color values

HEX#4F6816
RGBrgb(79, 104, 22)
HSLhsl(78, 65%, 25%)
HSVhsv(78, 79%, 41%)
CMYKcmyk(24%, 0%, 78.8%, 59.2%)
CIE-LABlab(40.61, -21.99, 40.28)
CIE-LCHlch(40.61, 45.89, 118.64°)
OKLaboklab(48.05% -0.0637 0.0894)
OKLCHoklch(48.05% 0.11 125.5)
XYZxyz(8.3196, 11.6207, 2.5636)
Luminance0.1162 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F6816 #2F1668
analogous
#685816 #4F6816 #266816
triadic
#4F6816 #164F68 #68164F
tetradic
#4F6816 #166858 #2F1668 #681626
square
#4F6816 #166858 #2F1668 #681626
split-complementary
#4F6816 #162668 #581668
monochromatic
#131905 #29350B #4F6816 #759B21 #9CCD2B

Accessibility & contrast

On white

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

On black

3.32
#4F6816 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##4F6816#FFFFFF#000000##FFFFFF
##4F68161.006.323.326.32
#FFFFFF6.321.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.321.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4f6816;
/* rgb */ color: rgb(79, 104, 22);
/* oklch */ color: oklch(48.1% 0.110 125.5);
Tailwind
colors: {
  custom: {
    50: '#83935a',
    500: '#4f6816',
    950: '#000000',
  },
}
SCSS
$custom: #4f6816;
$custom-light: #83935a;
$custom-dark: #000000;
JSON
{
  "hex": "#4f6816",
  "rgb": {
    "r": 79,
    "g": 104,
    "b": 22
  },
  "hsl": {
    "h": 78.293,
    "s": 65.079,
    "l": 24.706
  },
  "oklch": {
    "l": 0.48053,
    "c": 0.10978,
    "h": 125.5
  },
  "luminance": 0.11621
}

Semantic roles & 50–950 ramp

primary
#4F6816
secondary
#5A3B9F
accent
#40E873
background
#F8F9F5
surface
#EFF1E9
border
#CACBC5
text
#0B0D04
muted
#7C7E79

Preview Lab

Preview with #4F6816

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

Preview Lab → · Contrast checker → · Palette generator →

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