#4D6011#4D6011

#4D6011 is a mid, moderate yellow-green. Relative luminance 0.100; OKLCH L 45.7% C 0.103 H 122.7°. Best body text is #FFFFFF at 7.01:1 contrast (WCAG AA passes).

Color values

HEX#4D6011
RGBrgb(77, 96, 17)
HSLhsl(74, 70%, 22%)
HSVhsv(74, 82%, 38%)
CMYKcmyk(19.8%, 0%, 82.3%, 62.4%)
CIE-LABlab(37.81, -18.99, 39.40)
CIE-LCHlch(37.81, 43.74, 115.73°)
OKLaboklab(45.75% -0.0558 0.0867)
OKLCHoklch(45.75% 0.103 122.7)
XYZxyz(7.3447, 9.9840, 2.0704)
Luminance0.0998 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D6011 #241160
analogous
#604C11 #4D6011 #266011
triadic
#4D6011 #114D60 #60114D
tetradic
#4D6011 #11604C #241160 #601126
square
#4D6011 #11604C #241160 #601126
split-complementary
#4D6011 #112660 #4C1160
monochromatic
#151A05 #232C08 #4D6011 #77941A #A0C823

Accessibility & contrast

On white

7.01
#4D6011 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

3.00
#4D6011 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D6011
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D6011#FFFFFF#000000##FFFFFF
##4D60111.007.013.007.01
#FFFFFF7.011.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#665900
Deuteranopia (green-blind)
#645919
Tritanopia (blue-blind)
#515B51
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #4d6011;
/* rgb */ color: rgb(77, 96, 17);
/* oklch */ color: oklch(45.7% 0.103 122.7);
Tailwind
colors: {
  custom: {
    50: '#828d57',
    500: '#4d6011',
    950: '#000000',
  },
}
SCSS
$custom: #4d6011;
$custom-light: #828d57;
$custom-dark: #000000;
JSON
{
  "hex": "#4d6011",
  "rgb": {
    "r": 77,
    "g": 96,
    "b": 17
  },
  "hsl": {
    "h": 74.43,
    "s": 69.912,
    "l": 22.157
  },
  "oklch": {
    "l": 0.45746,
    "c": 0.10312,
    "h": 122.7
  },
  "luminance": 0.09984
}

Semantic roles & 50–950 ramp

primary
#4D6011
secondary
#4C3499
accent
#3BED66
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0B0C03
muted
#7C7D78

Preview Lab

Preview with #4D6011

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

Preview Lab → · Contrast checker → · Palette generator →

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