#4F6819#4F6819

#4F6819 is a mid, moderate yellow-green. Relative luminance 0.116; OKLCH L 48.1% C 0.108 H 125.7°. Best body text is #FFFFFF at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#4F6819
RGBrgb(79, 104, 25)
HSLhsl(79, 61%, 25%)
HSVhsv(79, 76%, 41%)
CMYKcmyk(24%, 0%, 76%, 59.2%)
CIE-LABlab(40.63, -21.81, 39.13)
CIE-LCHlch(40.63, 44.80, 119.13°)
OKLaboklab(48.08% -0.0629 0.0876)
OKLCHoklch(48.08% 0.108 125.7)
XYZxyz(8.3503, 11.6330, 2.7250)
Luminance0.1163 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F6819 #321968
analogous
#685919 #4F6819 #286819
triadic
#4F6819 #194F68 #68194F
tetradic
#4F6819 #196859 #321968 #681928
square
#4F6819 #196859 #321968 #681928
split-complementary
#4F6819 #192868 #591968
monochromatic
#131906 #2A370D #4F6819 #749925 #9ACB31

Accessibility & contrast

On white

6.31
#4F6819 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#4F6819 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F6819
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F6819#FFFFFF#000000##FFFFFF
##4F68191.006.313.336.31
#FFFFFF6.311.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6E610B
Deuteranopia (green-blind)
#6B5F20
Tritanopia (blue-blind)
#536359
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #4f6819;
/* rgb */ color: rgb(79, 104, 25);
/* oklch */ color: oklch(48.1% 0.108 125.7);
Tailwind
colors: {
  custom: {
    50: '#83935c',
    500: '#4f6819',
    950: '#000000',
  },
}
SCSS
$custom: #4f6819;
$custom-light: #83935c;
$custom-dark: #000000;
JSON
{
  "hex": "#4f6819",
  "rgb": {
    "r": 79,
    "g": 104,
    "b": 25
  },
  "hsl": {
    "h": 78.987,
    "s": 61.24,
    "l": 25.294
  },
  "oklch": {
    "l": 0.48075,
    "c": 0.10781,
    "h": 125.7
  },
  "luminance": 0.11633
}

Semantic roles & 50–950 ramp

primary
#4F6819
secondary
#5D3F9E
accent
#43E476
background
#F8F9F5
surface
#EFF1E9
border
#CACBC5
text
#0B0D04
muted
#7C7E79

Preview Lab

Preview with #4F6819

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

Preview Lab → · Contrast checker → · Palette generator →

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