#4F6716#4F6716

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

Color values

HEX#4F6716
RGBrgb(79, 103, 22)
HSLhsl(78, 65%, 25%)
HSVhsv(78, 79%, 40%)
CMYKcmyk(23.3%, 0%, 78.6%, 59.6%)
CIE-LABlab(40.28, -21.48, 39.96)
CIE-LCHlch(40.28, 45.37, 118.26°)
OKLaboklab(47.79% -0.0623 0.0888)
OKLCHoklch(47.79% 0.108 125.1)
XYZxyz(8.2196, 11.4206, 2.5303)
Luminance0.1142 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F6716 #2E1667
analogous
#675716 #4F6716 #276716
triadic
#4F6716 #164F67 #67164F
tetradic
#4F6716 #166757 #2E1667 #671627
square
#4F6716 #166757 #2E1667 #671627
split-complementary
#4F6716 #162767 #571667
monochromatic
#131905 #28350B #4F6716 #769921 #9CCC2C

Accessibility & contrast

On white

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

On black

3.28
#4F6716 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##4F6716#FFFFFF#000000##FFFFFF
##4F67161.006.393.286.39
#FFFFFF6.391.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.391.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4f6716;
/* rgb */ color: rgb(79, 103, 22);
/* oklch */ color: oklch(47.8% 0.108 125.1);
Tailwind
colors: {
  custom: {
    50: '#83925a',
    500: '#4f6716',
    950: '#000000',
  },
}
SCSS
$custom: #4f6716;
$custom-light: #83925a;
$custom-dark: #000000;
JSON
{
  "hex": "#4f6716",
  "rgb": {
    "r": 79,
    "g": 103,
    "b": 22
  },
  "hsl": {
    "h": 77.778,
    "s": 64.8,
    "l": 24.51
  },
  "oklch": {
    "l": 0.47788,
    "c": 0.10843,
    "h": 125.1
  },
  "luminance": 0.11421
}

Semantic roles & 50–950 ramp

primary
#4F6716
secondary
#583B9E
accent
#40E872
background
#F8F9F5
surface
#EFF1E9
border
#CACBC5
text
#0B0D04
muted
#7C7E79

Preview Lab

Preview with #4F6716

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

Preview Lab → · Contrast checker → · Palette generator →

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