#4D8114#4D8114

#4D8114 is a mid, vivid yellow-green. Relative luminance 0.173; OKLCH L 54.6% C 0.145 H 132.8°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#4D8114
RGBrgb(77, 129, 20)
HSLhsl(89, 73%, 29%)
HSVhsv(89, 84%, 51%)
CMYKcmyk(40.3%, 0%, 84.5%, 49.4%)
CIE-LABlab(48.67, -34.82, 48.37)
CIE-LCHlch(48.67, 59.60, 125.75°)
OKLaboklab(54.59% -0.0984 0.1062)
OKLCHoklch(54.59% 0.145 132.8)
XYZxyz(11.0369, 17.3283, 3.4248)
Luminance0.1733 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D8114 #481481
analogous
#817F14 #4D8114 #178114
triadic
#4D8114 #144D81 #81144D
tetradic
#4D8114 #14817F #481481 #811417
square
#4D8114 #14817F #481481 #811417
split-complementary
#4D8114 #141781 #7F1481
monochromatic
#101A04 #2D4C0C #4D8114 #6DB61C #8CDF30

Accessibility & contrast

On white

4.70
#4D8114 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#4D8114 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D8114
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D8114#FFFFFF#000000##FFFFFF
##4D81141.004.704.474.70
#FFFFFF4.701.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#877600
Deuteranopia (green-blind)
#807221
Tritanopia (blue-blind)
#4D7B6D
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #4d8114;
/* rgb */ color: rgb(77, 129, 20);
/* oklch */ color: oklch(54.6% 0.145 132.8);
Tailwind
colors: {
  custom: {
    50: '#84a65d',
    500: '#4d8114',
    950: '#000000',
  },
}
SCSS
$custom: #4d8114;
$custom-light: #84a65d;
$custom-dark: #000000;
JSON
{
  "hex": "#4d8114",
  "rgb": {
    "r": 77,
    "g": 129,
    "b": 20
  },
  "hsl": {
    "h": 88.624,
    "s": 73.154,
    "l": 29.216
  },
  "oklch": {
    "l": 0.54588,
    "c": 0.14477,
    "h": 132.8
  },
  "luminance": 0.17329
}

Semantic roles & 50–950 ramp

primary
#4D8114
secondary
#763BB6
accent
#38F090
background
#F8FAF5
surface
#F0F4E9
border
#CBCEC5
text
#0B0F05
muted
#7C7F79

Preview Lab

Preview with #4D8114

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

Preview Lab → · Contrast checker → · Palette generator →

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