#4D5F11#4D5F11

#4D5F11 is a mid, moderate yellow-green. Relative luminance 0.098; OKLCH L 45.5% C 0.102 H 122.3°. Best body text is #FFFFFF at 7.09:1 contrast (WCAG AA passes).

Color values

HEX#4D5F11
RGBrgb(77, 95, 17)
HSLhsl(74, 70%, 22%)
HSVhsv(74, 82%, 37%)
CMYKcmyk(18.9%, 0%, 82.1%, 62.7%)
CIE-LABlab(37.49, -18.45, 39.10)
CIE-LCHlch(37.49, 43.23, 115.27°)
OKLaboklab(45.48% -0.0543 0.0861)
OKLCHoklch(45.48% 0.102 122.3)
XYZxyz(7.2541, 9.8026, 2.0401)
Luminance0.0980 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D5F11 #23115F
analogous
#5F4A11 #4D5F11 #265F11
triadic
#4D5F11 #114D5F #5F114D
tetradic
#4D5F11 #115F4A #23115F #5F1126
square
#4D5F11 #115F4A #23115F #5F1126
split-complementary
#4D5F11 #11265F #4A115F
monochromatic
#151A05 #232B08 #4D5F11 #77931A #A1C724

Accessibility & contrast

On white

7.09
#4D5F11 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#4D5F11 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D5F11
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D5F11#FFFFFF#000000##FFFFFF
##4D5F111.007.092.967.09
#FFFFFF7.091.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#655900
Deuteranopia (green-blind)
#635819
Tritanopia (blue-blind)
#525A50
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #4d5f11;
/* rgb */ color: rgb(77, 95, 17);
/* oklch */ color: oklch(45.5% 0.102 122.3);
Tailwind
colors: {
  custom: {
    50: '#828c56',
    500: '#4d5f11',
    950: '#000000',
  },
}
SCSS
$custom: #4d5f11;
$custom-light: #828c56;
$custom-dark: #000000;
JSON
{
  "hex": "#4d5f11",
  "rgb": {
    "r": 77,
    "g": 95,
    "b": 17
  },
  "hsl": {
    "h": 73.846,
    "s": 69.643,
    "l": 21.961
  },
  "oklch": {
    "l": 0.45481,
    "c": 0.10179,
    "h": 122.3
  },
  "luminance": 0.09803
}

Semantic roles & 50–950 ramp

primary
#4D5F11
secondary
#4B3498
accent
#3BEC64
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0B0C03
muted
#7C7D78

Preview Lab

Preview with #4D5F11

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

Preview Lab → · Contrast checker → · Palette generator →

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