#4D6F15#4D6F15

#4D6F15 is a mid, vivid yellow-green. Relative luminance 0.130; OKLCH L 49.8% C 0.121 H 128.8°. Best body text is #FFFFFF at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#4D6F15
RGBrgb(77, 111, 21)
HSLhsl(83, 68%, 26%)
HSVhsv(83, 81%, 44%)
CMYKcmyk(30.6%, 0%, 81.1%, 56.5%)
CIE-LABlab(42.76, -26.41, 42.63)
CIE-LCHlch(42.76, 50.15, 121.78°)
OKLaboklab(49.77% -0.0757 0.0943)
OKLCHoklch(49.77% 0.121 128.8)
XYZxyz(8.8804, 13.0006, 2.7508)
Luminance0.1300 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D6F15 #37156F
analogous
#6F6415 #4D6F15 #206F15
triadic
#4D6F15 #154D6F #6F154D
tetradic
#4D6F15 #156F64 #37156F #6F1520
square
#4D6F15 #156F64 #37156F #6F1520
split-complementary
#4D6F15 #15206F #64156F
monochromatic
#121A05 #293C0B #4D6F15 #71A21F #94D628

Accessibility & contrast

On white

5.83
#4D6F15 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#4D6F15 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D6F15
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D6F15#FFFFFF#000000##FFFFFF
##4D6F151.005.833.605.83
#FFFFFF5.831.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#756600
Deuteranopia (green-blind)
#70641E
Tritanopia (blue-blind)
#506A5E
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #4d6f15;
/* rgb */ color: rgb(77, 111, 21);
/* oklch */ color: oklch(49.8% 0.121 128.8);
Tailwind
colors: {
  custom: {
    50: '#82985b',
    500: '#4d6f15',
    950: '#000000',
  },
}
SCSS
$custom: #4d6f15;
$custom-light: #82985b;
$custom-dark: #000000;
JSON
{
  "hex": "#4d6f15",
  "rgb": {
    "r": 77,
    "g": 111,
    "b": 21
  },
  "hsl": {
    "h": 82.667,
    "s": 68.182,
    "l": 25.882
  },
  "oklch": {
    "l": 0.49768,
    "c": 0.12087,
    "h": 128.8
  },
  "luminance": 0.13001
}

Semantic roles & 50–950 ramp

primary
#4D6F15
secondary
#633AA5
accent
#3DEB7F
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0D04
muted
#7C7E79

Preview Lab

Preview with #4D6F15

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

Preview Lab → · Contrast checker → · Palette generator →

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