#4D5D12#4D5D12

#4D5D12 is a dark, moderate yellow-green. Relative luminance 0.095; OKLCH L 45.0% C 0.099 H 121.3°. Best body text is #FFFFFF at 7.27:1 contrast (WCAG AA passes).

Color values

HEX#4D5D12
RGBrgb(77, 93, 18)
HSLhsl(73, 68%, 22%)
HSVhsv(73, 81%, 36%)
CMYKcmyk(17.2%, 0%, 80.6%, 63.5%)
CIE-LABlab(36.84, -17.33, 38.13)
CIE-LCHlch(36.84, 41.88, 114.44°)
OKLaboklab(44.96% -0.0511 0.0842)
OKLCHoklch(44.96% 0.099 121.3)
XYZxyz(7.0842, 9.4502, 2.0230)
Luminance0.0945 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D5D12 #22125D
analogous
#5D4812 #4D5D12 #285D12
triadic
#4D5D12 #124D5D #5D124D
tetradic
#4D5D12 #125D48 #22125D #5D1228
square
#4D5D12 #125D48 #22125D #5D1228
split-complementary
#4D5D12 #12285D #48125D
monochromatic
#151A05 #232A08 #4D5D12 #77901C #A2C426

Accessibility & contrast

On white

7.27
#4D5D12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4D5D12
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D5D12#FFFFFF#000000##FFFFFF
##4D5D121.007.272.897.27
#FFFFFF7.271.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#635703
Deuteranopia (green-blind)
#615719
Tritanopia (blue-blind)
#52584F
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #4d5d12;
/* rgb */ color: rgb(77, 93, 18);
/* oklch */ color: oklch(45.0% 0.099 121.3);
Tailwind
colors: {
  custom: {
    50: '#818a57',
    500: '#4d5d12',
    950: '#000000',
  },
}
SCSS
$custom: #4d5d12;
$custom-light: #818a57;
$custom-dark: #000000;
JSON
{
  "hex": "#4d5d12",
  "rgb": {
    "r": 77,
    "g": 93,
    "b": 18
  },
  "hsl": {
    "h": 72.8,
    "s": 67.568,
    "l": 21.765
  },
  "oklch": {
    "l": 0.44959,
    "c": 0.09854,
    "h": 121.3
  },
  "luminance": 0.0945
}

Semantic roles & 50–950 ramp

primary
#4D5D12
secondary
#4A3595
accent
#3DEA62
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0B0B03
muted
#7C7C78

Preview Lab

Preview with #4D5D12

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

Preview Lab → · Contrast checker → · Palette generator →

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