#4D701A#4D701A

#4D701A is a mid, moderate yellow-green. Relative luminance 0.132; OKLCH L 50.1% C 0.119 H 129.5°. Best body text is #FFFFFF at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#4D701A
RGBrgb(77, 112, 26)
HSLhsl(84, 62%, 27%)
HSVhsv(84, 77%, 44%)
CMYKcmyk(31.2%, 0%, 76.8%, 56.1%)
CIE-LABlab(43.12, -26.60, 41.15)
CIE-LCHlch(43.12, 49.00, 122.87°)
OKLaboklab(50.07% -0.0758 0.092)
OKLCHoklch(50.07% 0.119 129.5)
XYZxyz(9.0412, 13.2404, 3.0564)
Luminance0.1324 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D701A #3D1A70
analogous
#70681A #4D701A #22701A
triadic
#4D701A #1A4D70 #701A4D
tetradic
#4D701A #1A7068 #3D1A70 #701A22
square
#4D701A #1A7068 #3D1A70 #701A22
split-complementary
#4D701A #1A2270 #681A70
monochromatic
#111906 #2B3E0E #4D701A #6FA226 #91D034

Accessibility & contrast

On white

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

On black

3.65
#4D701A on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##4D701A#FFFFFF#000000##FFFFFF
##4D701A1.005.763.655.76
#FFFFFF5.761.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766709
Deuteranopia (green-blind)
#716522
Tritanopia (blue-blind)
#4F6B5F
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #4d701a;
/* rgb */ color: rgb(77, 112, 26);
/* oklch */ color: oklch(50.1% 0.119 129.5);
Tailwind
colors: {
  custom: {
    50: '#82995d',
    500: '#4d701a',
    950: '#000000',
  },
}
SCSS
$custom: #4d701a;
$custom-light: #82995d;
$custom-dark: #000000;
JSON
{
  "hex": "#4d701a",
  "rgb": {
    "r": 77,
    "g": 112,
    "b": 26
  },
  "hsl": {
    "h": 84.419,
    "s": 62.319,
    "l": 27.059
  },
  "oklch": {
    "l": 0.5007,
    "c": 0.11919,
    "h": 129.5
  },
  "luminance": 0.13241
}

Semantic roles & 50–950 ramp

primary
#4D701A
secondary
#6A41A5
accent
#42E585
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0E04
muted
#7C7E79

Preview Lab

Preview with #4D701A

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

Preview Lab → · Contrast checker → · Palette generator →

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