#4F6A18#4F6A18

#4F6A18 is a mid, moderate yellow-green. Relative luminance 0.120; OKLCH L 48.6% C 0.111 H 126.4°. Best body text is #FFFFFF at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#4F6A18
RGBrgb(79, 106, 24)
HSLhsl(80, 63%, 25%)
HSVhsv(80, 77%, 42%)
CMYKcmyk(25.5%, 0%, 77.4%, 58.4%)
CIE-LABlab(41.27, -22.89, 40.16)
CIE-LCHlch(41.27, 46.23, 119.68°)
OKLaboklab(48.6% -0.066 0.0895)
OKLCHoklch(48.6% 0.111 126.4)
XYZxyz(8.5434, 12.0361, 2.7371)
Luminance0.1204 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F6A18 #33186A
analogous
#6A5C18 #4F6A18 #266A18
triadic
#4F6A18 #184F6A #6A184F
tetradic
#4F6A18 #186A5C #33186A #6A1826
square
#4F6A18 #186A5C #33186A #6A1826
split-complementary
#4F6A18 #18266A #5C186A
monochromatic
#131906 #2A380D #4F6A18 #749C23 #99CE2F

Accessibility & contrast

On white

6.16
#4F6A18 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#4F6A18 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F6A18
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F6A18#FFFFFF#000000##FFFFFF
##4F6A181.006.163.416.16
#FFFFFF6.161.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#706208
Deuteranopia (green-blind)
#6C6120
Tritanopia (blue-blind)
#53655A
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #4f6a18;
/* rgb */ color: rgb(79, 106, 24);
/* oklch */ color: oklch(48.6% 0.111 126.4);
Tailwind
colors: {
  custom: {
    50: '#83945b',
    500: '#4f6a18',
    950: '#000000',
  },
}
SCSS
$custom: #4f6a18;
$custom-light: #83945b;
$custom-dark: #000000;
JSON
{
  "hex": "#4f6a18",
  "rgb": {
    "r": 79,
    "g": 106,
    "b": 24
  },
  "hsl": {
    "h": 79.756,
    "s": 63.077,
    "l": 25.49
  },
  "oklch": {
    "l": 0.48597,
    "c": 0.11122,
    "h": 126.4
  },
  "luminance": 0.12036
}

Semantic roles & 50–950 ramp

primary
#4F6A18
secondary
#5E3EA0
accent
#42E678
background
#F8F9F5
surface
#EFF1E9
border
#CACBC5
text
#0B0D04
muted
#7C7E79

Preview Lab

Preview with #4F6A18

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

Preview Lab → · Contrast checker → · Palette generator →

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