#4F5F15#4F5F15

#4F5F15 is a mid, moderate yellow-green. Relative luminance 0.099; OKLCH L 45.7% C 0.098 H 121.2°. Best body text is #FFFFFF at 7.05:1 contrast (WCAG AA passes).

Color values

HEX#4F5F15
RGBrgb(79, 95, 21)
HSLhsl(73, 64%, 23%)
HSVhsv(73, 78%, 37%)
CMYKcmyk(16.8%, 0%, 77.9%, 62.7%)
CIE-LABlab(37.66, -17.31, 37.82)
CIE-LCHlch(37.66, 41.59, 114.59°)
OKLaboklab(45.67% -0.0509 0.0841)
OKLCHoklch(45.67% 0.098 121.2)
XYZxyz(7.4521, 9.9008, 2.2278)
Luminance0.0990 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F5F15 #25155F
analogous
#5F4A15 #4F5F15 #2A5F15
triadic
#4F5F15 #154F5F #5F154F
tetradic
#4F5F15 #155F4A #25155F #5F152A
square
#4F5F15 #155F4A #25155F #5F152A
split-complementary
#4F5F15 #152A5F #4A155F
monochromatic
#151906 #252D0A #4F5F15 #799120 #A2C32B

Accessibility & contrast

On white

7.05
#4F5F15 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#4F5F15 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F5F15
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F5F15#FFFFFF#000000##FFFFFF
##4F5F151.007.052.987.05
#FFFFFF7.051.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#655907
Deuteranopia (green-blind)
#63591B
Tritanopia (blue-blind)
#545A51
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #4f5f15;
/* rgb */ color: rgb(79, 95, 21);
/* oklch */ color: oklch(45.7% 0.098 121.2);
Tailwind
colors: {
  custom: {
    50: '#838c58',
    500: '#4f5f15',
    950: '#000000',
  },
}
SCSS
$custom: #4f5f15;
$custom-light: #838c58;
$custom-dark: #000000;
JSON
{
  "hex": "#4f5f15",
  "rgb": {
    "r": 79,
    "g": 95,
    "b": 21
  },
  "hsl": {
    "h": 72.973,
    "s": 63.793,
    "l": 22.745
  },
  "oklch": {
    "l": 0.45671,
    "c": 0.09831,
    "h": 121.2
  },
  "luminance": 0.09901
}

Semantic roles & 50–950 ramp

primary
#4F5F15
secondary
#4E3A96
accent
#41E765
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0B0C04
muted
#7C7D79

Preview Lab

Preview with #4F5F15

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

Preview Lab → · Contrast checker → · Palette generator →

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