#4D5912#4D5912

#4D5912 is a dark, moderate yellow-green. Relative luminance 0.088; OKLCH L 43.9% C 0.093 H 118.9°. Best body text is #FFFFFF at 7.63:1 contrast (WCAG AA passes).

Color values

HEX#4D5912
RGBrgb(77, 89, 18)
HSLhsl(70, 66%, 21%)
HSVhsv(70, 80%, 35%)
CMYKcmyk(13.5%, 0%, 79.8%, 65.1%)
CIE-LABlab(35.53, -15.13, 36.89)
CIE-LCHlch(35.53, 39.87, 112.31°)
OKLaboklab(43.91% -0.0451 0.0816)
OKLCHoklch(43.91% 0.093 118.9)
XYZxyz(6.7423, 8.7663, 1.9090)
Luminance0.0877 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D5912 #1E1259
analogous
#594112 #4D5912 #295912
triadic
#4D5912 #124D59 #59124D
tetradic
#4D5912 #125941 #1E1259 #591229
square
#4D5912 #125941 #1E1259 #591229
split-complementary
#4D5912 #122959 #411259
monochromatic
#161905 #212608 #4D5912 #798C1C #A5BF27

Accessibility & contrast

On white

7.63
#4D5912 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#4D5912 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D5912
7.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D5912#FFFFFF#000000##FFFFFF
##4D59121.007.632.757.63
#FFFFFF7.631.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F5404
Deuteranopia (green-blind)
#5E5418
Tritanopia (blue-blind)
#52544B
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #4d5912;
/* rgb */ color: rgb(77, 89, 18);
/* oklch */ color: oklch(43.9% 0.093 118.9);
Tailwind
colors: {
  custom: {
    50: '#818756',
    500: '#4d5912',
    950: '#000000',
  },
}
SCSS
$custom: #4d5912;
$custom-light: #818756;
$custom-dark: #000000;
JSON
{
  "hex": "#4d5912",
  "rgb": {
    "r": 77,
    "g": 89,
    "b": 18
  },
  "hsl": {
    "h": 70.141,
    "s": 66.355,
    "l": 20.98
  },
  "oklch": {
    "l": 0.43906,
    "c": 0.09326,
    "h": 118.9
  },
  "luminance": 0.08766
}

Semantic roles & 50–950 ramp

primary
#4D5912
secondary
#453592
accent
#3FE95B
background
#F8F8F5
surface
#EFEFE9
border
#CACAC5
text
#0B0B03
muted
#7C7C78

Preview Lab

Preview with #4D5912

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

Preview Lab → · Contrast checker → · Palette generator →

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