#4D702A#4D702A

#4D702A is a mid, moderate yellow-green. Relative luminance 0.133; OKLCH L 50.2% C 0.106 H 131.6°. Best body text is #FFFFFF at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#4D702A
RGBrgb(77, 112, 42)
HSLhsl(90, 45%, 30%)
HSVhsv(90, 63%, 44%)
CMYKcmyk(31.2%, 0%, 62.5%, 56.1%)
CIE-LABlab(43.26, -25.26, 34.20)
CIE-LCHlch(43.26, 42.52, 126.45°)
OKLaboklab(50.23% -0.0707 0.0796)
OKLCHoklch(50.23% 0.106 131.6)
XYZxyz(9.2725, 13.3330, 4.2750)
Luminance0.1333 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D702A #4D2A70
analogous
#70702A #4D702A #2A702A
triadic
#4D702A #2A4D70 #702A4D
tetradic
#4D702A #2A7070 #4D2A70 #702A2A
square
#4D702A #2A7070 #4D2A70 #702A2A
split-complementary
#4D702A #2A2A70 #702A70
monochromatic
#101709 #2E4319 #4D702A #6C9D3B #8ABF55

Accessibility & contrast

On white

5.73
#4D702A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#4D702A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D702A
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D702A#FFFFFF#000000##FFFFFF
##4D702A1.005.733.675.73
#FFFFFF5.731.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#756822
Deuteranopia (green-blind)
#70652F
Tritanopia (blue-blind)
#4E6B61
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #4d702a;
/* rgb */ color: rgb(77, 112, 42);
/* oklch */ color: oklch(50.2% 0.106 131.6);
Tailwind
colors: {
  custom: {
    50: '#819966',
    500: '#4d702a',
    950: '#000000',
  },
}
SCSS
$custom: #4d702a;
$custom-light: #819966;
$custom-dark: #000000;
JSON
{
  "hex": "#4d702a",
  "rgb": {
    "r": 77,
    "g": 112,
    "b": 42
  },
  "hsl": {
    "h": 90,
    "s": 45.455,
    "l": 30.196
  },
  "oklch": {
    "l": 0.50226,
    "c": 0.10647,
    "h": 131.6
  },
  "luminance": 0.13333
}

Semantic roles & 50–950 ramp

primary
#4D702A
secondary
#7B54A2
accent
#53D594
background
#F8F9F6
surface
#EFF2EB
border
#CACCC6
text
#0A0E06
muted
#7C7E7A

Preview Lab

Preview with #4D702A

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

Preview Lab → · Contrast checker → · Palette generator →

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