#4D8113#4D8113

#4D8113 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#4D8113
RGBrgb(77, 129, 19)
HSLhsl(88, 74%, 29%)
HSVhsv(88, 85%, 51%)
CMYKcmyk(40.3%, 0%, 85.3%, 49.4%)
CIE-LABlab(48.67, -34.87, 48.64)
CIE-LCHlch(48.67, 59.85, 125.63°)
OKLaboklab(54.58% -0.0986 0.1066)
OKLCHoklch(54.58% 0.145 132.8)
XYZxyz(11.0282, 17.3248, 3.3789)
Luminance0.1732 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D8113 #471381
analogous
#817E13 #4D8113 #168113
triadic
#4D8113 #134D81 #81134D
tetradic
#4D8113 #13817E #471381 #811316
square
#4D8113 #13817E #471381 #811316
split-complementary
#4D8113 #131681 #7E1381
monochromatic
#101B04 #2D4C0B #4D8113 #6DB61B #8CE02E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4D8113#FFFFFF#000000##FFFFFF
##4D81131.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: #4d8113;
/* rgb */ color: rgb(77, 129, 19);
/* oklch */ color: oklch(54.6% 0.145 132.8);
Tailwind
colors: {
  custom: {
    50: '#84a65d',
    500: '#4d8113',
    950: '#000000',
  },
}
SCSS
$custom: #4d8113;
$custom-light: #84a65d;
$custom-dark: #000000;
JSON
{
  "hex": "#4d8113",
  "rgb": {
    "r": 77,
    "g": 129,
    "b": 19
  },
  "hsl": {
    "h": 88.364,
    "s": 74.324,
    "l": 29.02
  },
  "oklch": {
    "l": 0.54583,
    "c": 0.14522,
    "h": 132.8
  },
  "luminance": 0.17325
}

Semantic roles & 50–950 ramp

primary
#4D8113
secondary
#743AB6
accent
#37F18F
background
#F8FAF5
surface
#F0F4E9
border
#CBCEC5
text
#0B0F05
muted
#7C7F79

Preview Lab

Preview with #4D8113

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

Preview Lab → · Contrast checker → · Palette generator →

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