#4F5D15#4F5D15

#4F5D15 is a mid, moderate yellow-green. Relative luminance 0.095; OKLCH L 45.1% C 0.096 H 120.1°. Best body text is #FFFFFF at 7.22:1 contrast (WCAG AA passes).

Color values

HEX#4F5D15
RGBrgb(79, 93, 21)
HSLhsl(72, 63%, 22%)
HSVhsv(72, 77%, 36%)
CMYKcmyk(15.1%, 0%, 77.4%, 63.5%)
CIE-LABlab(37.01, -16.22, 37.19)
CIE-LCHlch(37.01, 40.57, 113.56°)
OKLaboklab(45.15% -0.0479 0.0828)
OKLCHoklch(45.15% 0.096 120.1)
XYZxyz(7.2743, 9.5451, 2.1685)
Luminance0.0954 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F5D15 #23155D
analogous
#5D4715 #4F5D15 #2B5D15
triadic
#4F5D15 #154F5D #5D154F
tetradic
#4F5D15 #155D47 #23155D #5D152B
square
#4F5D15 #155D47 #23155D #5D152B
split-complementary
#4F5D15 #152B5D #47155D
monochromatic
#151906 #252B0A #4F5D15 #798F20 #A4C12C

Accessibility & contrast

On white

7.22
#4F5D15 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#4F5D15 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F5D15
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F5D15#FFFFFF#000000##FFFFFF
##4F5D151.007.222.917.22
#FFFFFF7.221.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#635708
Deuteranopia (green-blind)
#62571B
Tritanopia (blue-blind)
#54584F
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #4f5d15;
/* rgb */ color: rgb(79, 93, 21);
/* oklch */ color: oklch(45.1% 0.096 120.1);
Tailwind
colors: {
  custom: {
    50: '#838a58',
    500: '#4f5d15',
    950: '#000000',
  },
}
SCSS
$custom: #4f5d15;
$custom-light: #838a58;
$custom-dark: #000000;
JSON
{
  "hex": "#4f5d15",
  "rgb": {
    "r": 79,
    "g": 93,
    "b": 21
  },
  "hsl": {
    "h": 71.667,
    "s": 63.158,
    "l": 22.353
  },
  "oklch": {
    "l": 0.45147,
    "c": 0.09563,
    "h": 120.1
  },
  "luminance": 0.09545
}

Semantic roles & 50–950 ramp

primary
#4F5D15
secondary
#4B3994
accent
#42E662
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0B0B03
muted
#7C7C78

Preview Lab

Preview with #4F5D15

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

Preview Lab → · Contrast checker → · Palette generator →

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