#4D7618#4D7618

#4D7618 is a mid, vivid yellow-green. Relative luminance 0.146; OKLCH L 51.7% C 0.128 H 130.9°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#4D7618
RGBrgb(77, 118, 24)
HSLhsl(86, 66%, 28%)
HSVhsv(86, 80%, 46%)
CMYKcmyk(34.7%, 0%, 79.7%, 53.7%)
CIE-LABlab(45.08, -29.59, 43.78)
CIE-LCHlch(45.08, 52.85, 124.06°)
OKLaboklab(51.66% -0.0841 0.0972)
OKLCHoklch(51.66% 0.128 130.9)
XYZxyz(9.7038, 14.6002, 3.1708)
Luminance0.1460 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D7618 #411876
analogous
#767018 #4D7618 #1E7618
triadic
#4D7618 #184D76 #76184D
tetradic
#4D7618 #187670 #411876 #76181E
square
#4D7618 #187670 #411876 #76181E
split-complementary
#4D7618 #181E76 #701876
monochromatic
#111905 #2C430E #4D7618 #6EA922 #8FD533

Accessibility & contrast

On white

5.36
#4D7618 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#4D7618 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D7618
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D7618#FFFFFF#000000##FFFFFF
##4D76181.005.363.925.36
#FFFFFF5.361.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6D02
Deuteranopia (green-blind)
#766A22
Tritanopia (blue-blind)
#4F7164
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #4d7618;
/* rgb */ color: rgb(77, 118, 24);
/* oklch */ color: oklch(51.7% 0.128 130.9);
Tailwind
colors: {
  custom: {
    50: '#839e5d',
    500: '#4d7618',
    950: '#000000',
  },
}
SCSS
$custom: #4d7618;
$custom-light: #839e5d;
$custom-dark: #000000;
JSON
{
  "hex": "#4d7618",
  "rgb": {
    "r": 77,
    "g": 118,
    "b": 24
  },
  "hsl": {
    "h": 86.17,
    "s": 66.197,
    "l": 27.843
  },
  "oklch": {
    "l": 0.51661,
    "c": 0.12849,
    "h": 130.9
  },
  "luminance": 0.14601
}

Semantic roles & 50–950 ramp

primary
#4D7618
secondary
#6E3FAB
accent
#3FE989
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0E05
muted
#7C7E79

Preview Lab

Preview with #4D7618

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

Preview Lab → · Contrast checker → · Palette generator →

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