#4D5F15#4D5F15

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

Color values

HEX#4D5F15
RGBrgb(77, 95, 21)
HSLhsl(75, 64%, 23%)
HSVhsv(75, 78%, 37%)
CMYKcmyk(18.9%, 0%, 77.9%, 62.7%)
CIE-LABlab(37.51, -18.23, 37.62)
CIE-LCHlch(37.51, 41.80, 115.85°)
OKLaboklab(45.51% -0.0533 0.0837)
OKLCHoklch(45.51% 0.099 122.5)
XYZxyz(7.2882, 9.8163, 2.2201)
Luminance0.0982 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D5F15 #27155F
analogous
#5F4C15 #4D5F15 #285F15
triadic
#4D5F15 #154D5F #5F154D
tetradic
#4D5F15 #155F4C #27155F #5F1528
square
#4D5F15 #155F4C #27155F #5F1528
split-complementary
#4D5F15 #15285F #4C155F
monochromatic
#141906 #242D0A #4D5F15 #769120 #9EC32B

Accessibility & contrast

On white

7.09
#4D5F15 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#4D5F15 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D5F15
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D5F15#FFFFFF#000000##FFFFFF
##4D5F151.007.092.967.09
#FFFFFF7.091.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#655907
Deuteranopia (green-blind)
#63581C
Tritanopia (blue-blind)
#515A51
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #4d5f15;
/* rgb */ color: rgb(77, 95, 21);
/* oklch */ color: oklch(45.5% 0.099 122.5);
Tailwind
colors: {
  custom: {
    50: '#818c58',
    500: '#4d5f15',
    950: '#000000',
  },
}
SCSS
$custom: #4d5f15;
$custom-light: #818c58;
$custom-dark: #000000;
JSON
{
  "hex": "#4d5f15",
  "rgb": {
    "r": 77,
    "g": 95,
    "b": 21
  },
  "hsl": {
    "h": 74.595,
    "s": 63.793,
    "l": 22.745
  },
  "oklch": {
    "l": 0.45509,
    "c": 0.09927,
    "h": 122.5
  },
  "luminance": 0.09816
}

Semantic roles & 50–950 ramp

primary
#4D5F15
secondary
#503A96
accent
#41E769
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0B0C04
muted
#7C7D79

Preview Lab

Preview with #4D5F15

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

Preview Lab → · Contrast checker → · Palette generator →

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