#4D7014#4D7014

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

Color values

HEX#4D7014
RGBrgb(77, 112, 20)
HSLhsl(83, 70%, 26%)
HSVhsv(83, 82%, 44%)
CMYKcmyk(31.2%, 0%, 82.1%, 56.1%)
CIE-LABlab(43.09, -26.95, 43.27)
CIE-LCHlch(43.09, 50.98, 121.92°)
OKLaboklab(50.03% -0.0772 0.0954)
OKLCHoklch(50.03% 0.123 129)
XYZxyz(8.9810, 13.2164, 2.7395)
Luminance0.1322 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D7014 #371470
analogous
#706514 #4D7014 #1F7014
triadic
#4D7014 #144D70 #70144D
tetradic
#4D7014 #147065 #371470 #70141F
square
#4D7014 #147065 #371470 #70141F
split-complementary
#4D7014 #141F70 #651470
monochromatic
#121A05 #293C0B #4D7014 #71A41D #94D827

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4D7014#FFFFFF#000000##FFFFFF
##4D70141.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)
#71651E
Tritanopia (blue-blind)
#506B5F
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #4d7014;
/* rgb */ color: rgb(77, 112, 20);
/* oklch */ color: oklch(50.0% 0.123 129.0);
Tailwind
colors: {
  custom: {
    50: '#82995a',
    500: '#4d7014',
    950: '#000000',
  },
}
SCSS
$custom: #4d7014;
$custom-light: #82995a;
$custom-dark: #000000;
JSON
{
  "hex": "#4d7014",
  "rgb": {
    "r": 77,
    "g": 112,
    "b": 20
  },
  "hsl": {
    "h": 82.826,
    "s": 69.697,
    "l": 25.882
  },
  "oklch": {
    "l": 0.50029,
    "c": 0.12275,
    "h": 129
  },
  "luminance": 0.13217
}

Semantic roles & 50–950 ramp

primary
#4D7014
secondary
#6339A6
accent
#3BED7F
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0E04
muted
#7C7E79

Preview Lab

Preview with #4D7014

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

Preview Lab → · Contrast checker → · Palette generator →

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