#4F6011#4F6011

#4F6011 is a mid, moderate yellow-green. Relative luminance 0.101; OKLCH L 45.9% C 0.102 H 121.5°. Best body text is #FFFFFF at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#4F6011
RGBrgb(79, 96, 17)
HSLhsl(73, 70%, 22%)
HSVhsv(73, 82%, 38%)
CMYKcmyk(17.7%, 0%, 82.3%, 62.4%)
CIE-LABlab(37.97, -18.07, 39.60)
CIE-LCHlch(37.97, 43.52, 114.53°)
OKLaboklab(45.91% -0.0534 0.0871)
OKLCHoklch(45.91% 0.102 121.5)
XYZxyz(7.5086, 10.0685, 2.0780)
Luminance0.1007 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F6011 #221160
analogous
#604A11 #4F6011 #286011
triadic
#4F6011 #114F60 #60114F
tetradic
#4F6011 #11604A #221160 #601128
square
#4F6011 #11604A #221160 #601128
split-complementary
#4F6011 #112860 #4A1160
monochromatic
#151A05 #242C08 #4F6011 #7A941A #A5C823

Accessibility & contrast

On white

6.97
#4F6011 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#4F6011 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F6011
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F6011#FFFFFF#000000##FFFFFF
##4F60111.006.973.016.97
#FFFFFF6.971.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#665A00
Deuteranopia (green-blind)
#645919
Tritanopia (blue-blind)
#545B51
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #4f6011;
/* rgb */ color: rgb(79, 96, 17);
/* oklch */ color: oklch(45.9% 0.102 121.5);
Tailwind
colors: {
  custom: {
    50: '#838d57',
    500: '#4f6011',
    950: '#000000',
  },
}
SCSS
$custom: #4f6011;
$custom-light: #838d57;
$custom-dark: #000000;
JSON
{
  "hex": "#4f6011",
  "rgb": {
    "r": 79,
    "g": 96,
    "b": 17
  },
  "hsl": {
    "h": 72.911,
    "s": 69.912,
    "l": 22.157
  },
  "oklch": {
    "l": 0.45907,
    "c": 0.10214,
    "h": 121.5
  },
  "luminance": 0.10068
}

Semantic roles & 50–950 ramp

primary
#4F6011
secondary
#4A3499
accent
#3BED61
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0B0C03
muted
#7C7D78

Preview Lab

Preview with #4F6011

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

Preview Lab → · Contrast checker → · Palette generator →

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