#4D7C18#4D7C18

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

Color values

HEX#4D7C18
RGBrgb(77, 124, 24)
HSLhsl(88, 68%, 29%)
HSVhsv(88, 81%, 49%)
CMYKcmyk(37.9%, 0%, 80.6%, 51.4%)
CIE-LABlab(47.05, -32.37, 45.64)
CIE-LCHlch(47.05, 55.96, 125.35°)
OKLaboklab(53.27% -0.0916 0.1011)
OKLCHoklch(53.27% 0.136 132.2)
XYZxyz(10.4330, 16.0586, 3.4139)
Luminance0.1606 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D7C18 #47187C
analogous
#7C7918 #4D7C18 #1B7C18
triadic
#4D7C18 #184D7C #7C184D
tetradic
#4D7C18 #187C79 #47187C #7C181B
square
#4D7C18 #187C79 #47187C #7C181B
split-complementary
#4D7C18 #181B7C #79187C
monochromatic
#101A05 #2D490E #4D7C18 #6DAF22 #8CD836

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4D7C18#FFFFFF#000000##FFFFFF
##4D7C181.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)
#7B6E23
Tritanopia (blue-blind)
#4E7769
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #4d7c18;
/* rgb */ color: rgb(77, 124, 24);
/* oklch */ color: oklch(53.3% 0.136 132.2);
Tailwind
colors: {
  custom: {
    50: '#83a25e',
    500: '#4d7c18',
    950: '#000000',
  },
}
SCSS
$custom: #4d7c18;
$custom-light: #83a25e;
$custom-dark: #000000;
JSON
{
  "hex": "#4d7c18",
  "rgb": {
    "r": 77,
    "g": 124,
    "b": 24
  },
  "hsl": {
    "h": 88.2,
    "s": 67.568,
    "l": 29.02
  },
  "oklch": {
    "l": 0.53269,
    "c": 0.1364,
    "h": 132.2
  },
  "luminance": 0.16059
}

Semantic roles & 50–950 ramp

primary
#4D7C18
secondary
#743FB1
accent
#3DEA8F
background
#F8FAF5
surface
#EFF3E9
border
#CACDC5
text
#0B0F05
muted
#7C7F79

Preview Lab

Preview with #4D7C18

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

Preview Lab → · Contrast checker → · Palette generator →

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