#4D7D16#4D7D16

#4D7D16 is a mid, vivid yellow-green. Relative luminance 0.163; OKLCH L 53.5% C 0.139 H 132.2°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#4D7D16
RGBrgb(77, 125, 22)
HSLhsl(88, 70%, 29%)
HSVhsv(88, 82%, 49%)
CMYKcmyk(38.4%, 0%, 82.4%, 51%)
CIE-LABlab(47.37, -32.93, 46.59)
CIE-LCHlch(47.37, 57.05, 125.26°)
OKLaboklab(53.53% -0.0932 0.1027)
OKLCHoklch(53.53% 0.139 132.2)
XYZxyz(10.5389, 16.3025, 3.3503)
Luminance0.1630 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D7D16 #46167D
analogous
#7D7A16 #4D7D16 #1A7D16
triadic
#4D7D16 #164D7D #7D164D
tetradic
#4D7D16 #167D7A #46167D #7D161A
square
#4D7D16 #167D7A #46167D #7D161A
split-complementary
#4D7D16 #161A7D #7A167D
monochromatic
#101A05 #2D490D #4D7D16 #6DB11F #8CDB32

Accessibility & contrast

On white

4.93
#4D7D16 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#4D7D16 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D7D16
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D7D16#FFFFFF#000000##FFFFFF
##4D7D161.004.934.264.93
#FFFFFF4.931.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837300
Deuteranopia (green-blind)
#7C6F22
Tritanopia (blue-blind)
#4E786A
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #4d7d16;
/* rgb */ color: rgb(77, 125, 22);
/* oklch */ color: oklch(53.5% 0.139 132.2);
Tailwind
colors: {
  custom: {
    50: '#84a35d',
    500: '#4d7d16',
    950: '#000000',
  },
}
SCSS
$custom: #4d7d16;
$custom-light: #84a35d;
$custom-dark: #000000;
JSON
{
  "hex": "#4d7d16",
  "rgb": {
    "r": 77,
    "g": 125,
    "b": 22
  },
  "hsl": {
    "h": 87.961,
    "s": 70.068,
    "l": 28.824
  },
  "oklch": {
    "l": 0.53525,
    "c": 0.13873,
    "h": 132.2
  },
  "luminance": 0.16303
}

Semantic roles & 50–950 ramp

primary
#4D7D16
secondary
#733DB2
accent
#3BED8E
background
#F8FAF5
surface
#EFF3E9
border
#CACDC5
text
#0B0F05
muted
#7C7F79

Preview Lab

Preview with #4D7D16

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

Preview Lab → · Contrast checker → · Palette generator →

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