#4F6112#4F6112

#4F6112 is a mid, moderate yellow-green. Relative luminance 0.103; OKLCH L 46.2% C 0.103 H 122.1°. Best body text is #FFFFFF at 6.88:1 contrast (WCAG AA passes).

Color values

HEX#4F6112
RGBrgb(79, 97, 18)
HSLhsl(74, 69%, 23%)
HSVhsv(74, 81%, 38%)
CMYKcmyk(18.6%, 0%, 81.4%, 62%)
CIE-LABlab(38.30, -18.55, 39.55)
CIE-LCHlch(38.30, 43.69, 115.13°)
OKLaboklab(46.18% -0.0546 0.0872)
OKLCHoklch(46.18% 0.103 122.1)
XYZxyz(7.6084, 10.2553, 2.1508)
Luminance0.1026 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F6112 #241261
analogous
#614C12 #4F6112 #276112
triadic
#4F6112 #124F61 #61124F
tetradic
#4F6112 #12614C #241261 #611227
square
#4F6112 #12614C #241261 #611227
split-complementary
#4F6112 #122761 #4C1261
monochromatic
#151A05 #252D08 #4F6112 #79951C #A3C825

Accessibility & contrast

On white

6.88
#4F6112 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#4F6112 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F6112
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F6112#FFFFFF#000000##FFFFFF
##4F61121.006.883.056.88
#FFFFFF6.881.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#675B01
Deuteranopia (green-blind)
#655A1A
Tritanopia (blue-blind)
#545C52
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #4f6112;
/* rgb */ color: rgb(79, 97, 18);
/* oklch */ color: oklch(46.2% 0.103 122.1);
Tailwind
colors: {
  custom: {
    50: '#838e57',
    500: '#4f6112',
    950: '#000000',
  },
}
SCSS
$custom: #4f6112;
$custom-light: #838e57;
$custom-dark: #000000;
JSON
{
  "hex": "#4f6112",
  "rgb": {
    "r": 79,
    "g": 97,
    "b": 18
  },
  "hsl": {
    "h": 73.671,
    "s": 68.696,
    "l": 22.549
  },
  "oklch": {
    "l": 0.46176,
    "c": 0.10287,
    "h": 122.1
  },
  "luminance": 0.10255
}

Semantic roles & 50–950 ramp

primary
#4F6112
secondary
#4C3699
accent
#3CEC64
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0B0C03
muted
#7C7D78

Preview Lab

Preview with #4F6112

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

Preview Lab → · Contrast checker → · Palette generator →

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