#4D701B#4D701B

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

Color values

HEX#4D701B
RGBrgb(77, 112, 27)
HSLhsl(85, 61%, 27%)
HSVhsv(85, 76%, 44%)
CMYKcmyk(31.2%, 0%, 75.9%, 56.1%)
CIE-LABlab(43.13, -26.53, 40.77)
CIE-LCHlch(43.13, 48.64, 123.05°)
OKLaboklab(50.08% -0.0755 0.0914)
OKLCHoklch(50.08% 0.119 129.6)
XYZxyz(9.0525, 13.2450, 3.1163)
Luminance0.1325 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D701B #3E1B70
analogous
#70691B #4D701B #23701B
triadic
#4D701B #1B4D70 #701B4D
tetradic
#4D701B #1B7069 #3E1B70 #701B23
square
#4D701B #1B7069 #3E1B70 #701B23
split-complementary
#4D701B #1B2370 #691B70
monochromatic
#111906 #2B3F0F #4D701B #6FA127 #90CF37

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4D701B#FFFFFF#000000##FFFFFF
##4D701B1.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)
#76670B
Deuteranopia (green-blind)
#716523
Tritanopia (blue-blind)
#4F6B60
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #4d701b;
/* rgb */ color: rgb(77, 112, 27);
/* oklch */ color: oklch(50.1% 0.119 129.6);
Tailwind
colors: {
  custom: {
    50: '#82995e',
    500: '#4d701b',
    950: '#000000',
  },
}
SCSS
$custom: #4d701b;
$custom-light: #82995e;
$custom-dark: #000000;
JSON
{
  "hex": "#4d701b",
  "rgb": {
    "r": 77,
    "g": 112,
    "b": 27
  },
  "hsl": {
    "h": 84.706,
    "s": 61.151,
    "l": 27.255
  },
  "oklch": {
    "l": 0.50078,
    "c": 0.11853,
    "h": 129.6
  },
  "luminance": 0.13245
}

Semantic roles & 50–950 ramp

primary
#4D701B
secondary
#6B42A5
accent
#44E486
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0E05
muted
#7C7E79

Preview Lab

Preview with #4D701B

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

Preview Lab → · Contrast checker → · Palette generator →

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