#4F6B14#4F6B14

#4F6B14 is a mid, moderate yellow-green. Relative luminance 0.122; OKLCH L 48.8% C 0.115 H 126.5°. Best body text is #FFFFFF at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#4F6B14
RGBrgb(79, 107, 20)
HSLhsl(79, 69%, 25%)
HSVhsv(79, 81%, 42%)
CMYKcmyk(26.2%, 0%, 81.3%, 58%)
CIE-LABlab(41.58, -23.63, 41.91)
CIE-LCHlch(41.58, 48.11, 119.42°)
OKLaboklab(48.84% -0.0683 0.0925)
OKLCHoklch(48.84% 0.115 126.5)
XYZxyz(8.6085, 12.2280, 2.5684)
Luminance0.1223 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F6B14 #30146B
analogous
#6B5B14 #4F6B14 #246B14
triadic
#4F6B14 #144F6B #6B144F
tetradic
#4F6B14 #146B5B #30146B #6B1424
square
#4F6B14 #146B5B #30146B #6B1424
split-complementary
#4F6B14 #14246B #5B146B
monochromatic
#131A05 #29370A #4F6B14 #759F1E #9BD227

Accessibility & contrast

On white

6.09
#4F6B14 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#4F6B14 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F6B14
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F6B14#FFFFFF#000000##FFFFFF
##4F6B141.006.093.456.09
#FFFFFF6.091.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#716300
Deuteranopia (green-blind)
#6D621D
Tritanopia (blue-blind)
#53665B
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #4f6b14;
/* rgb */ color: rgb(79, 107, 20);
/* oklch */ color: oklch(48.8% 0.115 126.5);
Tailwind
colors: {
  custom: {
    50: '#84955a',
    500: '#4f6b14',
    950: '#000000',
  },
}
SCSS
$custom: #4f6b14;
$custom-light: #84955a;
$custom-dark: #000000;
JSON
{
  "hex": "#4f6b14",
  "rgb": {
    "r": 79,
    "g": 107,
    "b": 20
  },
  "hsl": {
    "h": 79.31,
    "s": 68.504,
    "l": 24.902
  },
  "oklch": {
    "l": 0.48835,
    "c": 0.11501,
    "h": 126.5
  },
  "luminance": 0.12228
}

Semantic roles & 50–950 ramp

primary
#4F6B14
secondary
#5B39A2
accent
#3CEB75
background
#F8F9F5
surface
#EFF1E9
border
#CACBC5
text
#0B0D04
muted
#7C7E79

Preview Lab

Preview with #4F6B14

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

Preview Lab → · Contrast checker → · Palette generator →

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