#4D7718#4D7718

#4D7718 is a mid, vivid yellow-green. Relative luminance 0.148; OKLCH L 51.9% C 0.130 H 131.1°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#4D7718
RGBrgb(77, 119, 24)
HSLhsl(87, 66%, 28%)
HSVhsv(87, 80%, 47%)
CMYKcmyk(35.3%, 0%, 79.8%, 53.3%)
CIE-LABlab(45.41, -30.06, 44.09)
CIE-LCHlch(45.41, 53.37, 124.29°)
OKLaboklab(51.93% -0.0853 0.0978)
OKLCHoklch(51.93% 0.13 131.1)
XYZxyz(9.8222, 14.8370, 3.2103)
Luminance0.1484 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D7718 #421877
analogous
#777118 #4D7718 #1D7718
triadic
#4D7718 #184D77 #77184D
tetradic
#4D7718 #187771 #421877 #77181D
square
#4D7718 #187771 #421877 #77181D
split-complementary
#4D7718 #181D77 #711877
monochromatic
#101905 #2C440E #4D7718 #6EAA22 #8ED633

Accessibility & contrast

On white

5.29
#4D7718 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#4D7718 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D7718
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D7718#FFFFFF#000000##FFFFFF
##4D77181.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6E01
Deuteranopia (green-blind)
#776A22
Tritanopia (blue-blind)
#4F7265
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #4d7718;
/* rgb */ color: rgb(77, 119, 24);
/* oklch */ color: oklch(51.9% 0.130 131.1);
Tailwind
colors: {
  custom: {
    50: '#839e5d',
    500: '#4d7718',
    950: '#000000',
  },
}
SCSS
$custom: #4d7718;
$custom-light: #839e5d;
$custom-dark: #000000;
JSON
{
  "hex": "#4d7718",
  "rgb": {
    "r": 77,
    "g": 119,
    "b": 24
  },
  "hsl": {
    "h": 86.526,
    "s": 66.434,
    "l": 28.039
  },
  "oklch": {
    "l": 0.51929,
    "c": 0.12981,
    "h": 131.1
  },
  "luminance": 0.14837
}

Semantic roles & 50–950 ramp

primary
#4D7718
secondary
#6F3FAC
accent
#3EE98A
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0E05
muted
#7C7E79

Preview Lab

Preview with #4D7718

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

Preview Lab → · Contrast checker → · Palette generator →

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