#4D6F11#4D6F11

#4D6F11 is a mid, vivid yellow-green. Relative luminance 0.130; OKLCH L 49.7% C 0.123 H 128.5°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#4D6F11
RGBrgb(77, 111, 17)
HSLhsl(82, 73%, 25%)
HSVhsv(82, 85%, 44%)
CMYKcmyk(30.6%, 0%, 84.7%, 56.5%)
CIE-LABlab(42.74, -26.61, 43.90)
CIE-LCHlch(42.74, 51.34, 121.22°)
OKLaboklab(49.75% -0.0765 0.0963)
OKLCHoklch(49.75% 0.123 128.5)
XYZxyz(8.8462, 12.9869, 2.5709)
Luminance0.1299 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D6F11 #33116F
analogous
#6F6211 #4D6F11 #1E6F11
triadic
#4D6F11 #114D6F #6F114D
tetradic
#4D6F11 #116F62 #33116F #6F111E
square
#4D6F11 #116F62 #33116F #6F111E
split-complementary
#4D6F11 #111E6F #62116F
monochromatic
#121B04 #283A09 #4D6F11 #72A419 #97D921

Accessibility & contrast

On white

5.84
#4D6F11 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #4D6F11
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D6F11#FFFFFF#000000##FFFFFF
##4D6F111.005.843.605.84
#FFFFFF5.841.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.841.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4d6f11;
/* rgb */ color: rgb(77, 111, 17);
/* oklch */ color: oklch(49.7% 0.123 128.5);
Tailwind
colors: {
  custom: {
    50: '#839859',
    500: '#4d6f11',
    950: '#000000',
  },
}
SCSS
$custom: #4d6f11;
$custom-light: #839859;
$custom-dark: #000000;
JSON
{
  "hex": "#4d6f11",
  "rgb": {
    "r": 77,
    "g": 111,
    "b": 17
  },
  "hsl": {
    "h": 81.702,
    "s": 73.438,
    "l": 25.098
  },
  "oklch": {
    "l": 0.49745,
    "c": 0.12295,
    "h": 128.5
  },
  "luminance": 0.12987
}

Semantic roles & 50–950 ramp

primary
#4D6F11
secondary
#5E35A6
accent
#38F07A
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0D04
muted
#7C7E79

Preview Lab

Preview with #4D6F11

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

Preview Lab → · Contrast checker → · Palette generator →

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