#4D701F#4D701F

#4D701F is a mid, moderate yellow-green. Relative luminance 0.133; OKLCH L 50.1% C 0.116 H 130.0°. Best body text is #FFFFFF at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#4D701F
RGBrgb(77, 112, 31)
HSLhsl(86, 57%, 28%)
HSVhsv(86, 72%, 44%)
CMYKcmyk(31.2%, 0%, 72.3%, 56.1%)
CIE-LABlab(43.16, -26.24, 39.16)
CIE-LCHlch(43.16, 47.14, 123.83°)
OKLaboklab(50.11% -0.0744 0.0886)
OKLCHoklch(50.11% 0.116 130)
XYZxyz(9.1020, 13.2648, 3.3769)
Luminance0.1326 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D701F #421F70
analogous
#706A1F #4D701F #24701F
triadic
#4D701F #1F4D70 #701F4D
tetradic
#4D701F #1F706A #421F70 #701F24
square
#4D701F #1F706A #421F70 #701F24
split-complementary
#4D701F #1F2470 #6A1F70
monochromatic
#101807 #2C4012 #4D701F #6EA02C #8ECA3F

Accessibility & contrast

On white

5.75
#4D701F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #4D701F
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D701F#FFFFFF#000000##FFFFFF
##4D701F1.005.753.655.75
#FFFFFF5.751.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#756813
Deuteranopia (green-blind)
#716526
Tritanopia (blue-blind)
#4F6B60
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #4d701f;
/* rgb */ color: rgb(77, 112, 31);
/* oklch */ color: oklch(50.1% 0.116 130.0);
Tailwind
colors: {
  custom: {
    50: '#829960',
    500: '#4d701f',
    950: '#000000',
  },
}
SCSS
$custom: #4d701f;
$custom-light: #829960;
$custom-dark: #000000;
JSON
{
  "hex": "#4d701f",
  "rgb": {
    "r": 77,
    "g": 112,
    "b": 31
  },
  "hsl": {
    "h": 85.926,
    "s": 56.643,
    "l": 28.039
  },
  "oklch": {
    "l": 0.50111,
    "c": 0.11571,
    "h": 130
  },
  "luminance": 0.13265
}

Semantic roles & 50–950 ramp

primary
#4D701F
secondary
#6F47A4
accent
#48E08A
background
#F8F9F5
surface
#EFF2EA
border
#CACCC6
text
#0B0E05
muted
#7C7E79

Preview Lab

Preview with #4D701F

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

Preview Lab → · Contrast checker → · Palette generator →

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