#4D5E12#4D5E12

#4D5E12 is a mid, moderate yellow-green. Relative luminance 0.096; OKLCH L 45.2% C 0.100 H 121.8°. Best body text is #FFFFFF at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#4D5E12
RGBrgb(77, 94, 18)
HSLhsl(73, 68%, 22%)
HSVhsv(73, 81%, 37%)
CMYKcmyk(18.1%, 0%, 80.9%, 63.1%)
CIE-LABlab(37.16, -17.86, 38.43)
CIE-LCHlch(37.16, 42.38, 114.93°)
OKLaboklab(45.22% -0.0526 0.0849)
OKLCHoklch(45.22% 0.1 121.8)
XYZxyz(7.1726, 9.6269, 2.0525)
Luminance0.0963 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D5E12 #23125E
analogous
#5E4912 #4D5E12 #275E12
triadic
#4D5E12 #124D5E #5E124D
tetradic
#4D5E12 #125E49 #23125E #5E1227
square
#4D5E12 #125E49 #23125E #5E1227
split-complementary
#4D5E12 #12275E #49125E
monochromatic
#151A05 #232B08 #4D5E12 #77911C #A1C526

Accessibility & contrast

On white

7.18
#4D5E12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#4D5E12 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D5E12
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D5E12#FFFFFF#000000##FFFFFF
##4D5E121.007.182.937.18
#FFFFFF7.181.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#645802
Deuteranopia (green-blind)
#625719
Tritanopia (blue-blind)
#525950
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #4d5e12;
/* rgb */ color: rgb(77, 94, 18);
/* oklch */ color: oklch(45.2% 0.100 121.8);
Tailwind
colors: {
  custom: {
    50: '#818b57',
    500: '#4d5e12',
    950: '#000000',
  },
}
SCSS
$custom: #4d5e12;
$custom-light: #818b57;
$custom-dark: #000000;
JSON
{
  "hex": "#4d5e12",
  "rgb": {
    "r": 77,
    "g": 94,
    "b": 18
  },
  "hsl": {
    "h": 73.421,
    "s": 67.857,
    "l": 21.961
  },
  "oklch": {
    "l": 0.45223,
    "c": 0.09987,
    "h": 121.8
  },
  "luminance": 0.09627
}

Semantic roles & 50–950 ramp

primary
#4D5E12
secondary
#4B3596
accent
#3DEB64
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0B0C03
muted
#7C7D78

Preview Lab

Preview with #4D5E12

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

Preview Lab → · Contrast checker → · Palette generator →

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