#4D6D15#4D6D15

#4D6D15 is a mid, moderate yellow-green. Relative luminance 0.126; OKLCH L 49.2% C 0.118 H 128.1°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#4D6D15
RGBrgb(77, 109, 21)
HSLhsl(82, 68%, 25%)
HSVhsv(82, 81%, 43%)
CMYKcmyk(29.4%, 0%, 80.7%, 57.3%)
CIE-LABlab(42.11, -25.43, 42.01)
CIE-LCHlch(42.11, 49.11, 121.18°)
OKLaboklab(49.23% -0.073 0.093)
OKLCHoklch(49.23% 0.118 128.1)
XYZxyz(8.6646, 12.5690, 2.6789)
Luminance0.1257 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D6D15 #35156D
analogous
#6D6115 #4D6D15 #216D15
triadic
#4D6D15 #154D6D #6D154D
tetradic
#4D6D15 #156D61 #35156D #6D1521
square
#4D6D15 #156D61 #35156D #6D1521
split-complementary
#4D6D15 #15216D #61156D
monochromatic
#121A05 #293A0B #4D6D15 #71A01F #95D429

Accessibility & contrast

On white

5.98
#4D6D15 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#4D6D15 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D6D15
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D6D15#FFFFFF#000000##FFFFFF
##4D6D151.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#736501
Deuteranopia (green-blind)
#6E631E
Tritanopia (blue-blind)
#50685D
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #4d6d15;
/* rgb */ color: rgb(77, 109, 21);
/* oklch */ color: oklch(49.2% 0.118 128.1);
Tailwind
colors: {
  custom: {
    50: '#82975a',
    500: '#4d6d15',
    950: '#000000',
  },
}
SCSS
$custom: #4d6d15;
$custom-light: #82975a;
$custom-dark: #000000;
JSON
{
  "hex": "#4d6d15",
  "rgb": {
    "r": 77,
    "g": 109,
    "b": 21
  },
  "hsl": {
    "h": 81.818,
    "s": 67.692,
    "l": 25.49
  },
  "oklch": {
    "l": 0.49233,
    "c": 0.1182,
    "h": 128.1
  },
  "luminance": 0.12569
}

Semantic roles & 50–950 ramp

primary
#4D6D15
secondary
#613AA3
accent
#3DEB7C
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0D04
muted
#7C7E79

Preview Lab

Preview with #4D6D15

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

Preview Lab → · Contrast checker → · Palette generator →

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