#4D7B19#4D7B19

#4D7B19 is a mid, vivid yellow-green. Relative luminance 0.158; OKLCH L 53.0% C 0.135 H 132.1°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#4D7B19
RGBrgb(77, 123, 25)
HSLhsl(88, 66%, 29%)
HSVhsv(88, 80%, 48%)
CMYKcmyk(37.4%, 0%, 79.7%, 51.8%)
CIE-LABlab(46.73, -31.86, 45.00)
CIE-LCHlch(46.73, 55.14, 125.30°)
OKLaboklab(53.01% -0.0901 0.0999)
OKLCHoklch(53.01% 0.135 132.1)
XYZxyz(10.3189, 15.8135, 3.4281)
Luminance0.1581 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D7B19 #47197B
analogous
#7B7819 #4D7B19 #1C7B19
triadic
#4D7B19 #194D7B #7B194D
tetradic
#4D7B19 #197B78 #47197B #7B191C
square
#4D7B19 #197B78 #47197B #7B191C
split-complementary
#4D7B19 #191C7B #78197B
monochromatic
#101905 #2D480F #4D7B19 #6DAE23 #8CD738

Accessibility & contrast

On white

5.04
#4D7B19 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#4D7B19 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D7B19
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D7B19#FFFFFF#000000##FFFFFF
##4D7B191.005.044.165.04
#FFFFFF5.041.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817101
Deuteranopia (green-blind)
#7A6E23
Tritanopia (blue-blind)
#4E7669
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #4d7b19;
/* rgb */ color: rgb(77, 123, 25);
/* oklch */ color: oklch(53.0% 0.135 132.1);
Tailwind
colors: {
  custom: {
    50: '#83a15e',
    500: '#4d7b19',
    950: '#000000',
  },
}
SCSS
$custom: #4d7b19;
$custom-light: #83a15e;
$custom-dark: #000000;
JSON
{
  "hex": "#4d7b19",
  "rgb": {
    "r": 77,
    "g": 123,
    "b": 25
  },
  "hsl": {
    "h": 88.163,
    "s": 66.216,
    "l": 29.02
  },
  "oklch": {
    "l": 0.53007,
    "c": 0.13454,
    "h": 132.1
  },
  "luminance": 0.15814
}

Semantic roles & 50–950 ramp

primary
#4D7B19
secondary
#7440AF
accent
#3FE98F
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0F05
muted
#7C7E79

Preview Lab

Preview with #4D7B19

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

Preview Lab → · Contrast checker → · Palette generator →

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