#4D5C12#4D5C12

#4D5C12 is a dark, moderate yellow-green. Relative luminance 0.093; OKLCH L 44.7% C 0.097 H 120.7°. Best body text is #FFFFFF at 7.36:1 contrast (WCAG AA passes).

Color values

HEX#4D5C12
RGBrgb(77, 92, 18)
HSLhsl(72, 67%, 22%)
HSVhsv(72, 80%, 36%)
CMYKcmyk(16.3%, 0%, 80.4%, 63.9%)
CIE-LABlab(36.51, -16.78, 37.82)
CIE-LCHlch(36.51, 41.37, 113.93°)
OKLaboklab(44.7% -0.0496 0.0836)
OKLCHoklch(44.7% 0.097 120.7)
XYZxyz(6.9970, 9.2758, 1.9939)
Luminance0.0928 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D5C12 #21125C
analogous
#5C4612 #4D5C12 #285C12
triadic
#4D5C12 #124D5C #5C124D
tetradic
#4D5C12 #125C46 #21125C #5C1228
square
#4D5C12 #125C46 #21125C #5C1228
split-complementary
#4D5C12 #12285C #46125C
monochromatic
#151A05 #222908 #4D5C12 #788F1C #A3C226

Accessibility & contrast

On white

7.36
#4D5C12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#4D5C12 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D5C12
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D5C12#FFFFFF#000000##FFFFFF
##4D5C121.007.362.867.36
#FFFFFF7.361.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#625603
Deuteranopia (green-blind)
#605619
Tritanopia (blue-blind)
#52574E
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #4d5c12;
/* rgb */ color: rgb(77, 92, 18);
/* oklch */ color: oklch(44.7% 0.097 120.7);
Tailwind
colors: {
  custom: {
    50: '#818a56',
    500: '#4d5c12',
    950: '#000000',
  },
}
SCSS
$custom: #4d5c12;
$custom-light: #818a56;
$custom-dark: #000000;
JSON
{
  "hex": "#4d5c12",
  "rgb": {
    "r": 77,
    "g": 92,
    "b": 18
  },
  "hsl": {
    "h": 72.162,
    "s": 67.273,
    "l": 21.569
  },
  "oklch": {
    "l": 0.44695,
    "c": 0.09721,
    "h": 120.7
  },
  "luminance": 0.09276
}

Semantic roles & 50–950 ramp

primary
#4D5C12
secondary
#493594
accent
#3EEA61
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0B0B03
muted
#7C7C78

Preview Lab

Preview with #4D5C12

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

Preview Lab → · Contrast checker → · Palette generator →

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