#4D5F18#4D5F18

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

Color values

HEX#4D5F18
RGBrgb(77, 95, 24)
HSLhsl(75, 60%, 23%)
HSVhsv(75, 75%, 37%)
CMYKcmyk(18.9%, 0%, 74.7%, 62.7%)
CIE-LABlab(37.53, -18.03, 36.41)
CIE-LCHlch(37.53, 40.63, 116.35°)
OKLaboklab(45.53% -0.0525 0.0817)
OKLCHoklch(45.53% 0.097 122.7)
XYZxyz(7.3177, 9.8281, 2.3755)
Luminance0.0983 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D5F18 #2A185F
analogous
#5F4D18 #4D5F18 #295F18
triadic
#4D5F18 #184D5F #5F184D
tetradic
#4D5F18 #185F4D #2A185F #5F1829
square
#4D5F18 #185F4D #2A185F #5F1829
split-complementary
#4D5F18 #18295F #4D185F
monochromatic
#141806 #252E0C #4D5F18 #759024 #9CC131

Accessibility & contrast

On white

7.08
#4D5F18 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#4D5F18 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D5F18
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D5F18#FFFFFF#000000##FFFFFF
##4D5F181.007.082.977.08
#FFFFFF7.081.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.081.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4d5f18;
/* rgb */ color: rgb(77, 95, 24);
/* oklch */ color: oklch(45.5% 0.097 122.7);
Tailwind
colors: {
  custom: {
    50: '#818c5a',
    500: '#4d5f18',
    950: '#000000',
  },
}
SCSS
$custom: #4d5f18;
$custom-light: #818c5a;
$custom-dark: #000000;
JSON
{
  "hex": "#4d5f18",
  "rgb": {
    "r": 77,
    "g": 95,
    "b": 24
  },
  "hsl": {
    "h": 75.211,
    "s": 59.664,
    "l": 23.333
  },
  "oklch": {
    "l": 0.45533,
    "c": 0.09714,
    "h": 122.7
  },
  "luminance": 0.09828
}

Semantic roles & 50–950 ramp

primary
#4D5F18
secondary
#543D95
accent
#45E36D
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0B0C04
muted
#7C7D79

Preview Lab

Preview with #4D5F18

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

Preview Lab → · Contrast checker → · Palette generator →

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