#4F6F1E#4F6F1E

#4F6F1E is a mid, moderate yellow-green. Relative luminance 0.131; OKLCH L 50.0% C 0.114 H 128.7°. Best body text is #FFFFFF at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#4F6F1E
RGBrgb(79, 111, 30)
HSLhsl(84, 57%, 28%)
HSVhsv(84, 73%, 44%)
CMYKcmyk(28.8%, 0%, 73%, 56.5%)
CIE-LABlab(42.95, -25.00, 39.41)
CIE-LCHlch(42.95, 46.67, 122.39°)
OKLaboklab(49.97% -0.0712 0.089)
OKLCHoklch(49.97% 0.114 128.7)
XYZxyz(9.1432, 13.1247, 3.2796)
Luminance0.1313 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F6F1E #3E1E6F
analogous
#6F671E #4F6F1E #266F1E
triadic
#4F6F1E #1E4F6F #6F1E4F
tetradic
#4F6F1E #1E6F67 #3E1E6F #6F1E26
square
#4F6F1E #1E6F67 #3E1E6F #6F1E26
split-complementary
#4F6F1E #1E266F #671E6F
monochromatic
#111807 #2D3F11 #4F6F1E #719F2B #93CB3D

Accessibility & contrast

On white

5.79
#4F6F1E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#4F6F1E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F6F1E
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F6F1E#FFFFFF#000000##FFFFFF
##4F6F1E1.005.793.635.79
#FFFFFF5.791.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#756711
Deuteranopia (green-blind)
#706525
Tritanopia (blue-blind)
#526A5F
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #4f6f1e;
/* rgb */ color: rgb(79, 111, 30);
/* oklch */ color: oklch(50.0% 0.114 128.7);
Tailwind
colors: {
  custom: {
    50: '#83985f',
    500: '#4f6f1e',
    950: '#000000',
  },
}
SCSS
$custom: #4f6f1e;
$custom-light: #83985f;
$custom-dark: #000000;
JSON
{
  "hex": "#4f6f1e",
  "rgb": {
    "r": 79,
    "g": 111,
    "b": 30
  },
  "hsl": {
    "h": 83.704,
    "s": 57.447,
    "l": 27.647
  },
  "oklch": {
    "l": 0.49972,
    "c": 0.11394,
    "h": 128.7
  },
  "luminance": 0.13125
}

Semantic roles & 50–950 ramp

primary
#4F6F1E
secondary
#6B46A3
accent
#47E184
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0D05
muted
#7C7E79

Preview Lab

Preview with #4F6F1E

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

Preview Lab → · Contrast checker → · Palette generator →

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