#4D5E16#4D5E16

#4D5E16 is a mid, moderate yellow-green. Relative luminance 0.096; OKLCH L 45.3% C 0.097 H 122.1°. Best body text is #FFFFFF at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#4D5E16
RGBrgb(77, 94, 22)
HSLhsl(74, 62%, 23%)
HSVhsv(74, 77%, 37%)
CMYKcmyk(18.1%, 0%, 76.6%, 63.1%)
CIE-LABlab(37.19, -17.63, 36.91)
CIE-LCHlch(37.19, 40.90, 115.53°)
OKLaboklab(45.25% -0.0516 0.0824)
OKLCHoklch(45.25% 0.097 122.1)
XYZxyz(7.2082, 9.6411, 2.2401)
Luminance0.0964 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D5E16 #27165E
analogous
#5E4B16 #4D5E16 #295E16
triadic
#4D5E16 #164D5E #5E164D
tetradic
#4D5E16 #165E4B #27165E #5E1629
square
#4D5E16 #165E4B #27165E #5E1629
split-complementary
#4D5E16 #16295E #4B165E
monochromatic
#141906 #242C0A #4D5E16 #769022 #9EC12D

Accessibility & contrast

On white

7.17
#4D5E16 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#4D5E16 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D5E16
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D5E16#FFFFFF#000000##FFFFFF
##4D5E161.007.172.937.17
#FFFFFF7.171.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#645809
Deuteranopia (green-blind)
#62571C
Tritanopia (blue-blind)
#515950
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #4d5e16;
/* rgb */ color: rgb(77, 94, 22);
/* oklch */ color: oklch(45.3% 0.097 122.1);
Tailwind
colors: {
  custom: {
    50: '#818b59',
    500: '#4d5e16',
    950: '#000000',
  },
}
SCSS
$custom: #4d5e16;
$custom-light: #818b59;
$custom-dark: #000000;
JSON
{
  "hex": "#4d5e16",
  "rgb": {
    "r": 77,
    "g": 94,
    "b": 22
  },
  "hsl": {
    "h": 74.167,
    "s": 62.069,
    "l": 22.745
  },
  "oklch": {
    "l": 0.45252,
    "c": 0.09722,
    "h": 122.1
  },
  "luminance": 0.09641
}

Semantic roles & 50–950 ramp

primary
#4D5E16
secondary
#503B95
accent
#43E569
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0B0C04
muted
#7C7D79

Preview Lab

Preview with #4D5E16

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

Preview Lab → · Contrast checker → · Palette generator →

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