#4D5D18#4D5D18

#4D5D18 is a mid, moderate yellow-green. Relative luminance 0.095; OKLCH L 45.0% C 0.094 H 121.7°. Best body text is #FFFFFF at 7.26:1 contrast (WCAG AA passes).

Color values

HEX#4D5D18
RGBrgb(77, 93, 24)
HSLhsl(74, 59%, 23%)
HSVhsv(74, 74%, 36%)
CMYKcmyk(17.2%, 0%, 74.2%, 63.5%)
CIE-LABlab(36.88, -16.95, 35.75)
CIE-LCHlch(36.88, 39.57, 115.37°)
OKLaboklab(45.01% -0.0495 0.0803)
OKLCHoklch(45.01% 0.094 121.7)
XYZxyz(7.1399, 9.4724, 2.3162)
Luminance0.0947 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D5D18 #28185D
analogous
#5D4A18 #4D5D18 #2A5D18
triadic
#4D5D18 #184D5D #5D184D
tetradic
#4D5D18 #185D4A #28185D #5D182A
square
#4D5D18 #185D4A #28185D #5D182A
split-complementary
#4D5D18 #182A5D #4A185D
monochromatic
#141806 #252C0B #4D5D18 #758E25 #9EBE31

Accessibility & contrast

On white

7.26
#4D5D18 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#4D5D18 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D5D18
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D5D18#FFFFFF#000000##FFFFFF
##4D5D181.007.262.897.26
#FFFFFF7.261.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#63570D
Deuteranopia (green-blind)
#61571E
Tritanopia (blue-blind)
#51584F
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #4d5d18;
/* rgb */ color: rgb(77, 93, 24);
/* oklch */ color: oklch(45.0% 0.094 121.7);
Tailwind
colors: {
  custom: {
    50: '#818b5a',
    500: '#4d5d18',
    950: '#000000',
  },
}
SCSS
$custom: #4d5d18;
$custom-light: #818b5a;
$custom-dark: #000000;
JSON
{
  "hex": "#4d5d18",
  "rgb": {
    "r": 77,
    "g": 93,
    "b": 24
  },
  "hsl": {
    "h": 73.913,
    "s": 58.974,
    "l": 22.941
  },
  "oklch": {
    "l": 0.45005,
    "c": 0.09438,
    "h": 121.7
  },
  "luminance": 0.09472
}

Semantic roles & 50–950 ramp

primary
#4D5D18
secondary
#513D93
accent
#46E26A
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0B0B04
muted
#7C7C79

Preview Lab

Preview with #4D5D18

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

Preview Lab → · Contrast checker → · Palette generator →

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