#4F6C15#4F6C15

#4F6C15 is a mid, moderate yellow-green. Relative luminance 0.124; OKLCH L 49.1% C 0.116 H 126.9°. Best body text is #FFFFFF at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#4F6C15
RGBrgb(79, 108, 21)
HSLhsl(80, 67%, 25%)
HSVhsv(80, 81%, 42%)
CMYKcmyk(26.9%, 0%, 80.6%, 57.6%)
CIE-LABlab(41.91, -24.08, 41.88)
CIE-LCHlch(41.91, 48.30, 119.90°)
OKLaboklab(49.11% -0.0695 0.0926)
OKLCHoklch(49.11% 0.116 126.9)
XYZxyz(8.7224, 12.4414, 2.6512)
Luminance0.1244 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F6C15 #32156C
analogous
#6C5D15 #4F6C15 #236C15
triadic
#4F6C15 #154F6C #6C154F
tetradic
#4F6C15 #156C5D #32156C #6C1523
square
#4F6C15 #156C5D #32156C #6C1523
split-complementary
#4F6C15 #15236C #5D156C
monochromatic
#131A05 #2A390B #4F6C15 #749F1F #9AD229

Accessibility & contrast

On white

6.02
#4F6C15 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#4F6C15 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F6C15
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F6C15#FFFFFF#000000##FFFFFF
##4F6C151.006.023.496.02
#FFFFFF6.021.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#726401
Deuteranopia (green-blind)
#6E621E
Tritanopia (blue-blind)
#52675C
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #4f6c15;
/* rgb */ color: rgb(79, 108, 21);
/* oklch */ color: oklch(49.1% 0.116 126.9);
Tailwind
colors: {
  custom: {
    50: '#84965a',
    500: '#4f6c15',
    950: '#000000',
  },
}
SCSS
$custom: #4f6c15;
$custom-light: #84965a;
$custom-dark: #000000;
JSON
{
  "hex": "#4f6c15",
  "rgb": {
    "r": 79,
    "g": 108,
    "b": 21
  },
  "hsl": {
    "h": 80,
    "s": 67.442,
    "l": 25.294
  },
  "oklch": {
    "l": 0.49107,
    "c": 0.11577,
    "h": 126.9
  },
  "luminance": 0.12442
}

Semantic roles & 50–950 ramp

primary
#4F6C15
secondary
#5D3AA3
accent
#3DEA77
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0D04
muted
#7C7E79

Preview Lab

Preview with #4F6C15

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

Preview Lab → · Contrast checker → · Palette generator →

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