#4D7015#4D7015

#4D7015 is a mid, vivid yellow-green. Relative luminance 0.132; OKLCH L 50.0% C 0.122 H 129.1°. Best body text is #FFFFFF at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#4D7015
RGBrgb(77, 112, 21)
HSLhsl(83, 68%, 26%)
HSVhsv(83, 81%, 44%)
CMYKcmyk(31.2%, 0%, 81.2%, 56.1%)
CIE-LABlab(43.09, -26.90, 42.94)
CIE-LCHlch(43.09, 50.67, 122.06°)
OKLaboklab(50.04% -0.077 0.0949)
OKLCHoklch(50.04% 0.122 129.1)
XYZxyz(8.9901, 13.2200, 2.7874)
Luminance0.1322 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D7015 #381570
analogous
#706515 #4D7015 #1F7015
triadic
#4D7015 #154D70 #70154D
tetradic
#4D7015 #157065 #381570 #70151F
square
#4D7015 #157065 #381570 #70151F
split-complementary
#4D7015 #151F70 #651570
monochromatic
#121A05 #2A3C0B #4D7015 #70A41F #94D729

Accessibility & contrast

On white

5.76
#4D7015 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#4D7015 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D7015
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D7015#FFFFFF#000000##FFFFFF
##4D70151.005.763.645.76
#FFFFFF5.761.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766700
Deuteranopia (green-blind)
#71651F
Tritanopia (blue-blind)
#506B5F
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #4d7015;
/* rgb */ color: rgb(77, 112, 21);
/* oklch */ color: oklch(50.0% 0.122 129.1);
Tailwind
colors: {
  custom: {
    50: '#82995b',
    500: '#4d7015',
    950: '#000000',
  },
}
SCSS
$custom: #4d7015;
$custom-light: #82995b;
$custom-dark: #000000;
JSON
{
  "hex": "#4d7015",
  "rgb": {
    "r": 77,
    "g": 112,
    "b": 21
  },
  "hsl": {
    "h": 83.077,
    "s": 68.421,
    "l": 26.078
  },
  "oklch": {
    "l": 0.50035,
    "c": 0.1222,
    "h": 129.1
  },
  "luminance": 0.1322
}

Semantic roles & 50–950 ramp

primary
#4D7015
secondary
#643BA6
accent
#3DEB80
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0E04
muted
#7C7E79

Preview Lab

Preview with #4D7015

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

Preview Lab → · Contrast checker → · Palette generator →

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