#4F6512#4F6512

#4F6512 is a mid, moderate yellow-green. Relative luminance 0.110; OKLCH L 47.2% C 0.108 H 123.9°. Best body text is #FFFFFF at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#4F6512
RGBrgb(79, 101, 18)
HSLhsl(76, 70%, 23%)
HSVhsv(76, 82%, 40%)
CMYKcmyk(21.8%, 0%, 82.2%, 60.4%)
CIE-LABlab(39.60, -20.66, 40.76)
CIE-LCHlch(39.60, 45.70, 116.88°)
OKLaboklab(47.23% -0.0604 0.0897)
OKLCHoklch(47.23% 0.108 123.9)
XYZxyz(7.9874, 11.0132, 2.2771)
Luminance0.1101 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F6512 #281265
analogous
#655112 #4F6512 #256512
triadic
#4F6512 #124F65 #65124F
tetradic
#4F6512 #126551 #281265 #651225
square
#4F6512 #126551 #281265 #651225
split-complementary
#4F6512 #122565 #511265
monochromatic
#141A05 #263109 #4F6512 #78991B #A0CD25

Accessibility & contrast

On white

6.56
#4F6512 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#4F6512 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F6512
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F6512#FFFFFF#000000##FFFFFF
##4F65121.006.563.206.56
#FFFFFF6.561.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6B5E00
Deuteranopia (green-blind)
#685D1A
Tritanopia (blue-blind)
#536056
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #4f6512;
/* rgb */ color: rgb(79, 101, 18);
/* oklch */ color: oklch(47.2% 0.108 123.9);
Tailwind
colors: {
  custom: {
    50: '#839158',
    500: '#4f6512',
    950: '#000000',
  },
}
SCSS
$custom: #4f6512;
$custom-light: #839158;
$custom-dark: #000000;
JSON
{
  "hex": "#4f6512",
  "rgb": {
    "r": 79,
    "g": 101,
    "b": 18
  },
  "hsl": {
    "h": 75.904,
    "s": 69.748,
    "l": 23.333
  },
  "oklch": {
    "l": 0.47232,
    "c": 0.10816,
    "h": 123.9
  },
  "luminance": 0.11013
}

Semantic roles & 50–950 ramp

primary
#4F6512
secondary
#51369D
accent
#3BED6A
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0B0C04
muted
#7C7D79

Preview Lab

Preview with #4F6512

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

Preview Lab → · Contrast checker → · Palette generator →

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