#4F6D18#4F6D18

#4F6D18 is a mid, moderate yellow-green. Relative luminance 0.127; OKLCH L 49.4% C 0.115 H 127.4°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#4F6D18
RGBrgb(79, 109, 24)
HSLhsl(81, 64%, 26%)
HSVhsv(81, 78%, 43%)
CMYKcmyk(27.5%, 0%, 78%, 57.3%)
CIE-LABlab(42.25, -24.41, 41.11)
CIE-LCHlch(42.25, 47.81, 120.69°)
OKLaboklab(49.39% -0.0701 0.0915)
OKLCHoklch(49.39% 0.115 127.4)
XYZxyz(8.8580, 12.6653, 2.8419)
Luminance0.1267 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F6D18 #36186D
analogous
#6D6018 #4F6D18 #246D18
triadic
#4F6D18 #184F6D #6D184F
tetradic
#4F6D18 #186D60 #36186D #6D1824
square
#4F6D18 #186D60 #36186D #6D1824
split-complementary
#4F6D18 #18246D #60186D
monochromatic
#121906 #2B3B0D #4F6D18 #739F23 #98D12E

Accessibility & contrast

On white

5.94
#4F6D18 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#4F6D18 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F6D18
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F6D18#FFFFFF#000000##FFFFFF
##4F6D181.005.943.535.94
#FFFFFF5.941.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#736506
Deuteranopia (green-blind)
#6F6320
Tritanopia (blue-blind)
#52685D
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #4f6d18;
/* rgb */ color: rgb(79, 109, 24);
/* oklch */ color: oklch(49.4% 0.115 127.4);
Tailwind
colors: {
  custom: {
    50: '#83975c',
    500: '#4f6d18',
    950: '#000000',
  },
}
SCSS
$custom: #4f6d18;
$custom-light: #83975c;
$custom-dark: #000000;
JSON
{
  "hex": "#4f6d18",
  "rgb": {
    "r": 79,
    "g": 109,
    "b": 24
  },
  "hsl": {
    "h": 81.176,
    "s": 63.91,
    "l": 26.078
  },
  "oklch": {
    "l": 0.49393,
    "c": 0.11529,
    "h": 127.4
  },
  "luminance": 0.12665
}

Semantic roles & 50–950 ramp

primary
#4F6D18
secondary
#623EA3
accent
#41E77B
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0D04
muted
#7C7E79

Preview Lab

Preview with #4F6D18

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

Preview Lab → · Contrast checker → · Palette generator →

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