#4D7F14#4D7F14

#4D7F14 is a mid, vivid yellow-green. Relative luminance 0.168; OKLCH L 54.1% C 0.142 H 132.5°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#4D7F14
RGBrgb(77, 127, 20)
HSLhsl(88, 73%, 29%)
HSVhsv(88, 84%, 50%)
CMYKcmyk(39.4%, 0%, 84.3%, 50.2%)
CIE-LABlab(48.02, -33.93, 47.78)
CIE-LCHlch(48.02, 58.60, 125.38°)
OKLaboklab(54.05% -0.096 0.1049)
OKLCHoklch(54.05% 0.142 132.5)
XYZxyz(10.7761, 16.8065, 3.3379)
Luminance0.1681 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D7F14 #46147F
analogous
#7F7C14 #4D7F14 #187F14
triadic
#4D7F14 #144D7F #7F144D
tetradic
#4D7F14 #147F7C #46147F #7F1418
square
#4D7F14 #147F7C #46147F #7F1418
split-complementary
#4D7F14 #14187F #7C147F
monochromatic
#101A04 #2D4A0C #4D7F14 #6DB41C #8CDE2F

Accessibility & contrast

On white

4.81
#4D7F14 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#4D7F14 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D7F14
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D7F14#FFFFFF#000000##FFFFFF
##4D7F141.004.814.364.81
#FFFFFF4.811.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#857400
Deuteranopia (green-blind)
#7E7121
Tritanopia (blue-blind)
#4E796C
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #4d7f14;
/* rgb */ color: rgb(77, 127, 20);
/* oklch */ color: oklch(54.1% 0.142 132.5);
Tailwind
colors: {
  custom: {
    50: '#84a45d',
    500: '#4d7f14',
    950: '#000000',
  },
}
SCSS
$custom: #4d7f14;
$custom-light: #84a45d;
$custom-dark: #000000;
JSON
{
  "hex": "#4d7f14",
  "rgb": {
    "r": 77,
    "g": 127,
    "b": 20
  },
  "hsl": {
    "h": 88.037,
    "s": 72.789,
    "l": 28.824
  },
  "oklch": {
    "l": 0.54051,
    "c": 0.14224,
    "h": 132.5
  },
  "luminance": 0.16807
}

Semantic roles & 50–950 ramp

primary
#4D7F14
secondary
#733BB4
accent
#38EF8E
background
#F8FAF5
surface
#EFF4E9
border
#CACEC5
text
#0B0F05
muted
#7C7F79

Preview Lab

Preview with #4D7F14

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

Preview Lab → · Contrast checker → · Palette generator →

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