#4D7D17#4D7D17

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

Color values

HEX#4D7D17
RGBrgb(77, 125, 23)
HSLhsl(88, 69%, 29%)
HSVhsv(88, 82%, 49%)
CMYKcmyk(38.4%, 0%, 81.6%, 51%)
CIE-LABlab(47.37, -32.88, 46.27)
CIE-LCHlch(47.37, 56.76, 125.40°)
OKLaboklab(53.53% -0.093 0.1022)
OKLCHoklch(53.53% 0.138 132.3)
XYZxyz(10.5487, 16.3064, 3.4021)
Luminance0.1631 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D7D17 #47177D
analogous
#7D7A17 #4D7D17 #1A7D17
triadic
#4D7D17 #174D7D #7D174D
tetradic
#4D7D17 #177D7A #47177D #7D171A
square
#4D7D17 #177D7A #47177D #7D171A
split-complementary
#4D7D17 #171A7D #7A177D
monochromatic
#101A05 #2D490D #4D7D17 #6DB121 #8CDA35

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4D7D17#FFFFFF#000000##FFFFFF
##4D7D171.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: #4d7d17;
/* rgb */ color: rgb(77, 125, 23);
/* oklch */ color: oklch(53.5% 0.138 132.3);
Tailwind
colors: {
  custom: {
    50: '#83a35e',
    500: '#4d7d17',
    950: '#000000',
  },
}
SCSS
$custom: #4d7d17;
$custom-light: #83a35e;
$custom-dark: #000000;
JSON
{
  "hex": "#4d7d17",
  "rgb": {
    "r": 77,
    "g": 125,
    "b": 23
  },
  "hsl": {
    "h": 88.235,
    "s": 68.919,
    "l": 29.02
  },
  "oklch": {
    "l": 0.53531,
    "c": 0.13822,
    "h": 132.3
  },
  "luminance": 0.16307
}

Semantic roles & 50–950 ramp

primary
#4D7D17
secondary
#743EB2
accent
#3CEC8F
background
#F8FAF5
surface
#EFF3E9
border
#CACDC5
text
#0B0F05
muted
#7C7F79

Preview Lab

Preview with #4D7D17

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

Preview Lab → · Contrast checker → · Palette generator →

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