#4F6B15#4F6B15

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

Color values

HEX#4F6B15
RGBrgb(79, 107, 21)
HSLhsl(80, 67%, 25%)
HSVhsv(80, 80%, 42%)
CMYKcmyk(26.2%, 0%, 80.4%, 58%)
CIE-LABlab(41.58, -23.58, 41.57)
CIE-LCHlch(41.58, 47.79, 119.56°)
OKLaboklab(48.84% -0.0681 0.092)
OKLCHoklch(48.84% 0.114 126.5)
XYZxyz(8.6175, 12.2316, 2.6163)
Luminance0.1223 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F6B15 #31156B
analogous
#6B5C15 #4F6B15 #246B15
triadic
#4F6B15 #154F6B #6B154F
tetradic
#4F6B15 #156B5C #31156B #6B1524
square
#4F6B15 #156B5C #31156B #6B1524
split-complementary
#4F6B15 #15246B #5C156B
monochromatic
#131A05 #29380B #4F6B15 #759E1F #9BD129

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4F6B15#FFFFFF#000000##FFFFFF
##4F6B151.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)
#716302
Deuteranopia (green-blind)
#6D621E
Tritanopia (blue-blind)
#53665B
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #4f6b15;
/* rgb */ color: rgb(79, 107, 21);
/* oklch */ color: oklch(48.8% 0.114 126.5);
Tailwind
colors: {
  custom: {
    50: '#83955a',
    500: '#4f6b15',
    950: '#000000',
  },
}
SCSS
$custom: #4f6b15;
$custom-light: #83955a;
$custom-dark: #000000;
JSON
{
  "hex": "#4f6b15",
  "rgb": {
    "r": 79,
    "g": 107,
    "b": 21
  },
  "hsl": {
    "h": 79.535,
    "s": 67.188,
    "l": 25.098
  },
  "oklch": {
    "l": 0.48841,
    "c": 0.11443,
    "h": 126.5
  },
  "luminance": 0.12232
}

Semantic roles & 50–950 ramp

primary
#4F6B15
secondary
#5C3AA2
accent
#3EEA76
background
#F8F9F5
surface
#EFF1E9
border
#CACBC5
text
#0B0D04
muted
#7C7E79

Preview Lab

Preview with #4F6B15

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

Preview Lab → · Contrast checker → · Palette generator →

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