#4D7B18#4D7B18

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

Color values

HEX#4D7B18
RGBrgb(77, 123, 24)
HSLhsl(88, 67%, 29%)
HSVhsv(88, 80%, 48%)
CMYKcmyk(37.4%, 0%, 80.5%, 51.8%)
CIE-LABlab(46.72, -31.91, 45.33)
CIE-LCHlch(46.72, 55.44, 125.14°)
OKLaboklab(53% -0.0903 0.1004)
OKLCHoklch(53% 0.135 132)
XYZxyz(10.3083, 15.8092, 3.3723)
Luminance0.1581 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D7B18 #46187B
analogous
#7B7818 #4D7B18 #1C7B18
triadic
#4D7B18 #184D7B #7B184D
tetradic
#4D7B18 #187B78 #46187B #7B181C
square
#4D7B18 #187B78 #46187B #7B181C
split-complementary
#4D7B18 #181C7B #78187B
monochromatic
#101A05 #2D480E #4D7B18 #6DAE22 #8CD836

Accessibility & contrast

On white

5.05
#4D7B18 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #4D7B18
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D7B18#FFFFFF#000000##FFFFFF
##4D7B181.005.054.165.05
#FFFFFF5.051.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4d7b18;
/* rgb */ color: rgb(77, 123, 24);
/* oklch */ color: oklch(53.0% 0.135 132.0);
Tailwind
colors: {
  custom: {
    50: '#83a15e',
    500: '#4d7b18',
    950: '#000000',
  },
}
SCSS
$custom: #4d7b18;
$custom-light: #83a15e;
$custom-dark: #000000;
JSON
{
  "hex": "#4d7b18",
  "rgb": {
    "r": 77,
    "g": 123,
    "b": 24
  },
  "hsl": {
    "h": 87.879,
    "s": 67.347,
    "l": 28.824
  },
  "oklch": {
    "l": 0.53001,
    "c": 0.13509,
    "h": 132
  },
  "luminance": 0.1581
}

Semantic roles & 50–950 ramp

primary
#4D7B18
secondary
#733FB0
accent
#3EEA8E
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0F05
muted
#7C7E79

Preview Lab

Preview with #4D7B18

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

Preview Lab → · Contrast checker → · Palette generator →

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