#4D7C17#4D7C17

#4D7C17 is a mid, vivid yellow-green. Relative luminance 0.161; OKLCH L 53.3% C 0.137 H 132.1°. Best body text is #FFFFFF at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#4D7C17
RGBrgb(77, 124, 23)
HSLhsl(88, 69%, 29%)
HSVhsv(88, 81%, 49%)
CMYKcmyk(37.9%, 0%, 81.5%, 51.4%)
CIE-LABlab(47.05, -32.43, 45.97)
CIE-LCHlch(47.05, 56.25, 125.20°)
OKLaboklab(53.26% -0.0918 0.1016)
OKLCHoklch(53.26% 0.137 132.1)
XYZxyz(10.4228, 16.0545, 3.3601)
Luminance0.1605 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D7C17 #46177C
analogous
#7C7917 #4D7C17 #1B7C17
triadic
#4D7C17 #174D7C #7C174D
tetradic
#4D7C17 #177C79 #46177C #7C171B
square
#4D7C17 #177C79 #46177C #7C171B
split-complementary
#4D7C17 #171B7C #79177C
monochromatic
#101A05 #2D480D #4D7C17 #6DB021 #8CD934

Accessibility & contrast

On white

4.99
#4D7C17 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#4D7C17 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D7C17
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D7C17#FFFFFF#000000##FFFFFF
##4D7C171.004.994.214.99
#FFFFFF4.991.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827200
Deuteranopia (green-blind)
#7B6E22
Tritanopia (blue-blind)
#4E7769
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #4d7c17;
/* rgb */ color: rgb(77, 124, 23);
/* oklch */ color: oklch(53.3% 0.137 132.1);
Tailwind
colors: {
  custom: {
    50: '#83a25e',
    500: '#4d7c17',
    950: '#000000',
  },
}
SCSS
$custom: #4d7c17;
$custom-light: #83a25e;
$custom-dark: #000000;
JSON
{
  "hex": "#4d7c17",
  "rgb": {
    "r": 77,
    "g": 124,
    "b": 23
  },
  "hsl": {
    "h": 87.921,
    "s": 68.707,
    "l": 28.824
  },
  "oklch": {
    "l": 0.53263,
    "c": 0.13692,
    "h": 132.1
  },
  "luminance": 0.16055
}

Semantic roles & 50–950 ramp

primary
#4D7C17
secondary
#733EB1
accent
#3CEC8E
background
#F8FAF5
surface
#EFF3E9
border
#CACDC5
text
#0B0F05
muted
#7C7F79

Preview Lab

Preview with #4D7C17

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

Preview Lab → · Contrast checker → · Palette generator →

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