#4F6A0F#4F6A0F

#4F6A0F is a mid, moderate yellow-green. Relative luminance 0.120; OKLCH L 48.5% C 0.116 H 125.8°. Best body text is #FFFFFF at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#4F6A0F
RGBrgb(79, 106, 15)
HSLhsl(78, 75%, 24%)
HSVhsv(78, 86%, 42%)
CMYKcmyk(25.5%, 0%, 85.8%, 58.4%)
CIE-LABlab(41.22, -23.37, 43.19)
CIE-LCHlch(41.22, 49.11, 118.41°)
OKLaboklab(48.54% -0.068 0.0943)
OKLCHoklch(48.54% 0.116 125.8)
XYZxyz(8.4648, 12.0047, 2.3230)
Luminance0.1201 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F6A0F #2A0F6A
analogous
#6A570F #4F6A0F #216A0F
triadic
#4F6A0F #0F4F6A #6A0F4F
tetradic
#4F6A0F #0F6A57 #2A0F6A #6A0F21
square
#4F6A0F #0F6A57 #2A0F6A #6A0F21
split-complementary
#4F6A0F #0F216A #570F6A
monochromatic
#141B04 #273407 #4F6A0F #77A017 #9FD51E

Accessibility & contrast

On white

6.17
#4F6A0F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#4F6A0F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F6A0F
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F6A0F#FFFFFF#000000##FFFFFF
##4F6A0F1.006.173.406.17
#FFFFFF6.171.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#706200
Deuteranopia (green-blind)
#6D6119
Tritanopia (blue-blind)
#53645A
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #4f6a0f;
/* rgb */ color: rgb(79, 106, 15);
/* oklch */ color: oklch(48.5% 0.116 125.8);
Tailwind
colors: {
  custom: {
    50: '#849457',
    500: '#4f6a0f',
    950: '#000000',
  },
}
SCSS
$custom: #4f6a0f;
$custom-light: #849457;
$custom-dark: #000000;
JSON
{
  "hex": "#4f6a0f",
  "rgb": {
    "r": 79,
    "g": 106,
    "b": 15
  },
  "hsl": {
    "h": 77.802,
    "s": 75.207,
    "l": 23.725
  },
  "oklch": {
    "l": 0.48541,
    "c": 0.11628,
    "h": 125.8
  },
  "luminance": 0.12005
}

Semantic roles & 50–950 ramp

primary
#4F6A0F
secondary
#5432A2
accent
#36F26E
background
#F8F9F5
surface
#EFF1E9
border
#CACBC5
text
#0B0D04
muted
#7C7E79

Preview Lab

Preview with #4F6A0F

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

Preview Lab → · Contrast checker → · Palette generator →

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