#4F6915#4F6915

#4F6915 is a mid, moderate yellow-green. Relative luminance 0.118; OKLCH L 48.3% C 0.112 H 125.8°. Best body text is #FFFFFF at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#4F6915
RGBrgb(79, 105, 21)
HSLhsl(79, 67%, 25%)
HSVhsv(79, 80%, 41%)
CMYKcmyk(24.8%, 0%, 80%, 58.8%)
CIE-LABlab(40.93, -22.56, 40.95)
CIE-LCHlch(40.93, 46.75, 118.85°)
OKLaboklab(48.31% -0.0653 0.0907)
OKLCHoklch(48.31% 0.112 125.8)
XYZxyz(8.4114, 11.8194, 2.5475)
Luminance0.1182 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F6915 #2F1569
analogous
#695915 #4F6915 #256915
triadic
#4F6915 #154F69 #69154F
tetradic
#4F6915 #156959 #2F1569 #691525
square
#4F6915 #156959 #2F1569 #691525
split-complementary
#4F6915 #152569 #591569
monochromatic
#131A05 #29360B #4F6915 #759C1F #9CCF29

Accessibility & contrast

On white

6.24
#4F6915 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#4F6915 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F6915
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F6915#FFFFFF#000000##FFFFFF
##4F69151.006.243.366.24
#FFFFFF6.241.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6F6103
Deuteranopia (green-blind)
#6C601D
Tritanopia (blue-blind)
#536459
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #4f6915;
/* rgb */ color: rgb(79, 105, 21);
/* oklch */ color: oklch(48.3% 0.112 125.8);
Tailwind
colors: {
  custom: {
    50: '#83945a',
    500: '#4f6915',
    950: '#000000',
  },
}
SCSS
$custom: #4f6915;
$custom-light: #83945a;
$custom-dark: #000000;
JSON
{
  "hex": "#4f6915",
  "rgb": {
    "r": 79,
    "g": 105,
    "b": 21
  },
  "hsl": {
    "h": 78.571,
    "s": 66.667,
    "l": 24.706
  },
  "oklch": {
    "l": 0.48311,
    "c": 0.11175,
    "h": 125.8
  },
  "luminance": 0.1182
}

Semantic roles & 50–950 ramp

primary
#4F6915
secondary
#5A3AA0
accent
#3EEA73
background
#F8F9F5
surface
#EFF1E9
border
#CACBC5
text
#0B0D04
muted
#7C7E79

Preview Lab

Preview with #4F6915

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

Preview Lab → · Contrast checker → · Palette generator →

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