#4F6511#4F6511

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

Color values

HEX#4F6511
RGBrgb(79, 101, 17)
HSLhsl(76, 71%, 23%)
HSVhsv(76, 83%, 40%)
CMYKcmyk(21.8%, 0%, 83.2%, 60.4%)
CIE-LABlab(39.60, -20.71, 41.10)
CIE-LCHlch(39.60, 46.02, 116.74°)
OKLaboklab(47.23% -0.0606 0.0903)
OKLCHoklch(47.23% 0.109 123.9)
XYZxyz(7.9794, 11.0100, 2.2350)
Luminance0.1101 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F6511 #271165
analogous
#655111 #4F6511 #256511
triadic
#4F6511 #114F65 #65114F
tetradic
#4F6511 #116551 #271165 #651125
square
#4F6511 #116551 #271165 #651125
split-complementary
#4F6511 #112565 #511165
monochromatic
#141A04 #263108 #4F6511 #78991A #A1CE23

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4F6511#FFFFFF#000000##FFFFFF
##4F65111.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: #4f6511;
/* rgb */ color: rgb(79, 101, 17);
/* oklch */ color: oklch(47.2% 0.109 123.9);
Tailwind
colors: {
  custom: {
    50: '#839157',
    500: '#4f6511',
    950: '#000000',
  },
}
SCSS
$custom: #4f6511;
$custom-light: #839157;
$custom-dark: #000000;
JSON
{
  "hex": "#4f6511",
  "rgb": {
    "r": 79,
    "g": 101,
    "b": 17
  },
  "hsl": {
    "h": 75.714,
    "s": 71.186,
    "l": 23.137
  },
  "oklch": {
    "l": 0.47226,
    "c": 0.10871,
    "h": 123.9
  },
  "luminance": 0.1101
}

Semantic roles & 50–950 ramp

primary
#4F6511
secondary
#50359D
accent
#3AEE69
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0B0C03
muted
#7C7D78

Preview Lab

Preview with #4F6511

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

Preview Lab → · Contrast checker → · Palette generator →

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