#4D7318#4D7318

#4D7318 is a mid, vivid yellow-green. Relative luminance 0.139; OKLCH L 50.9% C 0.124 H 130.1°. Best body text is #FFFFFF at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#4D7318
RGBrgb(77, 115, 24)
HSLhsl(85, 65%, 27%)
HSVhsv(85, 79%, 45%)
CMYKcmyk(33%, 0%, 79.1%, 54.9%)
CIE-LABlab(44.10, -28.17, 42.84)
CIE-LCHlch(44.10, 51.27, 123.33°)
OKLaboklab(50.86% -0.0802 0.0952)
OKLCHoklch(50.86% 0.124 130.1)
XYZxyz(9.3561, 13.9049, 3.0549)
Luminance0.1391 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D7318 #3E1873
analogous
#736C18 #4D7318 #1F7318
triadic
#4D7318 #184D73 #73184D
tetradic
#4D7318 #18736C #3E1873 #73181F
square
#4D7318 #18736C #3E1873 #73181F
split-complementary
#4D7318 #181F73 #6C1873
monochromatic
#111905 #2B400D #4D7318 #6FA623 #90D431

Accessibility & contrast

On white

5.55
#4D7318 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#4D7318 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D7318
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D7318#FFFFFF#000000##FFFFFF
##4D73181.005.553.785.55
#FFFFFF5.551.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796A04
Deuteranopia (green-blind)
#736721
Tritanopia (blue-blind)
#4F6E62
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #4d7318;
/* rgb */ color: rgb(77, 115, 24);
/* oklch */ color: oklch(50.9% 0.124 130.1);
Tailwind
colors: {
  custom: {
    50: '#829b5d',
    500: '#4d7318',
    950: '#000000',
  },
}
SCSS
$custom: #4d7318;
$custom-light: #829b5d;
$custom-dark: #000000;
JSON
{
  "hex": "#4d7318",
  "rgb": {
    "r": 77,
    "g": 115,
    "b": 24
  },
  "hsl": {
    "h": 85.055,
    "s": 65.468,
    "l": 27.255
  },
  "oklch": {
    "l": 0.50858,
    "c": 0.12449,
    "h": 130.1
  },
  "luminance": 0.13905
}

Semantic roles & 50–950 ramp

primary
#4D7318
secondary
#6B3FA8
accent
#3FE886
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0E04
muted
#7C7E79

Preview Lab

Preview with #4D7318

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

Preview Lab → · Contrast checker → · Palette generator →

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